Commit Graph

523 Commits

Author SHA1 Message Date
Mishal Shah 0443749d84 Update rebranch aliases to stable/20260427 2026-05-12 11:14:01 -07:00
Charles Zablit 01f99bfe81 Merge pull request #88712 from charles-zablit/cz/update-checkout/terminal-width
[update-checkout] fix duplicate lines on Windows
2026-05-12 18:23:24 +01:00
Charles Zablit 7450dd7793 [update-checkout] fix duplicate lines on Windows 2026-05-07 15:13:00 +01:00
Mishal Shah 31cc2f7256 Add support for release/6.4.x branch 2026-05-04 16:12:04 -07:00
Charles Zablit 15d722fae7 [update-checkout] separate stdout from stderr in git commands 2026-04-17 16:59:46 +02:00
Mishal Shah 9dfc0ffd0c Merge pull request #88223 from swiftlang/update-checkout-sqlite
Update swift-toolchain-sqlite version to 1.0.9
2026-04-14 10:38:58 -07:00
Jake Petroules ac5dbb12f8 Update swift-toolchain-sqlite version to 1.0.9 2026-04-10 19:22:35 -07:00
Jake Petroules f31c7d1609 Update swift-subprocess version to 0.4
Pull in the latest API changes in preparation for use by the build system and package manager stack.
2026-04-07 13:30:10 -07:00
Jake Petroules 94409d2d95 Update swift-toolchain-sqlite version to 1.0.8
Pull in the latest bug and security fixes.
2026-04-07 13:21:17 -07:00
Charles Zablit 012d879e80 Merge pull request #87965 from charles-zablit/cz/update-checkout/fix-error-reporting 2026-04-07 12:23:46 +02:00
Charles Zablit 58000af8e8 Merge pull request #87911 from charles-zablit/cz/update-checkout/default-retry 2026-04-02 15:00:56 +01:00
Mishal Shah 239455d1bf Add support for release/6.3.1 branch
(cherry picked from commit e9a5c72534)
2026-03-30 23:28:06 -07:00
Saleem Abdulrasool 823cfd730b update-checkout: bump wasi-sdk to 31
Update the WASI libc version to the latest release. This is required to
enable building the WASI SDK on Windows.
2026-03-26 21:48:44 +00:00
Justice Adams 5c1e9c06bd [update-checkout] be explicit about what ref to fetch when updating repository (#88081)
When update-checkout is called when a repo was cloned with a shallow
clone, it will currently try to checkout the rev for the given scheme
when update-checkout is called but that ref will not exist.

This patch does the following: When `update_single_repository` is
called, check if the target ref exists in the repo, if it does check it
out. If it doesn't as is the case with a shallow clone, call the
appropriate git function to add the ref to the local repo
* tag -> `git fetch --tags`
* branch -> `git fetch
+refs/heads/{checkout_target}:refs/remotes/origin/{checkout_target}`

which will then allow the script to checkout the ref.

Reproducer:
```
git clone https://github.com/swiftlang/swift.git --depth=1 --single-branch --branch main
cd swift
python3 ./utils/update-checkout --scheme release/6.3 --skip-repository llvm-project --skip-repository sourcekit-lsp --skip-repository ninja --skip-repository swift-integration-tests --skip-repository swift-stress-tester --skip-repository swift-xcode-playground-support --reset-to-remote --clean --clone --skip-history
```
2026-03-25 12:58:24 -07:00
Saleem Abdulrasool c207a1d7ab Merge pull request #87912 from compnerd/update-brotli
update_checkout: bump brotli to 1.2.0
2026-03-24 10:35:02 -07:00
Xi Ge 47fd34b741 Merge pull request #87886 from rintaro/tools-protocols-main
[update-checkout] Use swift-tools-protocols:main instead of a tag
2026-03-20 13:51:18 -07:00
Charles Zablit 23d50fba72 [update-checkout] fix error reporting 2026-03-19 16:38:08 +00:00
Charles Zablit f48eebec98 [update-checkout] make --max-retries default to 3 2026-03-19 15:32:49 +00:00
Charles Zablit 8339e77f49 [update-checkout] add --partial-clone 2026-03-19 15:09:25 +00:00
Saleem Abdulrasool 7cf54e3d49 update_checkout: bump brotli to 1.2.0
This updates the brotli checkout to 1.2.0 which includes fixes from
upstream and allows us to trim the build a slight bit.
2026-03-18 10:35:21 -07:00
Rintaro Ishizaki 3dcae37f8c [update-checkout] Use swift-tools-protocols:main instead of a tag
swift-tools-protocols is now fully setup and it's going to get updates
required by other repositories. Use 'main' branch instead of a tagged
release so we can update it frequently.
2026-03-16 11:42:48 -07:00
Max Desiatov 707b44e34f update-checkout: Update wasmkit version to 0.2.1 (#87845)
[This release](https://github.com/swiftwasm/WasmKit/releases/tag/0.2.1)
contains important bug fixes for Wasm guest modules debugging
functionality.
2026-03-16 09:48:17 -07:00
Jake Petroules 3a78b2a01c swift-subprocess: update to 0.3 tag (#87161) 2026-03-05 10:56:47 -08:00
Eric Miotto b3cdeee4de [update-checkout] correctly reset to remote branches
In #87124 I regressed the behaviour of `--reset-to-remote`, causing it
to never apply new remote changes to the local branches.

Fix this by restoring the logic that finds the remote branch.
2026-02-23 15:53:05 -08:00
Eric Miotto 2e2861116b [update-checkout] allow to use --reset-to-remote with commit hash
Namely, do not enforce the checkout target is either a branch or a tag,
let `git` complain in case instead.
2026-02-10 15:10:43 -08:00
Saleem Abdulrasool efa895e1ae Merge pull request #86823 from compnerd/boring
update_checkout: add boringssl to the checkout set
2026-02-09 18:57:04 -08:00
Charles Zablit e5d6339cbb [update-checkout] fix error when running --skip-history with commit hash 2026-02-04 13:16:58 +00:00
Saleem Abdulrasool 7bda989605 update_checkout: add boringssl to the checkout set
This library dependency is already present in the Android SDK builds.
Replicate the dependency in the checkouts to allow building for the
Android SDK on non-Linux platforms.
2026-02-02 14:02:00 -08:00
Charles Zablit 3eab02966d Merge pull request #86715 from charles-zablit/charles-zablit/update-checkout/git-config-warnings 2026-01-28 22:28:24 +00:00
Charles Zablit e9f413aa46 [update-checkout] force cloning with 'core.autoclrf=false' and 'core.symlinks=true' 2026-01-28 17:25:31 +00:00
Saleem Abdulrasool 5d0ff1688d Revert "update-checkout: bump libcurl to 8.17.0 (#86321)"
This reverts commit 1eaa52efdc.

build.ps1 was not synchronised with the CURL configuration changes. This
silently changes what is exactly specified to build (options were
renamed/replaced/removed/added).
2026-01-23 16:08:53 -08:00
Charles Zablit 04b29ed8c1 Revert "[update-checkout] force cloning with 'core.autoclrf=false' and 'core.symlinks=true'"
This reverts commit fd3d3d1c17.
2026-01-22 19:21:11 +00:00
Charles Zablit fd3d3d1c17 [update-checkout] force cloning with 'core.autoclrf=false' and 'core.symlinks=true' 2026-01-22 12:34:21 +00:00
Max Desiatov 9f35fdecbb update-checkout-config.json: bump WasmKit to 0.2.0 (#86440)
WasmKit 0.2.0 contains new functionality that allows enabling Wasm debugging tests in LLDB.

The version bump is not planned for 6.3, as Swift bootstrapping version for `release/6.3` CI jobs is too low: 5.9 as opposed to newly required Swift 6.0 in latest SwiftNIO and WasmKit versions.
2026-01-21 18:14:12 +00:00
Charles Zablit cbf1471df4 Merge pull request #86600 from charles-zablit/charles-zablit/update-checkout/exponential-retry 2026-01-21 17:13:47 +00:00
Max Desiatov 4d65c89ca6 update-checkout-config.json: bump SwiftNIO to 2.92.2 (#86460)
This version bump is required to update WasmKit to 0.2.0 in a separate PR (https://github.com/swiftlang/swift/pull/86440), which itself is required to enable Wasm debugging tests in LLDB.

The version bump is not planned for 6.3, as Swift bootstrapping version for `release/6.3` CI jobs is too low: 5.9 as opposed to newly required Swift 6.0 in latest SwiftNIO and WasmKit versions.
2026-01-21 09:12:46 +00:00
Charles Zablit 668091c83f [update-checkout] add a --max-retries flag 2026-01-19 16:00:47 +01:00
Marc Prud'hommeaux 1eaa52efdc update-checkout: bump libcurl to 8.17.0 (#86321)
Following on from a discussion at
https://github.com/swiftlang/swift-docker/pull/488#issuecomment-3714365137,
this PR updates the following dependency for `main`, `6.3`, `next`,
and `rebranch`:

- libcurl from
[8.9.1](https://github.com/curl/curl/releases/tag/curl-8_9_1) (Jul 31,
2024) to [8.17.0](https://github.com/curl/curl/releases/tag/curl-8_17_0)
(Nov 5, 2025)

Given that this library processes untrusted input, keeping up
with the latest releases is probably a good idea.
2026-01-15 10:48:41 +05:30
Mishal Shah d5ed01666e Merge pull request #86528 from swiftlang/t/main/update_SAP_version-in-next-and-rebranch
Upversion swift-argument-parser
2026-01-13 14:30:15 -08:00
Bassam Khouri 301f073a00 Upversion swift-argument-parser
Update the swift-argument-parser to version 1.6.1 on the
`rebranch` and `next` scheme to match the vesion on `main`
2026-01-13 12:14:53 -05:00
Mishal Shah 28ca2938a5 Merge pull request #86359 from bkhouri/t/main/rdar158879326_upversion_swift-argument-parser-to-1.6.1
Upversion swift argument parser to release 1.6.1
2026-01-13 08:54:43 -08:00
Bassam Khouri 59cd9de1f1 Updversion swift argument parser to release 1.6.1 2026-01-07 15:45:42 -05:00
Owen Voorhees ecf2dc0514 swift-tools-protocols: update to 0.0.10 2026-01-05 11:39:10 -08:00
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