Skip to content

Commit

Permalink
Merge branch 'osgeo-main'
Browse files Browse the repository at this point in the history
  • Loading branch information
a0x8o committed May 21, 2024
2 parents 49930b8 + a61698b commit cb37dc3
Show file tree
Hide file tree
Showing 1,310 changed files with 56,839 additions and 1,439 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/additional_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
sudo apt-get install -y wget git gawk findutils
xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \
sudo apt-get install -y --no-install-recommends --no-install-suggests
- uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1
- uses: rui314/setup-mold@8de9eea54963d01c1a6c200606257d65bd53bea1 # v1
if: ${{ matrix.language == 'c-cpp' }}

- name: Initialize CodeQL
uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -81,6 +81,6 @@ jobs:
run: .github/workflows/build_ubuntu-22.04.sh "${HOME}/install"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
with:
category: "/language:${{matrix.language}}"
3 changes: 0 additions & 3 deletions .github/workflows/create_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
tags:
- '**'
pull_request:
branches:
- main
- releasebranch_*
paths:
- .github/**
- utils/**
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
env:
CACHE_NUMBER: 0
concurrency:
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*

jobs:
build:
Expand Down Expand Up @@ -38,6 +35,7 @@ jobs:
path-type: inherit
location: D:\
update: true
msystem: MINGW64
install: tar libintl make bison flex diffutils git dos2unix zip mingw-w64-x86_64-toolchain
mingw-w64-x86_64-fftw mingw-w64-x86_64-lapack mingw-w64-x86_64-pkgconf
mingw-w64-x86_64-gcc mingw-w64-x86_64-ccache mingw-w64-x86_64-zlib mingw-w64-x86_64-libiconv
Expand Down Expand Up @@ -65,13 +63,23 @@ jobs:
shell: msys2 {0}

- name: Compile GRASS GIS
run: D:\msys64\usr\bin\bash.exe -l (''+(Get-Location)+'\.github\workflows\build_osgeo4w.sh') (Get-Location)
shell: msys2 {0}
run: .github/workflows/build_osgeo4w.sh

- name: Test executing of the grass command
run: .github/workflows/test_simple.bat 'C:\OSGeo4W\opt\grass\grass84.bat'

- name: Test executing of the grass command in bash
run: D:\msys64\usr\bin\bash.exe .github/workflows/test_simple.sh
shell: msys2 {0}
run: .github/workflows/test_simple.sh

- name: Run tests
run: .github/workflows/test_thorough.bat 'C:\OSGeo4W\opt\grass\grass84.bat' 'C:\OSGeo4W\bin\python3'

- name: Make HTML test report available
if: ${{ always() }}
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: testreport-${{ matrix.os }}
path: testreport
retention-days: 3
10 changes: 6 additions & 4 deletions .github/workflows/print_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

# Print versions, esp. versions of dependencies.

# fail on non-zero return code from a subprocess
set -e
python --version
python3 --version

# We use Git during build.
git --version

# This will fail if the build failed.
grass --version
grass --tmp-location XY --exec g.version -e
# Detailed Python version info (in one line thanks to echo)
grass --tmp-location XY --exec bash -c "echo Python: \$(\$GRASS_PYTHON -c 'import sys; print(sys.version)')"
python3 --version
python --version
3 changes: 1 addition & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:

jobs:
pytest:
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \
sudo apt-get install -y --no-install-recommends --no-install-suggests
- uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1
- uses: rui314/setup-mold@8de9eea54963d01c1a6c200606257d65bd53bea1 # v1

- name: Install Python dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
include:
- os: ubuntu-22.04
python-version: "3.10"
min-python-version: "3.7"
min-python-version: "3.8"
black-version: "24.4.0"
flake8-version: "3.9.2"
pylint-version: "2.12.2"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
path: bandit.sarif

- name: Upload SARIF File into Security Tab
uses: github/codeql-action/upload-sarif@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4
uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
with:
sarif_file: bandit.sarif

Expand All @@ -117,7 +117,7 @@ jobs:
run: |
echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
- uses: rui314/setup-mold@6bebc01caac32fb5251ee64f60cea0322d0e6574 # v1
- uses: rui314/setup-mold@8de9eea54963d01c1a6c200606257d65bd53bea1 # v1
- name: Build
run: .github/workflows/build_${{ matrix.os }}.sh $HOME/install

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
- '*'

jobs:
ubuntu:
Expand Down
40 changes: 40 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,11 +1,46 @@
<<<<<<< HEAD
<<<<<<< HEAD
=======
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
CHANGES in GRASS GIS 8.x
=======
CHANGES in GRASS GIS 8.x compared to GRASS GIS 7.x
=======
CHANGES in GRASS GIS 8.x compared to GRASS GIS 7.x

Efforts have concentrated on making the user experience even better,
providing many new useful additional functionalities to modules and
further improving the graphical user interface. The new graphical user
interface with entirely rewritten startup sequence.

https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures80
>>>>>>> 227cbcebbf (Programmer's manual: update GRASS GIS arch drawing (#1610))

Efforts have concentrated on making the user experience even better,
providing many new useful additional functionalities to modules and
further improving the graphical user interface. The new graphical user
interface with entirely rewritten startup sequence.

https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures80
>>>>>>> 73a1a8ce38 (Programmer's manual: update GRASS GIS arch drawing (#1610))

https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures80
https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures82

List of releases:

=======
>>>>>>> osgeo-main
CHANGES in GRASS GIS 8.x

https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures80
https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures82

List of releases:

<<<<<<< HEAD
=======
<<<<<<< HEAD
<<<<<<< HEAD
Expand Down Expand Up @@ -46,6 +81,8 @@ https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures82

List of releases:

=======
>>>>>>> osgeo-main
>>>>>>> 6cf60c76a4 (wxpyimgview: explicit conversion to int (#2704))
=======
CHANGES in GRASS GIS 8.x
Expand All @@ -56,6 +93,9 @@ https://trac.osgeo.org/grass/wiki/Grass8/NewFeatures82
List of releases:

>>>>>>> 8422103f4c (wxpyimgview: explicit conversion to int (#2704))
<<<<<<< HEAD
>>>>>>> osgeo-main
=======
>>>>>>> osgeo-main
- GitHub list: https://github.com/OSGeo/grass/releases
- Overview list: https://trac.osgeo.org/grass/wiki/Release
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ It assumes that you have some very basic knowledge of Git and GitHub,
but if you don't just go through some tutorial online or ask on the
GRASS GIS developer mailing list.

To contribute effectively, please familiarize yourself with our
[Programming Style Guide](./doc/development/style_guide.md).

### First time setup

* Create an account on GitHub.
Expand Down Expand Up @@ -119,8 +122,11 @@ git checkout -b new-feature

You can use your favorite tools to change source code or other files
<<<<<<< HEAD
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
>>>>>>> osgeo-main
<<<<<<< HEAD
in the local copy of the code. When making changes, please follow the
[Submitting Guidelines](./doc/development/submitting/submitting.md).
Expand Down Expand Up @@ -148,6 +154,9 @@ to your code.
=======
=======
>>>>>>> 8422103f4c (wxpyimgview: explicit conversion to int (#2704))
<<<<<<< HEAD
>>>>>>> osgeo-main
=======
>>>>>>> osgeo-main
in the local copy of the code. When making changes, please follow
Submitting Guidelines at
Expand Down Expand Up @@ -195,6 +204,7 @@ Note that there are some steps you can do locally to improve your code.
For Python, run `black .` to apply standardized formatting. You can
also run linter tools such as Pylint which will suggest different improvements
to your code.
<<<<<<< HEAD

### Testing changes

Expand All @@ -216,6 +226,8 @@ Note that there are some steps you can do locally to improve your code.
For Python, run `black .` to apply standardized formatting. You can
also run linter tools such as Pylint which will suggest different improvements
to your code.
=======
>>>>>>> osgeo-main
### Committing

Expand Down
Loading

0 comments on commit cb37dc3

Please sign in to comment.