Commit Graph

480 Commits

Author SHA1 Message Date
John Bute
ec11ba8717 bumped minor version number swift argument parser 2025-12-10 13:09:13 -05:00
Charles Zablit
2ce62d0ffe [update-checkout] add the 'status' subcommand 2025-12-08 11:45:36 +00:00
Charles Zablit
13a32fbe80 [update-checkout] fix persistent --clone warning 2025-12-05 12:15:20 +00:00
Charles Zablit
6d4c516a32 Merge pull request #85709 from charles-zablit/charles-zablit/update-checkout/fix-print-repo-hashes
[update-checkout] fix white space padding when printing the repo hashes
2025-12-03 21:52:21 +01:00
Charles Zablit
fe09ac0703 [NFC][update-checkout] remove usage of the multiprocessing module 2025-11-26 16:11:52 +00:00
Charles Zablit
76007a0b4b [update-checkout] fix white space padding when printing the repo hashes 2025-11-26 12:26:50 +00:00
Charles Zablit
f76be65c3c Merge pull request #85429 from charles-zablit/charles-zablit/update-checkout/add-readme
[update-checkout] add a README
2025-11-19 18:58:02 +01:00
Charles Zablit
5bc3abe8b8 Merge pull request #85428 from charles-zablit/charles-zablit/update-checkout/script-cleanup
[update-checkout] remove unused test and finalize `utf-8` encoding refactor
2025-11-19 18:54:28 +01:00
Charles Zablit
4c977c6b81 Merge pull request #85277 from charles-zablit/charles-zablit/update-checkout/add-tests 2025-11-13 23:05:09 +01:00
Mishal Shah
d30c1c9faf [update-checkout] Add support for the swift 6.3 branches 2025-11-12 22:23:20 -08:00
Mishal Shah
47a9524910 Add support for Swift 6.2.2 release branch scheme 2025-11-11 08:59:51 -08:00
Charles Zablit
0103f3738b [update-checkout] add a README 2025-11-11 13:37:05 +01:00
Charles Zablit
e2c6b4a233 [update-checkout] finalize using utf-8 encoding in all subprocess invocations 2025-11-11 13:33:25 +01:00
Charles Zablit
0002aec811 [update-checkout] remove unused test 2025-11-11 13:30:16 +01:00
Adam Ward
2fe87ca041 Bump version of swift-tools-protocols to 0.0.9
Needed downstream for this sourcekit-lsp PR https://github.com/swiftlang/sourcekit-lsp/pull/2340
2025-11-10 15:33:19 -05:00
Charles Zablit
1d9d00356e [update-checkout] refactor to use pathlib.Path instead of os.path 2025-11-07 12:26:51 +01:00
Alex Hoppen
2dac60c94a [update-checkout] Use basename to get repo name for Git failures
`os.path.dirname` removes the last path component of a path. If there was a git failure in `~/src/swift`, this means that we show `~/src` as the repo name, which isn’t very helpful. Use `os.path.basename`, which returns the last path component, ie. `swift`.
2025-11-05 22:40:12 +01:00
Mishal Shah
a8c6c9628e Merge pull request #85078 from owenv/owenv/tools-protocols-windows
build.ps1: add swift-tools-protocols
2025-11-05 09:01:41 -08:00
Charles Zablit
1d9b6386e9 [update-checkout] fix incorrect number of returned values 2025-11-03 17:16:55 +00:00
Owen Voorhees
c12d5a7b8c build.ps1: add swift-tools-protocols 2025-10-31 11:01:12 -07:00
Charles Zablit
b6ef3d81b3 [NFC][update-checkout] run the black formatter on update-checkout 2025-10-29 11:47:00 -07:00
Charles Zablit
186e76ed65 [update-checkout] pretty print the list of skipped operations 2025-10-24 17:59:37 -07:00
Charles Zablit
c0775643a3 [update-checkout] finish adding type hints 2025-10-24 17:59:35 -07:00
Charles Zablit
713ee9431d [update-checkout] add typing to git invocation exceptions 2025-10-24 16:12:50 -07:00
Mishal Shah
3595fe4984 Merge pull request #85067 from owenv/owenv/update-subprocess
Update swift-subprocess to 0.2.1
2025-10-24 00:25:02 -07:00
Charles Zablit
9377c4bc92 [NFC][update-checkout] add type hints 2025-10-22 22:20:20 -07:00
Owen Voorhees
50d09949a8 Update swift-subprocess to 0.2.1 2025-10-22 11:09:01 -07:00
Charles Zablit
f09449467b [update-checkout] refactor shell invocations 2025-10-22 10:56:19 -07:00
Owen Voorhees
2b4737585d Add swift-tools-protocols to update-checkout (#84882)
Add the 0.0.1 tag to the update-checkout set
2025-10-21 15:33:34 -07:00
Charles Zablit
8c760c2ad3 Merge pull request #84862 from charles-zablit/charles-zablit/update-checkout/fix-line-cleanup
[update-checkout] fix final line cleanup
2025-10-21 13:15:38 -07:00
Charles Zablit
8c64530a46 [update-checkout] enable quiet mode on Python 3.9 and inferior 2025-10-20 18:18:20 -07:00
Mishal Shah
fa27057815 Merge pull request #84947 from jakepetroules/eng/PR-swift-subprocess-02-tag
swift-subprocess: update to 0.2 tag
2025-10-17 15:08:40 -07:00
Charles Zablit
9d3d43c920 [update-checkout] switch to using a ThreadPool for scheduling git commands 2025-10-16 11:29:56 +01:00
Jake Petroules
f4404f2c85 swift-subprocess: update to 0.2 tag 2025-10-15 23:47:40 -07:00
Charles Zablit
820acfcf86 [update-checkout] fix final line cleanup 2025-10-13 19:33:15 +02:00
Charles Zablit
cebbb345d8 [update-checkout] lower the default number of parallel processes 2025-10-13 19:20:43 +02:00
Charles Zablit
23474f93b7 Merge pull request #84825 from charles-zablit/charles-zablit/update-checkout/force-verbose-python-3.9
[update-checkout] force verbose mode if python 3.9
2025-10-13 18:30:32 +02:00
Tim Kientzle
16f1476af5 Merge pull request #84835 from tbkka/tbkka-libclosure
Add new `swift-corelibs-blocksruntime` to the `update-checkout` script.
2025-10-13 07:29:04 -07:00
Charles Zablit
7508a924c8 [update-checkout] force verbose mode if python 3.9 2025-10-13 11:25:58 +02:00
Tim Kientzle
1ce6ef4bdc Add new swift-corelibs-blocksruntime to the update-checkout script. 2025-10-10 17:27:31 -07:00
Zhenchao Li
ed6ef79b51 Add brotli support to FoundationNetworking (#83441)
<!--
If this pull request is targeting a release branch, please fill out the
following form:

https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1

Otherwise, replace this comment with a description of your changes and
rationale. Provide links to external references/discussions if
appropriate.
If this pull request resolves any GitHub issues, link them like so:

  Resolves <link to issue>, resolves <link to another issue>.

For more information about linking a pull request to an issue, see:

https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
-->

<!--
Before merging this pull request, you must run the Swift continuous
integration tests.
For information about triggering CI builds via @swift-ci, see:

https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci

Thank you for your contribution to Swift!
-->

Add brotli as a dependency to enable brotli decoding for curl.

brotli is a general purpose compression algorithm used extensively on
web. (https://datatracker.ietf.org/doc/html/rfc7932)

brotli support for curl is enabled by integrating the brotli compression
library (https://github.com/google/brotli). I've also added some tests
for FoundationNetworking in
https://github.com/swiftlang/swift-corelibs-foundation/pull/5251 which
exercises this feature by
- looking at the accept-encoding http header 
- decoding a brotli encoded payload
2025-10-10 15:52:40 -07:00
Charles Zablit
1777e3137e Merge pull request #84786 from charles-zablit/charles-zablit/update-checkout/faster-fresh-clone
[update-checkout] make llvm-project be the first project
2025-10-10 19:34:46 +01:00
Charles Zablit
64338031b9 [update-checkout] force the use of verbose mode if -j is set to a high value 2025-10-10 13:24:30 +02:00
Charles Zablit
29c924bd54 [update-checkout] make llvm-project be the first project 2025-10-09 11:44:01 +01:00
Charles Zablit
ebd6b99a51 [update-checkout] limit the number of processes on Python < 3.10 2025-10-08 18:38:30 +01:00
Charles Zablit
dd8b028115 [update-checkout] fallback to verbose mode if tempdir is too long 2025-10-08 12:22:06 +01:00
Charles Zablit
876fd514b0 Merge pull request #84109 from charles-zablit/charles-zablit/update-checkout/quieter-output
[update-checkout] reduce the script's verbosity
2025-10-05 23:24:07 +01:00
Charles Zablit
7909a943ae [update-checkout] refactor arguments passing 2025-10-03 11:09:22 +01:00
Mishal Shah
6e960d58a0 Update the main branch scheme to use stable/21.x 2025-09-30 20:42:00 -07:00
Nate Cook
d0eb58cbae Switch to plain main string processing branch
With the StringProcessing library long out of initial development,
we don't need the extra step of maintaining a separate `swift/main`
branch. This switches to use the `main` branch of the StringProcessing
project for building the `main` branch of the stdlib. The release
branch name strategy is unchanged.
2025-09-19 08:35:56 -05:00