Skip to content

Conversation

charles-zablit
Copy link
Contributor

@charles-zablit charles-zablit commented Sep 4, 2025

This patch makes update-checkout less verbose. It adds a --verbose or -v flag which increases the verbosity.

With -v, the behavior is strictly similar to the current implementation.

Without -v, instead of piping the output of each git command to stdout, the script will only display the list of repositories that are being cloned, and will update that list in place, as well as a total of the repositories which have been processed.

Here is an example of the updated verbosity:

Screenshot 2025-09-11 at 15 25 27 (2)

rdar://161806444

@charles-zablit charles-zablit self-assigned this Sep 4, 2025
@charles-zablit charles-zablit added the utils Area: the build system and other accessory scripts under the "utils" directory label Sep 4, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from cd2893b to daf6806 Compare September 5, 2025 12:22
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from daf6806 to 526f12e Compare September 5, 2025 15:54
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch 3 times, most recently from 6df404f to 58604d7 Compare September 11, 2025 14:25
@charles-zablit charles-zablit changed the title [update-checkout] add a --quiet flag to reduce the verbosity [update-checkout] add a --verbose and make the script quiet by default Sep 11, 2025
@charles-zablit charles-zablit changed the title [update-checkout] add a --verbose and make the script quiet by default [update-checkout] reduce the script's verbosity Sep 11, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 9089faa to 02662f1 Compare September 11, 2025 15:29
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 02662f1 to 70a8da4 Compare September 11, 2025 15:39
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 70a8da4 to 9eaa427 Compare September 11, 2025 15:45
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit added update-checkout Area → utils: the `update-checkout` script and removed utils Area: the build system and other accessory scripts under the "utils" directory labels Sep 11, 2025
@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 9eaa427 to 6e49f08 Compare September 11, 2025 15:49
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test linux

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 6e49f08 to 607018c Compare September 11, 2025 15:56
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test linux

@charles-zablit
Copy link
Contributor Author

@swift-ci please test macos

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 1679f36 to e7b55e4 Compare October 1, 2025 11:30
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from e7b55e4 to 152aabc Compare October 1, 2025 11:37
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 152aabc to aa97513 Compare October 1, 2025 11:43
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from aa97513 to ce3aa39 Compare October 1, 2025 11:50
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from ce3aa39 to 34dfedf Compare October 1, 2025 11:55
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

1 similar comment
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 34dfedf to e0bbd45 Compare October 1, 2025 14:17
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

1 similar comment
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 64bdc3a to 35af47a Compare October 1, 2025 15:57
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 35af47a to 4c8a8f6 Compare October 1, 2025 17:29
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test macOS

@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from 9c619ac to b03901e Compare October 2, 2025 10:05
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit force-pushed the charles-zablit/update-checkout/quieter-output branch from b03901e to 7909a94 Compare October 3, 2025 10:09
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test linux

@charles-zablit charles-zablit merged commit 876fd51 into swiftlang:main Oct 5, 2025
3 checks passed
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