Skip to content

Commit 664c4d2

Browse files
authored
Merge branch 'master' into article/qgis-4-futur
2 parents d1b8f8e + 1ce9c74 commit 664c4d2

Some content is hidden

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

51 files changed

+1604
-200
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
44
"name": "Édition en ligne",
5-
// "build": {
6-
// "dockerfile": "Dockerfile"
7-
// },
5+
"build": {
6+
"dockerfile": "Dockerfile"
7+
},
88
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
9-
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
9+
// "image": "mcr.microsoft.com/devcontainers/python:0-3.11",
1010
// Features to add to the dev container. More info: https://containers.dev/features.
1111
"features": {
1212
"ghcr.io/devcontainers-contrib/features/apt-packages:1": {
@@ -19,7 +19,8 @@
1919
"libz-dev",
2020
"pngquant"
2121
]
22-
}
22+
},
23+
"ghcr.io/devcontainers-contrib/features/coverage-py:2": {}
2324
},
2425
// Configure tool-specific properties.
2526
"customizations": {
@@ -36,7 +37,7 @@
3637
},
3738
"editor.formatOnSave": true,
3839
"editor.codeActionsOnSave": {
39-
"source.organizeImports": true
40+
"source.organizeImports": "explicit"
4041
},
4142
// Markdown
4243
"markdown.updateLinksOnFileMove.enabled": "prompt",
@@ -45,21 +46,21 @@
4546
"markdown.validate.fileLinks.markdownFragmentLinks": "warning",
4647
"markdown.validate.fragmentLinks.enabled": "warning",
4748
"[markdown]": {
48-
"files.trimTrailingWhitespace": false,
49+
"files.trimTrailingWhitespace": false
4950
},
5051
// Python
5152
"python.defaultInterpreterPath": ".venv/bin/python",
5253
"[python]": {
5354
"editor.codeActionsOnSave": {
54-
"source.organizeImports": true
55+
"source.organizeImports": "explicit"
5556
},
5657
"editor.defaultFormatter": "ms-python.black-formatter",
5758
"editor.formatOnSave": true,
5859
"editor.guides.bracketPairs": "active",
5960
"editor.rulers": [
6061
88
6162
],
62-
"editor.wordWrapColumn": 88,
63+
"editor.wordWrapColumn": 88
6364
},
6465
// extensions
6566
"autoDocstring.guessTypes": true,
@@ -69,7 +70,7 @@
6970
"yaml.schemas": {
7071
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs*.yml",
7172
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml",
72-
"https://json.schemastore.org/markdownlint.json": ".markdownlint*",
73+
"https://json.schemastore.org/markdownlint.json": ".markdownlint*"
7374
},
7475
"yaml.customTags": [
7576
"!ENV scalar",

.github/ISSUE_TEMPLATE/RDP_NEWS.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ assignees:
55
- aurelienchaumet
66
- guts
77
- igeofr
8+
- gounux
89

910
body:
1011
- type: markdown

.github/workflows/deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: Build static website
6666
run: |
6767
geotribu --help > content/toc_nav_ignored/snippets/code/geotribu_cli_help.txt
68-
python scripts/050_mkdocs_populate_latest.py -c mkdocs.yml
6968
python scripts/100_mkdocs_config_merger.py -c mkdocs.yml
7069
mkdocs build --clean --config-file mkdocs.yml --verbose --strict
7170
env:

.github/workflows/links_checker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
3636
- name: Build static website
3737
run: |
38-
python scripts/050_mkdocs_populate_latest.py
3938
python scripts/100_mkdocs_config_merger.py -c mkdocs.yml
4039
mkdocs build --clean --config-file mkdocs.yml --quiet --strict
4140
env:

.github/workflows/manual_new_rdp.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ jobs:
6868

6969
- name: Notification Slack
7070
id: slack
71-
uses: slackapi/slack-github-action@v1.27
71+
uses: slackapi/slack-github-action@v2.0
7272
if: "${{ github.event.inputs.notify-slack == 'true' }}"
7373
with:
74+
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
75+
webhook-type: incoming-webhook
7476
payload: '{"blocks":[{"type":"section","text":{"type":"mrkdwn","text":":newspaper: La GeoRDP du ${{ env.DATE_FR_LONG }} a été créée et attend vos contributions :writing_hand: !"}},{"type":"section","fields":[{"type":"mrkdwn","text":"Créée par *${{ github.actor }}* via GitHub Action."}]},{"type":"actions","elements":[{"type":"button","text":{"type":"plain_text","emoji":true,"text":":squid: Voir la PR (GitHub)"},"url":"${{ steps.cpr.outputs.pr_url }}"},{"type":"button","text":{"type":"plain_text","emoji":true,"text":":eye: Voir la preview (Netlify)"},"style":"primary","url":"https://preview-pullrequest-${{steps.cpr.outputs.pr_number}}--geotribu-preprod.netlify.app/"}]}]}'
75-
env:
76-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
77-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

.github/workflows/pr_checker_build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
7777
export MKDOCS_SITE_URL="https://${NETLIFY_SITE_PREFIX}--${NETLIFY_SITE_NAME}.netlify.app/"
7878
7979
# merge different configs
80-
python scripts/050_mkdocs_populate_latest.py -c ${{ env.MKDOCS_CONFIG_FILENAME }}
8180
python scripts/100_mkdocs_config_merger.py -c ${{ env.MKDOCS_CONFIG_FILENAME }}
8281
8382
# build

.github/workflows/pr_linter_markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Filter results by added/modified lines.
2727
- name: "Vérifie la syntaxe des lignes ajoutées ou modifiées"
2828
id: markdownlint-github-pr-review-added
29-
uses: reviewdog/action-markdownlint@v0.25.0
29+
uses: reviewdog/action-markdownlint@v0.26.0
3030
with:
3131
github_token: ${{ secrets.GITHUB_TOKEN }}
3232
fail_on_error: true
@@ -61,7 +61,7 @@ jobs:
6161
# # as long as they are in added/modified file even if the results are not in actual diff.
6262
# - name: "Vérifie la syntaxe de tous les fichiers ajoutés ou modifiés"
6363
# id: markdownlint-github-pr-review-file
64-
# uses: reviewdog/action-markdownlint@v0.25.0
64+
# uses: reviewdog/action-markdownlint@v0.26.0
6565
# with:
6666
# github_token: ${{ secrets.GITHUB_TOKEN }}
6767
# fail_on_error: false

.github/workflows/pr_preview_netlify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# =============================== #
2626

2727
- name: Download artifact from build workflow
28-
uses: dawidd6/action-download-artifact@v6
28+
uses: dawidd6/action-download-artifact@v7
2929
with:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
name: pr-build-website

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,4 @@ linkchecker_report.html
233233
# fichiers liés aux vidéos Gource
234234
gource.ini
235235
avatars/
236+
mkdocs-generated-configuration.yml

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Robin Bourianes <[email protected]>
117117
118118

119119
Romain Lacroix <[email protected]>
120+
120121

121122
Samuel Deschamps-Berger <[email protected]>
122123
Samuel Deschamps-Berger <[email protected]> <[email protected]>

0 commit comments

Comments
 (0)