-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update scripts following repo submodule removal and rename #160
Open
chewi
wants to merge
6
commits into
master
Choose a base branch
from
chewi/repo-mv
base: master
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.
Conversation
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
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
A newer version of this script lives in the reports repository. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
CROS_WORKON_COMMIT has been replaced by EGIT_COMMIT in ebuilds. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
portage-stable and coreos-overlay used to be submodules of scripts, but this is no longer true in any release channel, so we can drop any code that handles the migration. Submodule-related arguments are still passed to git where they make sense just in case we do start using submodules that don't need special handling. Some of these scripts seem a little overly complex now that they only handle the scripts repo, but let's not rewrite them now. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
Compatibility symlinks have been added to the scripts repo, but they are not needed by these scripts. `git show` cannot follow them, so we need to explicit check both the new and old locations. coreos-overlay-diff.py has been renamed to flatcar-overlay-diff.py and now accepts --flatcar-overlay, but --coreos-overlay has been kept as an alias. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2 tasks
chewi
changed the title
Chewi/repo mv
Update scripts following repo submodule removal and rename
Jul 19, 2024
I was about to ask about testing - you should be able to test this your own fork. After that you can paste the commands you executed and the output confirming things work as expected. |
Looking good.
|
sayanchowdhury
approved these changes
Aug 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Update scripts following repo submodule removal and rename
portage-stable and coreos-overlay used to be submodules of scripts, but this is no longer true in any release channel, so we can drop any code that handles the migration.
These package repositories will also be moved and renamed to gentoo-subset and flatcar-overlay respectively, so these scripts need adjusting accordingly. The changes are backwards-compatible, so we don't need to wait for the move/rename to actually happen first.
A couple of other scripts are obsolete and can simply be removed.
How to use
Use the scripts as usual!
Testing done
I have tested coreos-overlay-diff.py (which has another issue, see #159) and show-changes. The other changes are either trivial or hard to test, like tag-release.