-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43575 from ballerina-platform/master
Sync branches
- Loading branch information
Showing
28 changed files
with
319 additions
and
111 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
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
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
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
3 changes: 3 additions & 0 deletions
3
...src/test/resources/package-resolution/suite-existing_project/case-0016/Ballerina_toml.dot
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
digraph "BallerinaToml" { | ||
"samjs/qux.foo:1.0.2" | ||
} |
5 changes: 5 additions & 0 deletions
5
.../test/resources/package-resolution/suite-existing_project/case-0016/Dependencies_toml.dot
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
digraph "example1" { | ||
"samejs/app:0.1.0" -> "samjs/qux.foo:1.0.2" | ||
|
||
"samjs/qux.foo:1.0.2" [modules = "qux.foo"] | ||
} |
3 changes: 3 additions & 0 deletions
3
...erina-lang/src/test/resources/package-resolution/suite-existing_project/case-0016/app.dot
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
digraph "samejs/app:0.1.0" { | ||
"samjs/qux.foo" | ||
} |
13 changes: 13 additions & 0 deletions
13
...sources/package-resolution/suite-existing_project/case-0016/case-description.md
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Package name is hierarchical, there are new versions in the central, and the older version is specified in Ballerina.toml and Dependencies.toml | ||
|
||
1. User's package has `samjs/qux.foo:1.0.2` as a dependency in Dependencies.toml. | ||
2. A newer version `samjs/qux.foo:1.0.5` has been released to central. | ||
3. User specifies `samjs/qux.foo:1.0.2` in Ballerina.toml | ||
4. User now builds the package | ||
|
||
## Expected behavior | ||
|
||
### Sticky == true | ||
No changes to Dependency graph | ||
### Sticky == false | ||
Dependency graph should be updated to have `samjs/qux.foo:1.0.5` |
3 changes: 3 additions & 0 deletions
3
...resources/package-resolution/suite-existing_project/case-0016/expected-graph-nosticky.dot
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
digraph "example1" { | ||
"samejs/app:0.1.0" -> "samjs/qux.foo:1.0.5" | ||
} |
3 changes: 3 additions & 0 deletions
3
...t/resources/package-resolution/suite-existing_project/case-0016/expected-graph-sticky.dot
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
digraph "example1" { | ||
"samejs/app:0.1.0" -> "samjs/qux.foo:1.0.2" | ||
} |
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
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
Oops, something went wrong.