Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image group dict #10

Open
wants to merge 774 commits into
base: main
Choose a base branch
from
Open

Image group dict #10

wants to merge 774 commits into from

Conversation

ninsbl
Copy link
Owner

@ninsbl ninsbl commented May 31, 2024

PR to run tests in my fork...

echoix and others added 30 commits May 20, 2024 19:57
* d.mon: Delegate rendering to wx monitors

* Allow non-rendering modules to run

* Do not touch a map file for non-rendering modules; also delete it if created by display driver; they are all blank

* Force render for d.redraw
* handle SQLite < 3.33

* fix semantic_label update
)

* CI: Update renovate.json to manually enable semantic commits
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Deduplication using

```
MYLANG=de
cd locale/po/
mv grasswxpy_${MYLANG}.po grasswxpy_${MYLANG}.po.BAD
msguniq --use-first grasswxpy_${MYLANG}.po.BAD > grasswxpy_${MYLANG}.po
rm -f grasswxpy_${MYLANG}.po.BAD
```

Fixes OSGeo#3731
As a part of OSGeo#3019, JSON format support will be added
to multiple modules. By default, modules output in existing plain format. If the format=json option
is provided, modules will output in JSON format instead. To avoid duplication of code across several
modules, define a standard parser option.


---------

Co-authored-by: Nicklas Larsson <n_larsson@yahoo.com>
Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
…#3688)

Importing _grass.pygrass.modules_ required the list to be loaded because the _shortcuts_ module is loaded by the _modules_ module. Now the list is loaded only when the _dir_ function is called for the first time.

This is using the technique from grass init file for lazy loading translations.

This allows grass.pygrass.modules to be imported without an active session, so this simplifies the GridModule tests (and its imports in general).
* CI: Print more version information including all flags of g.version

* CI(macOS): Always print versions, even on failures

* CI(OSGeo4W): Print versions after build

* Apply suggestions from code review

---------

Co-authored-by: Nicklas Larsson <n_larsson@yahoo.com>
Add gettext message deduplication to `make update-po` step.

Fixes OSGeo#3465
Use more straightforward messages for moving and copying layers in the Data Catalog.
* Translated using Weblate (French)

Currently translated at 20.9% (2845 of 13590 strings)

Translation: GRASS GIS/grassmods
Translate-URL: https://weblate.osgeo.org/projects/grass-gis/grassmods/fr/

* Translated using Weblate (French)

Currently translated at 89.6% (3831 of 4273 strings)

Translation: GRASS GIS/grasswxpy
Translate-URL: https://weblate.osgeo.org/projects/grass-gis/grasswxpy/fr/

* Translated using Weblate (French)

Currently translated at 20.9% (2850 of 13590 strings)

Translation: GRASS GIS/grassmods
Translate-URL: https://weblate.osgeo.org/projects/grass-gis/grassmods/fr/

* Translated using Weblate (French)

Currently translated at 89.6% (3832 of 4273 strings)

Translation: GRASS GIS/grasswxpy
Translate-URL: https://weblate.osgeo.org/projects/grass-gis/grasswxpy/fr/

* Translated using Weblate (French)

Currently translated at 21.0% (2857 of 13590 strings)

Translation: GRASS GIS/grassmods
Translate-URL: https://weblate.osgeo.org/projects/grass-gis/grassmods/fr/

---------

Co-authored-by: Edouard Choinière <echoix@users.noreply.weblate.osgeo.org>
* manual: update broken URLs

Replace www4.ncsu.edu with fatra.cnr.ncsu.edu.

* fix broken umlauts
echoix and others added 30 commits July 10, 2024 23:04
Co-authored-by: Markus Neteler <markus@neteler.org>
* style: Fix repeated-equality-comparison (PLR1714)
* style: Fix literal-membership (PLR6201)
* style: Fix reimplemented-starmap (FURB140)

Ruff rule: https://docs.astral.sh/ruff/rules/reimplemented-starmap/

* style: Fix delete-full-slice (FURB131)

Ruff rule: https://docs.astral.sh/ruff/rules/delete-full-slice/

* style: Fix unnecessary-enumerate (FURB148)

Ruff rule: https://docs.astral.sh/ruff/rules/unnecessary-enumerate

* style: Fix for-loop-set-mutations (FURB142)

Ruff rule: https://docs.astral.sh/ruff/rules/for-loop-set-mutations

* style: Fix single-item-membership-test (FURB171)

Ruff rule: https://docs.astral.sh/ruff/rules/single-item-membership-test
…SGeo#4047)

* style: Fix read-whole-file (FURB101)

Ruff rule: https://docs.astral.sh/ruff/rules/read-whole-file/

* style: Extract repeated config_directory variable in generate_release_notes

* style: Fix write-whole-file (FURB103)

Ruff rule: https://docs.astral.sh/ruff/rules/write-whole-file/
* style: Fix math-constant (FURB152)
Ruff rule: https://docs.astral.sh/ruff/rules/math-constant/

* style: Fix math-constant (FURB152) in lib/imagery/testsuite/test_imagery_sigsetfile.py

* style: Fix math-constant (FURB152)
Ruff rule: https://docs.astral.sh/ruff/rules/math-constant/

* Revert "style: Fix math-constant (FURB152) in lib/imagery/testsuite/test_imagery_sigsetfile.py"

* style: Ignore math-constant (FURB152) in lib/imagery/testsuite/test_imagery_sigsetfile.py
* CI: Configure Renovate update groups

* CI: Use Renovate preset "group:githubArtifactActions" instead
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fix the last cases of ruff rules:

* NPY001

* NPY002
* style: Fix collapsible-else-if (PLR5501)

Ruff rule: https://docs.astral.sh/ruff/rules/collapsible-else-if/

* style: Fix collapsible-else-if (PLR5501)

Ruff rule: https://docs.astral.sh/ruff/rules/collapsible-else-if/

* style: Fix collapsible-else-if (PLR5501)

Ruff rule: https://docs.astral.sh/ruff/rules/collapsible-else-if/

* Apply suggestions from code review

Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>

* style: Combine if conditions in wxpython/gmodeler/model.py

* style: Simplify if conditions in wxpython/gui_core

---------

Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet