Skip to content

Commit a45ae4b

Browse files
committed
Merge branch 'main' into debug-failure-to-check-out
2 parents 4f03c17 + c4f8cd2 commit a45ae4b

File tree

167 files changed

+5337
-1567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+5337
-1567
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ A clear and concise description of what you expected to happen.
2323
**System environment**
2424
The version of your operating system, plus any relevant information about platform or configuration (e.g., container or CI usage, Cygwin, WSL, or non-Basic authentication). If relevant, include the output of `git config -l` as a code block.
2525

26+
Please also mention the usage of any proxy, including any TLS MITM device or non-default antivirus or firewall.
27+
2628
**Output of `git lfs env`**
2729
The output of running `git lfs env` as a code block.
2830

2931
**Additional context**
3032
Any other relevant context about the problem here.
3133

34+
If you're having problems trying to push or pull data, please run the command with `GIT_TRACE=1 GIT_TRANSFER_TRACE=1 GIT_CURL_VERBOSE=1` and include it inline or attach it as a text file. In a bash or other POSIX shell, you can simply prepend this string and a space to the command.
35+
3236
<!--
3337
Please note: if you're receiving a message from the server side (including a
3438
`batch response` message), please contact your Git hosting provider. This

.github/workflows/ci.yml

Lines changed: 51 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,22 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest]
12-
go: ['1.21.x']
12+
go: ['1.24.x']
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
19-
if: ${{ github.ref_type == 'tag' }}
20-
# We update the current tag as the checkout step turns annotated tags
21-
# into lightweight ones by accident, breaking "git describe".
22-
# See https://github.com/actions/checkout/issues/882 for details.
23-
- uses: ruby/setup-ruby@v1
24-
- run: gem install asciidoctor
18+
persist-credentials: false
19+
ref: ${{ github.ref }}
20+
# We specify the current ref because otherwise the checkout turns
21+
# annotated tags into lightweight ones, breaking "git describe".
22+
# See https://github.com/actions/checkout/issues/290 and
23+
# https://github.com/actions/checkout/issues/882 for details.
24+
- run: sudo gem install asciidoctor
2525
- uses: actions/setup-go@v5
2626
with:
2727
go-version: ${{ matrix.go }}
28-
- run: brew install gettext
29-
if: ${{ startsWith(matrix.os, 'macos-') }}
3028
- run: sudo apt-get update && sudo apt-get -y install gettext libarchive-tools
3129
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
3230
env:
@@ -47,14 +45,14 @@ jobs:
4745
name: Build with specific Go
4846
strategy:
4947
matrix:
50-
go: ['1.20.x']
48+
go: ['1.23.x']
5149
runs-on: ubuntu-latest
5250
steps:
5351
- uses: actions/checkout@v4
5452
with:
5553
fetch-depth: 0
56-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
57-
if: ${{ github.ref_type == 'tag' }}
54+
persist-credentials: false
55+
ref: ${{ github.ref }}
5856
- uses: actions/setup-go@v5
5957
with:
6058
go-version: ${{ matrix.go }}
@@ -66,30 +64,27 @@ jobs:
6664
- uses: actions/checkout@v4
6765
with:
6866
fetch-depth: 0
69-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
70-
if: ${{ github.ref_type == 'tag' }}
71-
shell: bash
72-
- uses: ruby/setup-ruby@v1
67+
persist-credentials: false
68+
ref: ${{ github.ref }}
7369
- run: gem install asciidoctor
74-
- run: Rename-Item -Path C:\msys64 -NewName msys64-tmp -Force
75-
# We move the MSYS2 installed for Ruby aside to prevent use of its Git,
76-
# which does not honour the PATH we set to our built git-lfs binary.
7770
- uses: actions/setup-go@v5
7871
with:
79-
go-version: '1.21.x'
72+
go-version: '1.24.x'
8073
- run: mkdir -p "$HOME/go/bin"
8174
shell: bash
8275
- run: set GOPATH=%HOME%\go
8376
- run: choco install -y InnoSetup
84-
- run: choco install -y strawberryperl
8577
- run: make man
8678
shell: bash
8779
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest
8880
shell: bash
89-
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" env -u TMPDIR script/cibuild
81+
- uses: git-for-windows/setup-git-for-windows-sdk@v1
82+
with:
83+
flavor: minimal
84+
# We install the SDK so as to have access to the msgfmt.exe binary
85+
# from the GNU gettext package.
86+
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" script/cibuild
9087
shell: bash
91-
# We clear the TMPDIR set for Ruby so mktemp and Go use the same
92-
# volume for temporary files.
9388
- run: rm -f commands/mancontent_gen.go
9489
shell: bash
9590
- run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=386 -B
@@ -130,9 +125,18 @@ jobs:
130125
- uses: actions/checkout@v4
131126
with:
132127
fetch-depth: 0
133-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
134-
if: ${{ github.ref_type == 'tag' }}
128+
persist-credentials: false
129+
ref: ${{ github.ref }}
130+
- uses: actions/setup-go@v5
131+
with:
132+
go-version: '1.24.x'
135133
- run: git clone -b master https://github.com/git/git.git "$HOME/git"
134+
- run: |
135+
echo "GIT_INSTALL_DIR=$HOME/git" >> "$GITHUB_ENV"
136+
echo "$HOME/git/bin" >> "$GITHUB_PATH"
137+
if: ${{ matrix.os == 'macos-latest' }}
138+
# We install our custom Git version into a PATH location ahead of
139+
# that of the Git installed by Homebrew.
136140
- run: script/build-git "$HOME/git"
137141
- run: GIT_DEFAULT_HASH=sha256 script/cibuild
138142
build-earliest:
@@ -145,9 +149,18 @@ jobs:
145149
- uses: actions/checkout@v4
146150
with:
147151
fetch-depth: 0
148-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
149-
if: ${{ github.ref_type == 'tag' }}
152+
persist-credentials: false
153+
ref: ${{ github.ref }}
154+
- uses: actions/setup-go@v5
155+
with:
156+
go-version: '1.24.x'
150157
- run: git clone -b v2.0.0 https://github.com/git/git.git "$HOME/git"
158+
- run: |
159+
echo "GIT_INSTALL_DIR=$HOME/git" >> "$GITHUB_ENV"
160+
echo "$HOME/git/bin" >> "$GITHUB_PATH"
161+
if: ${{ matrix.os == 'macos-latest' }}
162+
# We install our custom Git version into a PATH location ahead of
163+
# that of the Git installed by Homebrew.
151164
- run: script/build-git "$HOME/git"
152165
- run: script/cibuild
153166
build-docker:
@@ -157,37 +170,20 @@ jobs:
157170
- uses: actions/checkout@v4
158171
with:
159172
fetch-depth: 0
160-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
161-
if: ${{ github.ref_type == 'tag' }}
162-
- uses: ruby/setup-ruby@v1
173+
persist-credentials: false
174+
ref: ${{ github.ref }}
163175
- run: git clone https://github.com/git-lfs/build-dockers.git "$HOME/build-dockers"
164176
- run: (cd "$HOME/build-dockers" && ./build_dockers.bsh)
165177
- run: ./docker/run_dockers.bsh --prune
166-
build-docker-cross:
167-
name: Build Cross Linux packages
168-
runs-on: ubuntu-latest
169-
strategy:
170-
matrix:
171-
arch: [arm64]
172-
container: [debian_12]
178+
build-docker-arm:
179+
name: Build Linux ARM packages
180+
runs-on: ubuntu-24.04-arm
173181
steps:
174182
- uses: actions/checkout@v4
175183
with:
176184
fetch-depth: 0
177-
- run: git fetch origin "+${GITHUB_REF}:${GITHUB_REF}"
178-
if: ${{ github.ref_type == 'tag' }}
179-
- uses: ruby/setup-ruby@v1
180-
- run: |
181-
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
182-
sudo systemctl restart docker.service
183-
docker version -f '{{.Server.Experimental}}'
184-
- uses: docker/setup-qemu-action@v3
185+
persist-credentials: false
186+
ref: ${{ github.ref }}
185187
- run: git clone https://github.com/git-lfs/build-dockers.git "$HOME/build-dockers"
186-
- run: (cd "$HOME/build-dockers" && ./build_dockers.bsh --arch=$ARCH $CONTAINER)
187-
env:
188-
ARCH: ${{matrix.arch}}
189-
CONTAINER: ${{matrix.container}}
190-
- run: ./docker/run_dockers.bsh --prune --arch=$ARCH $CONTAINER
191-
env:
192-
ARCH: ${{matrix.arch}}
193-
CONTAINER: ${{matrix.container}}
188+
- run: (cd "$HOME/build-dockers" && ./build_dockers.bsh --arch=arm64 debian_11 debian_12)
189+
- run: ./docker/run_dockers.bsh --prune --arch=arm64 debian_11 debian_12

0 commit comments

Comments
 (0)