Skip to content

Commit a3b7867

Browse files
authored
Merge branch 'main' into update-release-howto-after-8.4.2
2 parents 149afbb + bd72a09 commit a3b7867

File tree

128 files changed

+11976
-13813
lines changed

Some content is hidden

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

128 files changed

+11976
-13813
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
if: ${{ matrix.language == 'c-cpp' }}
6262

6363
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
64+
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
6565
with:
6666
languages: ${{ matrix.language }}
6767
config-file: ./.github/codeql/codeql-config.yml
@@ -86,6 +86,6 @@ jobs:
8686
run: .github/workflows/build_ubuntu-24.04.sh "${HOME}/install"
8787

8888
- name: Perform CodeQL Analysis
89-
uses: github/codeql-action/analyze@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
89+
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
9090
with:
9191
category: "/language:${{matrix.language}}"

.github/workflows/docker.yml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,41 @@ jobs:
4141
# releasebranch_8_3-alpine, releasebranch_8_3-debian, releasebranch_8_3-ubuntu
4242
# For a release, e.g. 8.3.0, created tags are:
4343
# 8.3.0-alpine, 8.3.0-debian, 8.3.0-ubuntu and latest (with ubuntu)
44-
docker-os-matrix:
45-
name: ${{ matrix.os }}
44+
build:
4645
runs-on: ubuntu-latest
4746
concurrency:
4847
group: >-
49-
${{ github.workflow }}-${{ matrix.os }}-${{ github.event_name }}-
48+
${{ github.workflow }}-${{ matrix.name }}-${{ github.event_name }}-
5049
${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
5150
# Cancel in progress in pull requests.
5251
# Otherwise, limit to one in progress and one queued for each type.
5352
# Only the latest queued job per event type will be kept, older will be cancelled.
5453
# The already running job will be completed.
5554
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
5655
strategy:
57-
matrix:
58-
os:
59-
- alpine
60-
- debian
61-
- ubuntu
62-
- ubuntu_wxgui
6356
fail-fast: false
57+
matrix:
58+
include:
59+
- name: alpine
60+
os: alpine
61+
dockerfile: docker/alpine/Dockerfile
62+
build_args: |-
63+
GUI=without
64+
- name: debian
65+
os: debian
66+
dockerfile: docker/debian/Dockerfile
67+
build_args: |-
68+
GUI=without
69+
- name: ubuntu
70+
os: ubuntu
71+
dockerfile: docker/ubuntu/Dockerfile
72+
build_args: |-
73+
GUI=without
74+
- name: ubuntu_wxgui
75+
os: ubuntu
76+
dockerfile: docker/ubuntu/Dockerfile
77+
build_args: |-
78+
GUI=with
6479
6580
permissions:
6681
attestations: write
@@ -108,7 +123,7 @@ jobs:
108123
latest="${{
109124
(github.ref || format('{0}{1}', 'refs/tags/', github.event.release.tag_name))
110125
== format('refs/tags/{0}', steps.tag-branch.outputs.latest_tag)
111-
&& matrix.os == 'ubuntu' && steps.tag-branch.outputs.error_latest == 'no' }}"
126+
&& matrix.name == 'ubuntu' && steps.tag-branch.outputs.error_latest == 'no' }}"
112127
current="${{
113128
( contains(fromJSON('["tag", "release"]'), github.event_name)
114129
&& (github.ref || format('{0}{1}', 'refs/tags/', github.event.release.tag_name))
@@ -139,11 +154,11 @@ jobs:
139154
type=raw,value=latest,enable=${{ steps.enable.outputs.latest }},suffix=
140155
flavor: |
141156
latest=false
142-
suffix=-${{ matrix.os }}
157+
suffix=-${{ matrix.name }}
143158
- name: Set up QEMU
144159
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
145160
- name: Set up Docker Buildx
146-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
161+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
147162
- name: Login to GitHub Container Registry
148163
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
149164
with:
@@ -162,8 +177,9 @@ jobs:
162177
with:
163178
push: ${{ github.event_name != 'pull_request' }}
164179
context: .
180+
build-args: ${{ matrix.build_args }}
165181
tags: ${{ steps.meta.outputs.tags }}
166-
file: docker/${{ matrix.os }}/Dockerfile
182+
file: ${{ matrix.dockerfile }}
167183
annotations: ${{ steps.meta.outputs.annotations }}
168184
provenance: mode=max
169185
sbom: true
@@ -179,7 +195,7 @@ jobs:
179195
env:
180196
STEPS_DOCKER_BUILD_OUTPUTS_DIGEST: ${{ steps.docker_build.outputs.digest }}
181197
- name: Attest docker.io image
182-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
198+
uses: actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # v3.1.0
183199
# If there isn't a digest, an annotation cannot be added
184200
if: >-
185201
${{ github.repository_owner == 'OSGeo' && github.event_name != 'pull_request'
@@ -190,7 +206,7 @@ jobs:
190206
subject-digest: ${{ steps.docker_build.outputs.digest }}
191207
push-to-registry: ${{ github.repository_owner == 'OSGeo' && github.event_name != 'pull_request' }}
192208
- name: Attest ghcr.io image
193-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
209+
uses: actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # v3.1.0
194210
# If there isn't a digest, an annotation cannot be added
195211
if: ${{ steps.docker_build.outputs.digest }}
196212
id: attest-ghcr

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
130130
- name: Upload test results to Codecov
131131
if: ${{ !cancelled() }}
132-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
132+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
133133
with:
134134
exclude: gui
135135
flags: macos-pytest-python

.github/workflows/osgeo4w.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156

157157
- name: Upload test results to Codecov
158158
if: ${{ !cancelled() }}
159-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
159+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
160160
with:
161161
exclude: gui
162162
flags: ${{ matrix.os }}-pytest-python

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
153153
- name: Upload test results to Codecov
154154
if: ${{ !cancelled() }}
155-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
155+
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
156156
with:
157157
exclude: gui
158158
flags: pytest-python-${{ matrix.python-version }}

.github/workflows/python-code-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# renovate: datasource=pypi depName=bandit
3737
BANDIT_VERSION: "1.9.2"
3838
# renovate: datasource=pypi depName=ruff
39-
RUFF_VERSION: "0.14.9"
39+
RUFF_VERSION: "0.14.10"
4040

4141
runs-on: ${{ matrix.os }}
4242
permissions:
@@ -133,7 +133,7 @@ jobs:
133133
path: bandit.sarif
134134

135135
- name: Upload SARIF File into Security Tab
136-
uses: github/codeql-action/upload-sarif@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
136+
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
137137
with:
138138
sarif_file: bandit.sarif
139139

.markdownlint.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
# yamllint disable-line rule:line-length
3+
# yaml-language-server: $schema=https://raw.githubusercontent.com/DavidAnson/markdownlint/refs/heads/main/schema/markdownlint-config-schema.json
24
default: true
35

46
# Fix any fixable errors (depending on the markdownlint wrapper tool used)
@@ -9,5 +11,11 @@ MD041: false # first-line-h1
911
# Errors from .html to .md rename (first step in HTML to Markdown conversion)
1012
MD013:
1113
code_blocks: false
14+
headings: false
1215
tables: false
1316
# The block above this is to be eventually removed.
17+
18+
# MD060/table-column-style : Table column style
19+
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md060.md
20+
MD060:
21+
style: any

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ repos:
4949
- id: detect-private-key
5050
- repo: https://github.com/astral-sh/ruff-pre-commit
5151
# Ruff version.
52-
rev: v0.14.9
52+
rev: v0.14.10
5353
hooks:
5454
# Run the linter.
5555
- id: ruff-check
5656
args: [--fix, --preview]
5757
# Run the formatter.
5858
- id: ruff-format
5959
- repo: https://github.com/igorshubovych/markdownlint-cli
60-
rev: v0.45.0
60+
rev: v0.47.0
6161
hooks:
6262
- id: markdownlint-fix
6363
- repo: https://github.com/pycqa/flake8
@@ -89,7 +89,7 @@ repos:
8989
hooks:
9090
- id: actionlint
9191
- repo: https://github.com/zizmorcore/zizmor-pre-commit
92-
rev: v1.18.0
92+
rev: v1.19.0
9393
hooks:
9494
- id: zizmor
9595
- repo: https://github.com/editorconfig-checker/editorconfig-checker

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ linters (automated code quality checks).
2525

2626
There is a series of automated checks which will run on your pull request
2727
after you create one. You don't need to run all these
28-
checks locally and, indeed, some of them may fail for your code. This is a part of
29-
the standard iterative process of integrating changes into the main code,
28+
checks locally and, indeed, some of them may fail for your code. This is a part
29+
of the standard iterative process of integrating changes into the main code,
3030
so if that happens, just see the error messages, go back to your code
3131
and try again. If you are not sure what to do, let others know in a pull
3232
request comment.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG GEOS_VERSION=3.14.1
1313
# renovate: datasource=github-tags depName=OSGeo/PROJ
1414
ARG PROJ_VERSION=9.7.1
1515
# renovate: datasource=github-tags depName=OSGeo/gdal
16-
ARG GDAL_VERSION=3.12.0
16+
ARG GDAL_VERSION=3.12.1
1717
# renovate: datasource=github-tags depName=PDAL/PDAL
1818
ARG PDAL_VERSION=2.9.2
1919
# renovate: datasource=github-tags depName=OSGeo/gdal-grass

0 commit comments

Comments
 (0)