-
Notifications
You must be signed in to change notification settings - Fork 104
Providing Repo Include Feature #1479
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
kensipe
wants to merge
7
commits into
main
Choose a base branch
from
ken/repo-include
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 all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
455d5ce
initial step to support multi-repo include
kensipe ca5addf
working version of merge index and include of index files with tests
kensipe 7e3484b
adding godoc
kensipe 536c879
updated error handling
kensipe 8637e6e
url tracking added
kensipe 2335f22
Added test case for nested included repos
ANeumann82 7a0537d
Fixed nested repo include
ANeumann82 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
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
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
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,18 @@ | ||
apiVersion: v1 | ||
entries: | ||
flink: | ||
- appVersion: 0.7.0 | ||
description: correct flink | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.3.0 | ||
urls: | ||
- http://kudo.dev/flink | ||
includes: | ||
- ../included-repo | ||
generated: "2020-04-19T15:04:00Z" |
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,52 @@ | ||
apiVersion: v1 | ||
entries: | ||
mysql: | ||
- appVersion: "5.7" | ||
digest: ad2451eaf68896490a2864afbb3fcd81e6fe3368e4bf001f8a23dc9cbcddf49a | ||
maintainers: | ||
- email: [email protected] | ||
name: Nick Jones | ||
name: mysql | ||
operatorVersion: 0.2.0 | ||
urls: | ||
- https://kudo-repository.storage.googleapis.com/0.10.0/mysql-5.7_0.2.0.tgz | ||
flink: | ||
- appVersion: 0.7.0 | ||
description: wrong flink (should NOT be included) | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.3.0 | ||
- appVersion: 0.8.0 | ||
description: this merges because the version doesn't exist in parent | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.4.0 | ||
urls: | ||
- http://kudo.dev/flink | ||
- appVersion: 0.8.1 | ||
description: this merges and overwrites the version in nested-included-repo | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.4.1 | ||
urls: | ||
- http://kudo.dev/flink | ||
includes: | ||
- ../nested-included-repo | ||
generated: "2020-04-19T15:04:00Z" | ||
|
||
|
39 changes: 39 additions & 0 deletions
39
pkg/kudoctl/util/repo/testdata/nested-included-repo/index.yaml
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,39 @@ | ||
apiVersion: v1 | ||
entries: | ||
mysql: | ||
- appVersion: "5.7" | ||
digest: ad2451eaf68896490a2864afbb3fcd81e6fe3368e4bf001f8a23dc9cbcddf49a | ||
maintainers: | ||
- email: [email protected] | ||
name: Nick Jones | ||
name: mysql | ||
operatorVersion: 0.2.0 | ||
urls: | ||
- https://kudo-repository.storage.googleapis.com/0.10.0/mysql-5.7_0.2.0.tgz | ||
flink: | ||
- appVersion: 0.7.0 | ||
description: wrong flink (should NOT be included) | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.3.0 | ||
- appVersion: 0.8.1 | ||
description: this will get overwritten by included-repo | ||
digest: 0787a078e64c73064287751b833d63ca3d1d284b4f494ebf670443683d5b96dd | ||
maintainers: | ||
- email: <[email protected]> | ||
name: Tom Runyon | ||
- email: <[email protected]> | ||
name: Ken Sipe | ||
name: flink | ||
operatorVersion: 0.4.1 | ||
urls: | ||
- http://kudo.dev/flink | ||
|
||
generated: "2020-04-19T15:04:00Z" | ||
|
||
|
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.