Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Nov 9, 2022

When updating versions of some dependencies, it's important to be able to re-read the checkout config to get the new versions to actually check them out. This not working prevents us from making CI green in cross-repo PRs that update these dependencies.

I also used this as an opportunity to refactor out some common code and add Python docstrings to some functions for easier maintenance.

@MaxDesiatov MaxDesiatov added the update-checkout Area → utils: the `update-checkout` script label Nov 9, 2022
@MaxDesiatov

This comment was marked as duplicate.

When updating versions of some dependencies, it's important to be able to re-read the checkout config to get the new versions to actually check them out.
@MaxDesiatov MaxDesiatov force-pushed the maxd/fix-checkout-cross-repo branch from bd4588d to fc3e14b Compare November 9, 2022 18:28
@MaxDesiatov

This comment was marked as outdated.

@MaxDesiatov

This comment was marked as outdated.

@MaxDesiatov MaxDesiatov force-pushed the maxd/fix-checkout-cross-repo branch from 825f078 to 74613a7 Compare November 10, 2022 13:16
@MaxDesiatov
Copy link
Contributor Author

@swift-ci please smoke test

@MaxDesiatov MaxDesiatov force-pushed the maxd/fix-checkout-cross-repo branch from 74613a7 to 9d29995 Compare November 10, 2022 15:12
@MaxDesiatov MaxDesiatov merged commit 148c861 into main Nov 10, 2022
@MaxDesiatov MaxDesiatov deleted the maxd/fix-checkout-cross-repo branch November 10, 2022 17:33
MaxDesiatov added a commit that referenced this pull request Nov 11, 2022
A one line follow-up fix for #62004. We re-read the config, but didn't check out correct branches after that, because `scheme_map` dictionary was loaded from the old config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update-checkout Area → utils: the `update-checkout` script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants