-
Notifications
You must be signed in to change notification settings - Fork 9
Added support for inheritance in importing repository files. #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
leander-dsouza
wants to merge
6
commits into
main
Choose a base branch
from
leander-dsouza/add-inheritance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b186be5
Added support for inheritance in importing repository files.
leander-dsouza 62bf913
Update documentation and file names to reflect PR feedback.
leander-dsouza 8c7697c
Added multi-level inheritance support for import.
leander-dsouza 138ae19
Define a custom exception for circular imports in vcs2l.
leander-dsouza 16e1be6
Fix documentation inaccuracies.
leander-dsouza d89e704
Apply documentation changes and improve error handling for inheritanc…
leander-dsouza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,67 @@ | ||
| ...... | ||
| === ./immutable/hash (git) === | ||
| Cloning into '.'... | ||
| Note: switching to 'e700793cb2b8d25ce83a611561bd167293fd66eb'. | ||
|
|
||
| You are in 'detached HEAD' state. You can look around, make experimental | ||
| changes and commit them, and you can discard any commits you make in this | ||
| state without impacting any branches by switching back to a branch. | ||
|
|
||
| If you want to create a new branch to retain commits you create, you may | ||
| do so (now or later) by using -c with the switch command. Example: | ||
|
|
||
| git switch -c <new-branch-name> | ||
|
|
||
| Or undo this operation with: | ||
|
|
||
| git switch - | ||
|
|
||
| Turn off this advice by setting config variable advice.detachedHead to false | ||
|
|
||
| HEAD is now at e700793 1.1.3 | ||
| === ./immutable/hash_tar (tar) === | ||
| Downloaded tarball from 'https://github.com/ros-infrastructure/vcs2l/archive/377d5b3d03c212f015cc832fdb368f4534d0d583.tar.gz' and unpacked it | ||
| === ./immutable/hash_zip (zip) === | ||
| Downloaded zipfile from 'https://github.com/ros-infrastructure/vcs2l/archive/377d5b3d03c212f015cc832fdb368f4534d0d583.zip' and unpacked it | ||
| === ./immutable/tag (git) === | ||
| Cloning into '.'... | ||
| Note: switching to 'tags/1.1.3'. | ||
|
|
||
| You are in 'detached HEAD' state. You can look around, make experimental | ||
| changes and commit them, and you can discard any commits you make in this | ||
| state without impacting any branches by switching back to a branch. | ||
|
|
||
| If you want to create a new branch to retain commits you create, you may | ||
| do so (now or later) by using -c with the switch command. Example: | ||
|
|
||
| git switch -c <new-branch-name> | ||
|
|
||
| Or undo this operation with: | ||
|
|
||
| git switch - | ||
|
|
||
| Turn off this advice by setting config variable advice.detachedHead to false | ||
|
|
||
| HEAD is now at e700793 1.1.3 | ||
| === ./vcs2l (git) === | ||
| Cloning into '.'... | ||
| Note: switching to '1.1.3'. | ||
|
|
||
| You are in 'detached HEAD' state. You can look around, make experimental | ||
| changes and commit them, and you can discard any commits you make in this | ||
| state without impacting any branches by switching back to a branch. | ||
|
|
||
| If you want to create a new branch to retain commits you create, you may | ||
| do so (now or later) by using -c with the switch command. Example: | ||
|
|
||
| git switch -c <new-branch-name> | ||
|
|
||
| Or undo this operation with: | ||
|
|
||
| git switch - | ||
|
|
||
| Turn off this advice by setting config variable advice.detachedHead to false | ||
|
|
||
| HEAD is now at e700793 1.1.3 | ||
| === ./without_version (git) === | ||
| Cloning into '.'... |
This file contains hidden or 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,49 @@ | ||
| ...... | ||
| === ./immutable/hash (git) === | ||
| Cloning into '.'... | ||
| Note: switching to '2c7ff89d12d8a77c36b60d1f7ba3039cdd3f742b'. | ||
|
|
||
| You are in 'detached HEAD' state. You can look around, make experimental | ||
| changes and commit them, and you can discard any commits you make in this | ||
| state without impacting any branches by switching back to a branch. | ||
|
|
||
| If you want to create a new branch to retain commits you create, you may | ||
| do so (now or later) by using -c with the switch command. Example: | ||
|
|
||
| git switch -c <new-branch-name> | ||
|
|
||
| Or undo this operation with: | ||
|
|
||
| git switch - | ||
|
|
||
| Turn off this advice by setting config variable advice.detachedHead to false | ||
|
|
||
| HEAD is now at 2c7ff89 1.1.4 | ||
| === ./immutable/hash_tar (tar) === | ||
| Downloaded tarball from 'https://github.com/ros-infrastructure/vcs2l/archive/377d5b3d03c212f015cc832fdb368f4534d0d583.tar.gz' and unpacked it | ||
| === ./immutable/hash_zip (zip) === | ||
| Downloaded zipfile from 'https://github.com/ros-infrastructure/vcs2l/archive/377d5b3d03c212f015cc832fdb368f4534d0d583.zip' and unpacked it | ||
| === ./immutable/tag (git) === | ||
| Cloning into '.'... | ||
| Note: switching to 'tags/1.1.5'. | ||
|
|
||
| You are in 'detached HEAD' state. You can look around, make experimental | ||
| changes and commit them, and you can discard any commits you make in this | ||
| state without impacting any branches by switching back to a branch. | ||
|
|
||
| If you want to create a new branch to retain commits you create, you may | ||
| do so (now or later) by using -c with the switch command. Example: | ||
|
|
||
| git switch -c <new-branch-name> | ||
|
|
||
| Or undo this operation with: | ||
|
|
||
| git switch - | ||
|
|
||
| Turn off this advice by setting config variable advice.detachedHead to false | ||
|
|
||
| HEAD is now at 25e4ae2 1.1.5 | ||
| === ./vcs2l (git) === | ||
| Cloning into '.'... | ||
| === ./without_version (git) === | ||
| Cloning into '.'... |
This file contains hidden or 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,16 @@ | ||
| # Check for hash, tag, and branch imports with extends functionality with predominant tag 1.1.3 | ||
| --- | ||
| extends: list.repos | ||
| repositories: | ||
| immutable/hash: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: e700793cb2b8d25ce83a611561bd167293fd66eb # 1.1.3 | ||
| immutable/tag: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: tags/1.1.3 | ||
| vcs2l: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: 1.1.3 |
This file contains hidden or 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,16 @@ | ||
| # Check for hash, tag, and branch imports with extends functionality with predominant tag 1.1.4 | ||
| --- | ||
| extends: list.repos | ||
| repositories: | ||
| immutable/hash: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: 2c7ff89d12d8a77c36b60d1f7ba3039cdd3f742b # 1.1.4 | ||
| immutable/tag: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: tags/1.1.4 | ||
| vcs2l: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: 1.1.4 |
This file contains hidden or 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,14 @@ | ||
| # Check for multiple levels of extension in repositories files. | ||
| --- | ||
| extends: | ||
| - list_extension.repos # predominant tag is 1.1.3 # Lower priority | ||
| - list_extension_2.repos # predominant tag is 1.1.4 # Higher priority | ||
| repositories: | ||
| immutable/tag: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: tags/1.1.5 | ||
| vcs2l: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: main |
This file contains hidden or 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,12 @@ | ||
| # Base repositories file that creates an extends a circular import on its extension implementation. | ||
| --- | ||
| extends: loop_extension.repos | ||
| repositories: | ||
| vcs2l: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: main | ||
| immutable/tag: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: tags/1.1.3 |
This file contains hidden or 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,8 @@ | ||
| # Repositories extension file that creates an extends a circular import on its base. | ||
| --- | ||
| extends: loop_base.repos | ||
| repositories: | ||
| vcs2l: | ||
| type: git | ||
| url: https://github.com/ros-infrastructure/vcs2l.git | ||
| version: 1.1.3 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.