Skip to content

[build system] add --all-repositories flag #59770

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

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

kavon
Copy link
Member

@kavon kavon commented Jun 29, 2022

Sometimes when working with Docker to debug a Linux issue, we want
to copy the sources directory into the Docker image. If we have a
checkout that was done on macOS, then repos needed to build those
same sources on Linux, such as icu will not be included. There
was no way to ask update-checkout to download those repos while
on macOS.

With --all-repositories, you can now ask for those repos, despite
them not being needed on macOS. You can even do

--all-repositories --skip-repository icu to include all platform
specific repositories, but skip icu.

@kavon
Copy link
Member Author

kavon commented Jun 29, 2022

@swift-ci please smoke test and merge

Sometimes when working with Docker to debug a Linux issue, we want
to copy the sources directory into the Docker image. If we have a
checkout that was done on macOS, then repos needed to build those
same sources on Linux, such as `icu` will not be included. There
was no way to ask `update-checkout` to download those repos while
on macOS.

With `--all-repositories`, you can now ask for those repos, despite
them not being needed on macOS. You can even do

`--all-repositories --skip-repository icu` to include all platform
specific repositories, but skip `icu`.
@kavon kavon force-pushed the all-repositories-flag branch from c651297 to e2ab3b3 Compare June 29, 2022 17:16
@kavon
Copy link
Member Author

kavon commented Jun 29, 2022

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit afb81de into swiftlang:main Jun 29, 2022
@kavon kavon deleted the all-repositories-flag branch June 29, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants