when doing packaging of swift for arch linux, the github repository of apples swift language fails. created a discussion for github as well, but not sure where to report it correctly: https://github.com/orgs/community/discussions/115474
❯ git clone --origin=origin --filter=tree:0 -c advice.detachedHead=false --branch swift-5.9-RELEASE https://github.com/apple/swift /tmp/swift
Cloning into '/tmp/swift'...
remote: Enumerating objects: 196126, done.
remote: Counting objects: 100% (653/653), done.
remote: Compressing objects: 100% (620/620), done.
remote: Total 196126 (delta 55), reused 427 (delta 33), pack-reused 195473
Receiving objects: 100% (196126/196126), 66.34 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (3575/3575), done.
remote: Enumerating objects: 1975, done.
remote: Counting objects: 100% (640/640), done.
remote: Compressing objects: 100% (640/640), done.
remote: Total 1975 (delta 1), reused 0 (delta 0), pack-reused 1335
Receiving objects: 100% (1975/1975), 856.32 KiB | 1.20 MiB/s, done.
Resolving deltas: 100% (7/7), done.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
fatal: unable to write request to remote: Broken pipe
fatal: could not fetch 60a6f945ec457adca0e2e9881ca335c5b2d5c83e from promisor remote
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
or, it fails when doing a mirror clone:
git clone --origin=origin --mirror https://github.com/apple/swift /tmp/swift
Cloning into bare repository '/tmp/swift'...
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
Description
when doing packaging of swift for arch linux, the github repository of apples swift language fails. created a discussion for github as well, but not sure where to report it correctly: https://github.com/orgs/community/discussions/115474
or, it fails when doing a mirror clone:
Reproduction
Expected behavior
checkout works
Environment
current.
Additional information
No response