-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pub): Do not use the revision from the pubspec.yaml of dependencies
The repository URLs taken from the pubspec.yaml in the local Pub cache often point to the main or master branch of the repository, for example: https://github.com/dart-lang/sdk/tree/main/pkg/_fe_analyzer_shared As there was not a single example where the URL pointed to the correct revision that matches the release of the package, simply ignore the revision. Fixes #5542. Signed-off-by: Martin Nonnenmacher <[email protected]>
- Loading branch information
1 parent
232bc19
commit a234ae5
Showing
4 changed files
with
65 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -904,12 +904,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/_fe_analyzer_shared" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/_fe_analyzer_shared" | ||
- id: "Pub::analyzer:6.4.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -931,12 +931,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/analyzer" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/analyzer" | ||
- id: "Pub::args:2.4.2" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1144,12 +1144,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/google/file.dart.git" | ||
revision: "master" | ||
revision: "" | ||
path: "packages/file" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/google/file.dart.git" | ||
revision: "master" | ||
revision: "" | ||
path: "packages/file" | ||
- id: "Pub::frontend_server_client:3.2.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1171,12 +1171,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/webdev.git" | ||
revision: "master" | ||
revision: "" | ||
path: "frontend_server_client" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/webdev.git" | ||
revision: "master" | ||
revision: "" | ||
path: "frontend_server_client" | ||
- id: "Pub::glob:2.1.2" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1302,12 +1302,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/js" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/js" | ||
- id: "Pub::logging:1.2.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1384,12 +1384,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/meta" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/meta" | ||
- id: "Pub::mime:1.0.4" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1600,12 +1600,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf" | ||
- id: "Pub::shelf_packages_handler:3.0.2" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1626,12 +1626,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_packages_handler" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_packages_handler" | ||
- id: "Pub::shelf_static:1.1.2" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1652,12 +1652,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_static" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_static" | ||
- id: "Pub::shelf_web_socket:1.0.4" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1678,12 +1678,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_web_socket" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/shelf.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/shelf_web_socket" | ||
- id: "Pub::source_map_stack_trace:2.1.1" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1888,12 +1888,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test" | ||
- id: "Pub::test_api:0.7.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1914,12 +1914,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test_api" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test_api" | ||
- id: "Pub::test_core:0.6.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1940,12 +1940,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test_core" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/test.git" | ||
revision: "master" | ||
revision: "" | ||
path: "pkgs/test_core" | ||
- id: "Pub::typed_data:1.3.2" | ||
purl: "pkg:pub/[email protected]" | ||
|
@@ -1993,12 +1993,12 @@ packages: | |
vcs: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/vm_service" | ||
vcs_processed: | ||
type: "Git" | ||
url: "https://github.com/dart-lang/sdk.git" | ||
revision: "main" | ||
revision: "" | ||
path: "pkg/vm_service" | ||
- id: "Pub::watcher:1.1.0" | ||
purl: "pkg:pub/[email protected]" | ||
|
Oops, something went wrong.