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

Refactoring & dependency updates #17

Merged
merged 209 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
9bbfd6b
ps.map: Initialize variable before using it in conditional (#4286)
ymdatta Sep 7, 2024
102bc38
checks: Flake8 F841 fixes in the scripts directory part 2 (#4241)
mshukuno Sep 7, 2024
39e1e11
CI(deps): Update alpine:3.20 Docker digest to beefdbd (#4287)
renovate[bot] Sep 7, 2024
83ee146
grass.app: Move ISIS integration to the library (#4169)
wenzeslaus Sep 7, 2024
98e3fe1
r.out.png: reset file pointer to NULL after fclose (#4220)
ymdatta Sep 7, 2024
d7f4977
grass.temporal.stds_export: Use pathlib Path.read_text and Path.write…
echoix Sep 8, 2024
57cb4d9
checks: flake8 F841 (local variable assigned to but never used) fixes…
mshukuno Sep 9, 2024
7c6c12b
v.external: Check for valid list before passing to qsort (#4280)
ymdatta Sep 9, 2024
b1c8d10
wxGUI/gmodeler: dialogs code refactoring (#3816)
pesekon2 Sep 9, 2024
cc2797c
r.univar: fix MASK check with nprocs > 1 (#4297)
petrasovaa Sep 9, 2024
258752c
CI(deps): Update DeterminateSystems/nix-installer-action action to v1…
renovate[bot] Sep 9, 2024
b9c19ab
CI(deps): Update ruff to v0.6.4 (#4279)
renovate[bot] Sep 9, 2024
85efe79
v.out.ogr: Check for valid array before passing to qsort (#4278)
ymdatta Sep 9, 2024
997624b
r.proj: Create unit tests (#4225)
cyliang368 Sep 10, 2024
a85c7b0
v.vol.rst: Initialize structure contents before passing it around (#4…
ymdatta Sep 10, 2024
76507cc
v.generalize: Initialize all of structure contents before using it (#…
ymdatta Sep 10, 2024
adcdf28
t.rast.accumulate: remove printing (#4301)
petrasovaa Sep 10, 2024
e4fdf90
CI: Resolve flake8 issues in utils directory (#4303)
arohanajit Sep 11, 2024
569c730
CI(deps): Update docker/dockerfile Docker tag to v1.10 (#4305)
renovate[bot] Sep 11, 2024
5719ba6
CI: Update .flake8 configuration and fix flake8 errors in lib/init/gr…
arohanajit Sep 12, 2024
dda0fb2
lib/db: Fix copy into fixed size buffer issue in SQLite driver (#4255)
ShubhamDesai Sep 12, 2024
4d5184d
CI(deps): Update peter-evans/create-pull-request action to v7.0.2 (#4…
renovate[bot] Sep 12, 2024
5de8682
GUI: fix ColumnSorterMixin regression (#4310)
rohannallamadge Sep 12, 2024
8c23c2e
Checks: flake8 F841 (local variable assigned to but never used) fixes…
mshukuno Sep 12, 2024
b7bcd06
CI: Fix Flake8 linter errors in man/ directory (#4292)
arohanajit Sep 12, 2024
9aeabc1
contributing: update style guide for C (#4312)
petrasovaa Sep 12, 2024
d77f457
ps.map: Fix copy into fixed size buffer issue in do_scalebar.c (#4307)
ShubhamDesai Sep 12, 2024
2c1df9f
GUI: gmodeler fix adding tool (#4309)
landam Sep 13, 2024
cd5f1bd
lib/gis: Add portable G_strlcat function (#4304)
nilason Sep 13, 2024
7dbb49b
CI(deps): Update github/codeql-action action to v3.26.7 (#4314)
renovate[bot] Sep 13, 2024
d2f3477
lib: Accept more newline styles in G_getl (#3853)
wenzeslaus Sep 13, 2024
95da3ef
style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003) (…
echoix Sep 14, 2024
1a89301
v.in.dwg: Avoid using same variable as parameter and destination in s…
ymdatta Sep 15, 2024
213f024
CI(macOS): Use micromamba-shell for steps to load PATH changes (#4325)
echoix Sep 16, 2024
63a80f5
lib/linkm: Change non-returning internal function types to void (#4318)
ymdatta Sep 16, 2024
d0f1634
CI(OSGeo4W): Add -pipe to CFLAGS and CXXFLAGS to reduce build time (#…
echoix Sep 16, 2024
3dbe2d7
CI(deps): Update peter-evans/create-pull-request action to v7.0.3 (#4…
renovate[bot] Sep 16, 2024
560340a
CI(deps): Update ruff to v0.6.5 (#4315)
renovate[bot] Sep 16, 2024
d7c126f
docs: add README.md to doc/development/rfc/ (#4316)
neteler Sep 16, 2024
7c27080
r.clump: Fix unchecked return value from lseek (#4151)
ShubhamDesai Sep 16, 2024
fdcd8d8
v.to.3d: Fix Resource Leak Issue in trans2.c (#4320)
ShubhamDesai Sep 16, 2024
c840f3c
r.viewshed: initialize struct member before using struct (#4232)
ymdatta Sep 16, 2024
95c123d
i.rectify: Fix copy into fixed size buffer issue in main.c of i.recti…
ShubhamDesai Sep 16, 2024
826ab62
i.segment: Move unused variable value into a code comment (#4153)
ShubhamDesai Sep 17, 2024
a0486dd
CI(deps): Update ubuntu:22.04 Docker digest to 58b8789 (#4331)
renovate[bot] Sep 17, 2024
083fc21
style: Enable checking for SIM115 adding exclusions for existing issu…
echoix Sep 17, 2024
df714ec
docs: update and cleanup of infrastructure.md (#4294)
neteler Sep 17, 2024
a816dc1
docs: update Programmer's Manual's GIS lib (string) section (#4333)
nilason Sep 17, 2024
5d6a2e8
t.rast.univar: Use pathlib Path.read_text to open test outputs in t.r…
echoix Sep 17, 2024
5e47e41
docs: update outdated trac URLs to GitHub (#4317)
neteler Sep 17, 2024
3bc6e95
grass.temporal.abstract_space_time_dataset: Use Path.read_text() to l…
echoix Sep 17, 2024
da15442
lib/gis: match prototype with declaration for G_strlcat and G_strlcpy…
nilason Sep 18, 2024
9420d00
grass.gunittest: Fix parsing exclusion from config file on Windows (#…
echoix Sep 18, 2024
0536351
checks: Flake8 F841 fixes in the wxpython directory part 1 (#4244)
mshukuno Sep 18, 2024
4f8f676
checks: Flake8 F841 fixes in the wxpython directory part 3 (#4261)
mshukuno Sep 18, 2024
dc27b28
grass.gunittest: Fix SIM115 using context managers to open files (#4338)
echoix Sep 18, 2024
b69cacf
CI(deps): Update peter-evans/create-pull-request action to v7.0.5 (#4…
renovate[bot] Sep 19, 2024
05584c1
CI(OSGeo4W): Update min-success to 86% for gunittest on Windows (#4341)
echoix Sep 19, 2024
7dc46cd
v.in.dwg: Retire v.in.dwg infavor of v.in.redwg (#4329)
ymdatta Sep 19, 2024
a536bd4
d.mon: Fix unbounded source buffer (#4260)
ShubhamDesai Sep 19, 2024
d5bb442
lib/gmath: use C interface to BLAS and LAPACK libraries (#4247)
nilason Sep 19, 2024
89cfc52
docs: move Programmer's manual creation to INSTALL.md (#4336)
neteler Sep 19, 2024
a94c3b0
configure: fix default variable name for blas and lapack (#4343)
nilason Sep 19, 2024
5fd45e4
CI(deps): Update github/codeql-action action to v3.26.8 (#4344)
renovate[bot] Sep 19, 2024
333d8e6
v.cluster: Fix unused value assignment (#4094)
ShubhamDesai Sep 19, 2024
6607e1c
CI(macOS): Cache micromamba environment on same week (#4342)
echoix Sep 19, 2024
51f865b
style: Bump Black's target Python versions for Python 3.9 minimum (#4…
echoix Sep 19, 2024
75458f8
style: Call `startswith` or `endswith` once with a `tuple` (PIE810) (…
echoix Sep 19, 2024
4bb3156
wxGUI/history: fix the run of a special cmds only once (#4322)
tmszi Sep 20, 2024
64deef2
CI(deps): Update ruff to v0.6.6 (#4350)
renovate[bot] Sep 20, 2024
6bc69e3
CI(OSGeo4W): Use setup-OSGeo4W action to parametrize install options …
echoix Sep 20, 2024
bf41fc7
lib/gmath: rename ATLAS_wrapper to CBLAS_wrapper (#4351)
nilason Sep 20, 2024
c4424ab
lib/gmath: properly guard BLAS and LAPACK dependent code (#4346)
nilason Sep 20, 2024
2356520
doc: Fix most Flake8 issues in example files (#4353)
arohanajit Sep 21, 2024
d89ad9e
g.proj: Fix copy into fixed size buffer issue in input.c file (#4359)
ShubhamDesai Sep 21, 2024
93781e5
CI(deps): Update ruff to v0.6.7 (#4360)
renovate[bot] Sep 21, 2024
5aed1a6
tests: Re-enable passing tests from .gunittest.cfg exclusion list (#4…
echoix Sep 21, 2024
0c1e79b
checks: Move imports to the top in wxGUI/core (#4357)
arohanajit Sep 21, 2024
7b4a240
tests: Add `xfail_windows` decorator for failing tests on Windows (#4…
echoix Sep 22, 2024
6d046ec
grass.temporal: fix regression in printing metadata (#4328)
petrasovaa Sep 22, 2024
bd39db7
grass.temporal: Remove expected failures for tests fixed by #4328 (#4…
echoix Sep 22, 2024
6325a18
CI(OSGeo4W): Run pytest tests on Windows (#4366)
echoix Sep 23, 2024
c32dd52
checks: Replace bare except (Flake8 E722) in po stats script (#4354)
arohanajit Sep 23, 2024
25afbfb
g.version: Add tests covering different outputs (#4219)
ShubhamDesai Sep 23, 2024
9e8874c
ps.map: Fix memory leak issue (#4369)
ShubhamDesai Sep 23, 2024
b35b1c3
CI(deps): Lock file maintenance (#4365)
renovate[bot] Sep 23, 2024
c266f46
CI(deps): Update dependency bandit to v1.7.10 (#4370)
renovate[bot] Sep 23, 2024
c593eb0
docker: Add liblapacke-dev package to Ubuntu builds (#4371)
echoix Sep 24, 2024
16de4d3
grass.jupyter: Fix session tests on Windows (#4368)
echoix Sep 24, 2024
04cc9ea
checks: Replace bare except (Flake8 E722) in wxGUI/core (#4367)
arohanajit Sep 24, 2024
ac66448
CI(deps): Update pre-commit hook igorshubovych/markdownlint-cli to v0…
renovate[bot] Sep 24, 2024
234209a
CI(deps): Update github/codeql-action action to v3.26.9 (#4380)
renovate[bot] Sep 24, 2024
8c671ca
docker: Sort package lists and configure options in Dockerfiles (#4373)
echoix Sep 24, 2024
d99d840
grass.jupyter: fix interactivemap tests (#4379)
petrasovaa Sep 25, 2024
45a0486
grass.app: Move mapset locking to the library (#4158)
wenzeslaus Sep 25, 2024
68c7245
CI(deps): Update alpine:3.20 Docker digest to e72ad07 (#4381)
renovate[bot] Sep 25, 2024
0f75c27
CI(deps): Update alpine:3.20 Docker digest to beefdbd (#4384)
renovate[bot] Sep 25, 2024
8261363
grass.jupyter: move save() to BaseSeriesMap class to reduce redundanc…
petrasovaa Sep 25, 2024
7c651c3
wxGUI/datacatalog: Replace lambda expression with named Function to f…
arohanajit Sep 25, 2024
09c629d
CI(deps): Update actions/checkout action to v4.2.0 (#4387)
renovate[bot] Sep 25, 2024
2098577
v.vol.rst: Fix resource leak issue in user1.c file (#4389)
ShubhamDesai Sep 26, 2024
845dfd0
wxGUI: Refactored try-except block to be more robust in dialogs.py (#…
arohanajit Sep 26, 2024
b835f4d
wxGUI: Fixed E266 - extra '#' for comments in gui_core/ (#4393)
arohanajit Sep 26, 2024
549ea90
r3.in.v5d: Fix unchecked return value from lseek (#4141)
ShubhamDesai Sep 26, 2024
edea810
wxGUI: Fix E722 Warnings by Specifying Exception Types in dbmgr/ (#4382)
arohanajit Sep 26, 2024
c502c1c
checks: Fix E402 Flake8 in for wxGUI Sphinx doc (#4391)
arohanajit Sep 26, 2024
e4c87ec
CI(deps): Update ruff to v0.6.8 (#4394)
renovate[bot] Sep 26, 2024
bcb2938
CI(deps): Update docker/build-push-action action to v6.8.0 (#4398)
renovate[bot] Sep 27, 2024
7f05bb3
style: Remove misleading author info from wxGUI photo and image code …
wenzeslaus Sep 28, 2024
4f689fe
docs: fixed E265 from image2target/ (#4399)
arohanajit Sep 28, 2024
fee26ec
g.gui.iclass: Add explanation of expected format for vector layers (…
dhdeangelis Sep 28, 2024
49f67fd
style: Fix negate-equal-op (SIM201) (#4407)
echoix Sep 28, 2024
5eca6d6
style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib…
echoix Sep 28, 2024
ead659f
style: Fix os-getcwd (PTH109) by replacing `os.getcwd()` calls with `…
echoix Sep 28, 2024
70f3599
style: Fix if-with-same-arms (SIM114) (#4406)
echoix Sep 28, 2024
ae5e4dd
style: Fix duplicate-isinstance-call (SIM101) (#4405)
echoix Sep 28, 2024
0ea5e37
style: Fix reimplemented-operator (FURB118) (#4408)
echoix Sep 28, 2024
16c87b1
lib/shapelib: sync upstream with shapelib 1.6.0 and GDAL 3.9.2 (#4395)
nilason Sep 29, 2024
e82663c
style: Use `any` or `all` instead of `for` loop (SIM110) (#4404)
echoix Sep 29, 2024
108e5e4
raster: Add library function to ask for mask presence (#4402)
wenzeslaus Sep 30, 2024
808acd3
CI(deps): Update docker/build-push-action action to v6.9.0 (#4420)
renovate[bot] Sep 30, 2024
e02b921
CI(deps): Update github/codeql-action action to v3.26.10 (#4419)
renovate[bot] Sep 30, 2024
33d0d15
v.transform: Fix Copy into fix Buffer size issue (#4415)
ShubhamDesai Sep 30, 2024
480e050
style: Fix redundant-open-modes (UP015) (#4410)
echoix Sep 30, 2024
afbc3ae
CI(deps): Lock file maintenance (#4416)
renovate[bot] Sep 30, 2024
e427da0
wxGUI: Fixed flake8 E722: bare 'except' in wxpython/gcp/ (#4392)
arohanajit Sep 30, 2024
3e53e34
wxGUI: Fixed F841 in ii2t_manager.py (#4418)
arohanajit Oct 1, 2024
25619dd
wxGUI: Fix E722 do not use bare 'except' warnings in `gui_core/` (#4396)
arohanajit Oct 1, 2024
6382949
v.generalize: Fix Resource Leak issue in displacement.c (#4422)
ShubhamDesai Oct 1, 2024
13cda73
wxGUI: Fixed unused 'wizard' variable - F841 in image2target/ (#4400)
arohanajit Oct 1, 2024
ed10037
tests: fix tests that were actually not testing anything (#4349)
petrasovaa Oct 1, 2024
e9768eb
CI(deps): Update codecov/codecov-action action to v4.6.0 (#4425)
renovate[bot] Oct 1, 2024
3f61cd7
wxGUI: Fixed E722 in ii2t_gis_set.py (#4417)
arohanajit Oct 1, 2024
61407f0
wxGUI: Fixed E722: bare 'except' in iscatt/ (#4427)
arohanajit Oct 2, 2024
fa30424
CI(deps): Update mamba-org/setup-micromamba action to v1.10.0 (#4429)
renovate[bot] Oct 2, 2024
1b639db
wxGUI: Fix F405 error by explicitly importing required modules in isc…
arohanajit Oct 2, 2024
f0a997c
wxGUI: FIxed F841 is iscatt/core_c.py (#4430)
arohanajit Oct 2, 2024
aa1c32a
wxGUI: Fixed F841 in dialogs.py, frame.py (#4431)
arohanajit Oct 3, 2024
a4d3cea
v.colors: Fix resource leak issue in scan_attr.c file (#4423)
ShubhamDesai Oct 3, 2024
617828d
r.fill.dir: Fix unchecked return value in filldir.c (#4433)
ShubhamDesai Oct 3, 2024
4bec714
r.thin: Fix unchecked return value in io.c (#4434)
ShubhamDesai Oct 3, 2024
de8a6fd
CI(deps): Update rui314/setup-mold digest to c49f92e (#4435)
renovate[bot] Oct 3, 2024
d7c79a8
CI(deps): Update docker/setup-buildx-action action to v3.7.0 (#4436)
renovate[bot] Oct 3, 2024
7b73900
CI(deps): Update mamba-org/setup-micromamba action to v1.11.0 (#4437)
renovate[bot] Oct 3, 2024
d4e46dc
CI(deps): Update docker/setup-buildx-action action to v3.7.1 (#4448)
renovate[bot] Oct 4, 2024
a96c073
CI(deps): Update rui314/setup-mold digest to b015f7e (#4447)
renovate[bot] Oct 4, 2024
a186638
CI(deps): Update github/codeql-action action to v3.26.11 (#4442)
renovate[bot] Oct 4, 2024
359a62b
CI(deps): Update mamba-org/setup-micromamba action to v2 (#4438)
renovate[bot] Oct 4, 2024
7f81c6d
wxGUI: Fixed F841 in iscatt/ (#4432)
arohanajit Oct 4, 2024
60f7135
CI(deps): Update ruff to v0.6.9 (#4449)
renovate[bot] Oct 4, 2024
1e86629
style: Fix invalid-escape-sequence (W605) (#4409)
echoix Oct 4, 2024
eebf369
wxGUI: Fixed F841 and E266 in lmgr/ (#4439)
arohanajit Oct 4, 2024
a16a02f
i.atcorr: update man page to fix numbering of AVIRIS bands and make s…
YannChemin Oct 4, 2024
093411b
style: Fix all remaining `PT` flake8-pytest-style issues (#4452)
echoix Oct 5, 2024
5281602
style: Fix unnecessary-list-comprehension-dict (C404) (#4454)
echoix Oct 5, 2024
209739a
style: Fix unnecessary-range-start (PIE808) (#4455)
echoix Oct 5, 2024
cd9e0a4
style: Fix unnecessary-comprehension (C416) (#4453)
echoix Oct 5, 2024
6596d49
CI(deps): Update pre-commit hook pre-commit/pre-commit-hooks to v5 (#…
renovate[bot] Oct 5, 2024
3932773
lib/lidar: Fix resource leak issue in raster.c (#4458)
ShubhamDesai Oct 7, 2024
aa0b497
v.reclass: Fix Resource Leak issue in reclass.c (#4457)
ShubhamDesai Oct 7, 2024
b5c4a27
v.rectify: Fix Copy into fix Buffer size issue (#4463)
ShubhamDesai Oct 7, 2024
de39e1c
style: Fix unnecessary-paren-on-raise-exception (RSE102) (#4456)
echoix Oct 7, 2024
703d9f8
style: Fix superfluous-else-return (RET505) (#4459)
echoix Oct 7, 2024
5e5f30e
CI(deps): Lock file maintenance (#4465)
renovate[bot] Oct 7, 2024
56ba44c
CI(deps): Update actions/upload-artifact action to v4.4.1 (#4466)
renovate[bot] Oct 7, 2024
368f0eb
v.to.db: Fix resource Leak issue in update.c (#4461)
ShubhamDesai Oct 7, 2024
573d54a
ps.map: Fix Resource Leak issue in ps_vareas.c (#4464)
ShubhamDesai Oct 7, 2024
3f6a6e4
CI(deps): Update actions/checkout action to v4.2.1 (#4468)
renovate[bot] Oct 7, 2024
3ce2a0f
CI(deps): Update github/codeql-action action to v3.26.12 (#4469)
renovate[bot] Oct 7, 2024
b418733
CI(deps): Update black to v24.10.0 (#4473)
renovate[bot] Oct 7, 2024
498676c
CI(deps): Update actions/upload-artifact action to v4.4.2 (#4477)
renovate[bot] Oct 9, 2024
cbe2b9e
wxGUI: Fixed E722 in frame.py (#4440)
arohanajit Oct 10, 2024
400b0df
docs: minor fixes to g.gisenv, i.atcorr, v.centroids, v.overlay, v.ty…
neteler Oct 10, 2024
3a95b7a
raster/raster3d: Initialize Cell_head structure contents before use
ymdatta Oct 11, 2024
b9a6b68
doc: Use lowercase for 2D raster mask (#4401)
wenzeslaus Oct 11, 2024
2e0a8fa
tools: FIxed unused variable in imagery/ (#4487)
arohanajit Oct 11, 2024
21606ad
doc: Ignore F401 in dialogs.py (#4488)
arohanajit Oct 11, 2024
426bf74
checks: update .flake8 to reflect correct status in image2target (#4489)
arohanajit Oct 11, 2024
cbc3ff4
wxGUI: FIxed F841 in colorrules.py (#4490)
arohanajit Oct 11, 2024
1d42e58
r.mask.status: Check mask status through a tool and function (#2390)
wenzeslaus Oct 11, 2024
0feea31
i.ortho.photo: Fix Resource Leak in find_init.c (#4388)
ShubhamDesai Oct 12, 2024
9df8433
lib/vector/Vlib: Fix copy into buffer size issue in color_read.c (#4462)
ShubhamDesai Oct 12, 2024
4cf93d2
checks: Remove extra semicolons in r.terraflow (#4494)
wenzeslaus Oct 12, 2024
71066f4
CI(deps): Update actions/upload-artifact action to v4.4.3 (#4481)
renovate[bot] Oct 12, 2024
542f3b4
v.colors: Fix Resource Leak issue in read_rgb.c (#4497)
ShubhamDesai Oct 12, 2024
779af80
v.to.db: Fix Resource Leak issue in areas.c (#4498)
ShubhamDesai Oct 12, 2024
03675b0
d.vect: Fix Resource Leak issue in attr.c (#4496)
ShubhamDesai Oct 12, 2024
3c4aa6d
CI(deps): Lock file maintenance (#4509)
renovate[bot] Oct 14, 2024
cb7cbab
CI(deps): Lock file maintenance (#4510)
renovate[bot] Oct 14, 2024
ed02be5
ps.map: initialize variable contents before using them in get_ll_boun…
ymdatta Oct 14, 2024
b5289ee
r.carve: Fix resource leak issue in enforce_ds.c (#4505)
ShubhamDesai Oct 14, 2024
e139a4c
gui: Solve a recursion error in gui/wxpython/lmgr/giface.py (#4514)
echoix Oct 14, 2024
61b380f
r.mask.status: fix null pointer dereference and false positive string…
nilason Oct 14, 2024
761d98a
style: Ignore deprecated PT004 rule (#4520)
echoix Oct 14, 2024
3a9059b
pytest: Collect code coverage in multiple workers too (#4451)
echoix Oct 14, 2024
a98691f
v.net.timetable: Fix Resource Leak issue in main.c (#4508)
ShubhamDesai Oct 14, 2024
f241532
v.kernel: Fix resource Leak issue in main.c (#4506)
ShubhamDesai Oct 15, 2024
c5c5ec5
lib/vector/Vlib: Fix Resource leak issue in geos.c (#4507)
ShubhamDesai Oct 15, 2024
15c5737
CI(deps): Update github/codeql-action action to v3.26.13 (#4518)
renovate[bot] Oct 15, 2024
ca171b7
tests: enable use of md5 bin for checksum in raster_md5test.sh (#4527)
nilason Oct 15, 2024
f7d2ecf
lib/vector/Vlib: always write out topo files in update mode (#3459)
metzm Oct 15, 2024
c0c5380
r.sim.water: fix logfile writing (#4522)
petrasovaa Oct 15, 2024
f22c9a2
doc: Use lowercase for 2D raster mask and other masks (#4495)
wenzeslaus Oct 15, 2024
ec2bc8a
r3.in.v5d: Prevent integer overflow by changing literal constant type…
ymdatta Oct 15, 2024
1adbd2c
CI: Assign milestone on merged PRs (#4414)
echoix Oct 15, 2024
9a79aa4
tests: Revise content of the root testsuite dir (#4516)
wenzeslaus Oct 15, 2024
bc9cb2a
doc: Use lowercase for mask (#4529)
wenzeslaus Oct 15, 2024
2415894
r.in.gridatb: check if opening of file succeeds (#4532)
ShubhamDesai Oct 16, 2024
362bee3
grass.script: Fixed E722 in v.what.shrds/ (#4530)
arohanajit Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ omit =
${INITIAL_PWD-.}/.github/*
${INITIAL_PWD-.}/bin.*/*
${INITIAL_PWD-.}/dist.*/*
**/gui/wxpython/*/**
**/OBJ.*/*
source =
.
Expand Down
78 changes: 10 additions & 68 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,10 @@ per-file-ignores =
# F841 local variable assigned to but never used
# E741 ambiguous variable name 'l'
__init__.py: F401, F403
lib/init/grass.py: E722, F821, F841
utils/gitlog2changelog.py: E722, E712
man/build_check_rest.py: F403, F405
man/build_full_index_rest.py: F403, F405
man/parser_standard_options.py: F403, F405
man/build_class.py: F403, F405
man/build_class_rest.py: F403, F405
man/build_check.py: F403, F405
man/build_full_index.py: F403, F405
man/build_index.py: F403, F405
man/build_index_rest.py: F403, F405
man/build_keywords.py: F403, F405, E722
man/build_topics.py: F403, F405, E722
man/build_html.py: E501
imagery/i.atcorr/create_iwave.py: F632, F821, W293
doc/python/raster_example_ctypes.py: F403, F405
doc/python/vector_example_ctypes.py: F403, F405
doc/python/m.distance.py: F403, F405, E501
doc/gui/wxpython/example/dialogs.py: F401
locale/grass_po_stats.py: E122, E128, E231, E401, E722
doc/python/m.distance.py: E501
gui/scripts/d.wms.py: E501
gui/wxpython/core/gcmd.py: E402
gui/wxpython/core/gthread.py: F841
gui/wxpython/core/gconsole.py: E722
gui/wxpython/core/toolboxes.py: E722
gui/wxpython/core/utils.py: E722, F841
gui/wxpython/core/workspace.py: E722
gui/wxpython/core/render.py: E722, F841
gui/wxpython/core/ws.py: F841
gui/wxpython/core/settings.py: E722
gui/wxpython/core/watchdog.py: E402
gui/wxpython/datacatalog/tree.py: E731, E402
gui/wxpython/dbmgr/base.py: E722
gui/wxpython/dbmgr/dialogs.py: E722
gui/wxpython/dbmgr/sqlbuilder.py: E722
gui/wxpython/dbmgr/manager.py: E722
gui/wxpython/docs/wxgui_sphinx/conf.py: E402, W291
gui/wxpython/gcp/g.gui.gcp.py: F841
gui/wxpython/gcp/manager.py: F841, E722
gui/wxpython/gcp/mapdisplay.py: F841
gui/wxpython/gui_core/*: F841, E266, E722
gui/wxpython/gui_core/dialogs.py: E722, F841
gui/wxpython/gui_core/forms.py: E722, F841
gui/wxpython/gui_core/ghelp.py: E722
gui/wxpython/gui_core/gselect.py: F841, E266, E722
gui/wxpython/gui_core/preferences.py: E266, F841
gui/wxpython/gui_core/treeview.py: F841
gui/wxpython/gui_core/widgets.py: F841, E722, E266
gui/wxpython/image2target/*: F841, E722, E265
gui/wxpython/image2target/g.gui.image2target.py: E501, E265, F841
gui/wxpython/iscatt/*: F841, E722, F405, F403
gui/wxpython/lmgr/frame.py: F841, E722
# layertree still includes some formatting issues (it is ignored by Black)
gui/wxpython/lmgr/layertree.py: E722, E266, W504, E225
gui/wxpython/lmgr/workspace.py: F841
gui/wxpython/image2target/g.gui.image2target.py: E501
gui/wxpython/modules/*: F841, E722
gui/wxpython/nviz/*: F841, E266, E722, F403, F405
gui/wxpython/photo2image/*: F841, E722, E265
Expand All @@ -84,8 +33,6 @@ per-file-ignores =
gui/wxpython/vnet/*: F841
gui/wxpython/wxgui.py: F841
gui/wxpython/animation/g.gui.animation.py: E501
gui/wxpython/animation/mapwindow.py: F841
gui/wxpython/animation/provider.py: F841
gui/wxpython/tplot/frame.py: F841, E722
gui/wxpython/tplot/g.gui.tplot.py: E501
gui/wxpython/rdigit/g.gui.rdigit.py: F841
Expand Down Expand Up @@ -153,33 +100,28 @@ per-file-ignores =
python/grass/*/*/__init__.py: F401, F403
python/grass/*/*/*/__init__.py: F401, F403
# E402 module level import not at top of file
scripts/d.polar/d.polar.py: F841
scripts/r.in.wms/wms_gdal_drv.py: F841, E722
scripts/r.in.wms/wms_cap_parsers.py: F841
scripts/r.in.wms/wms_gdal_drv.py: E722
scripts/r.in.wms/wms_drv.py: E402, E722
scripts/r.in.wms/srs.py: E722
scripts/r.semantic.label/r.semantic.label.py: F841, E501
scripts/v.report/v.report.py: F841, E721
scripts/r.semantic.label/r.semantic.label.py: E501
scripts/v.report/v.report.py: E721
scripts/db.out.ogr/db.out.ogr.py: F841
scripts/g.extension/g.extension.py: F841, E722, E501
scripts/v.unpack/v.unpack.py: F841, E722, E501
scripts/v.import/v.import.py: F841, E722, E501
scripts/v.unpack/v.unpack.py: E722, E501
scripts/v.import/v.import.py: E722, E501
scripts/db.univar/db.univar.py: E501
scripts/d.frame/d.frame.py: E722
scripts/i.pansharpen/i.pansharpen.py: E722, E501
scripts/r.in.srtm/r.in.srtm.py: E722
scripts/r.fillnulls/r.fillnulls.py: E722
scripts/d.rast.edit/d.rast.edit.py: E722
scripts/v.what.strds/v.what.strds.py: E722, E501
scripts/v.what.strds/v.what.strds.py: E501
# Line too long (esp. module interface definitions)
scripts/*/*.py: E501
# local variable 'column' is assigned to but never used
temporal/t.rast.to.vect/t.rast.to.vect.py: E501
# local variable 'stdstype' is assigned to but never used
temporal/t.vect.algebra/t.vect.algebra.py: F841, E501
temporal/t.vect.algebra/t.vect.algebra.py: E501
# ## used (##% key: r etc)
# local variable 'map_list' is assigned to but never used
temporal/t.rast.what/t.rast.what.py: E265, E266, F841, E501
temporal/t.rast.what/t.rast.what.py: E265, E266, E501
# Line too long (esp. module interface definitions)
temporal/*/*.py: E501

Expand Down
4 changes: 2 additions & 2 deletions .github/actions/create-upload-suggestions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ runs:
echo "diff-file-name=${INPUT_DIFF_FILE_NAME}" >> "${GITHUB_OUTPUT}"
env:
INPUT_DIFF_FILE_NAME: ${{ steps.tool-name-safe.outputs.diff-file-name }}
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
id: upload-diff
if: >-
${{ (steps.files_changed.outputs.files_changed == 'true') &&
Expand All @@ -200,7 +200,7 @@ runs:
echo 'Suggestions can only be added near to lines changed in this PR.'
echo 'If any fixes can be added as code suggestions, they will be added shortly from another workflow.'
} >> "${GITHUB_STEP_SUMMARY}"
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
id: upload-changes
if: >-
${{ always() &&
Expand Down
2 changes: 0 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ docs:
- '**/*.png'
- '**.cff'
- CITING
- CHANGES
- AUTHORS
- NEWS
- TODO
- all-globs-to-all-files:
- '!doc/development/rfc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/additional_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository contents
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 31

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ libfftw3-dev
libgdal-dev
libgl1-mesa-dev
libglu1-mesa-dev
liblapacke-dev
libnetcdf-dev
libopenblas-dev
libpdal-dev
libpng-dev
libproj-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@c71d0bf4e21876ebec3e5647491186f8797fde31 # v0.18.2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
Expand All @@ -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@0bf4f07ef9048ec62a45f9dbf2f098afa49695f0 # v1
- uses: rui314/setup-mold@b015f7e3f2938ad3a5ed6e5111a8c6c7c1d6db6e # v1
if: ${{ matrix.language == 'c-cpp' }}

- name: Initialize CodeQL
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
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@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04
if: github.repository == 'OSGeo/grass'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- name: Get dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
contents: write
steps:
- name: Checks-out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
ref: ${{ github.ref }}
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0
- name: Docker meta
Expand All @@ -68,15 +68,15 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
- name: Login to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
push: true
pull: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Get dependencies
run: |
sudo apt-get update -y
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,20 @@ jobs:
-mindepth 1 -maxdepth 1 -type f -print -delete
# Rehash to forget about the deleted files
hash -r
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Get current date cache key segment
id: date
# Year and week of year so cache key changes weekly
run: echo "date=$(date +%Y-%U)" >> "${GITHUB_OUTPUT}"
- name: Setup Mamba
uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0
uses: mamba-org/setup-micromamba@617811f69075e3fd3ae68ca64220ad065877f246 # v2.0.0
with:
init-shell: bash
environment-file: .github/workflows/macos_dependencies.txt
environment-name: grass-env
# Persist on the same period (date).
cache-environment-key: environment-${{ steps.date.outputs.date }}

- name: Environment info
shell: bash -el {0}
run: |
Expand All @@ -59,17 +66,17 @@ jobs:
- name: Create installation directory
run: mkdir $HOME/install
- name: Build and install
shell: bash -l {0}
shell: micromamba-shell {0}
run: source ./.github/workflows/macos_install.sh $HOME/install
- name: Add the bin directory to PATH
run: echo "$HOME/install/bin" >> $GITHUB_PATH
- name: Check installed version
if: ${{ !cancelled() }}
shell: bash -l {0}
shell: micromamba-shell {0}
run: source ./.github/workflows/print_versions.sh

- name: Run pytest with multiple workers in parallel
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
export PYTHONPATH=$(grass --config python_path):$PYTHONPATH
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH
Expand All @@ -78,7 +85,7 @@ jobs:
-ra . \
-m 'not needs_solo_run'
- name: Run pytest with a single worker (for tests marked with needs_solo_run)
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
export PYTHONPATH=$(grass --config python_path):$PYTHONPATH
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH
Expand All @@ -87,7 +94,7 @@ jobs:
-m 'needs_solo_run'

- name: Run gunittest tests
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
grass --tmp-project XY --exec \
g.download.project url=${{ env.SampleData }} path=$HOME
Expand All @@ -100,7 +107,7 @@ jobs:
nc_spm_full_v2alpha2.tar.gz"
- name: Make HTML test report available
if: ${{ !cancelled() }}
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: testreport-macOS
path: testreport
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/macos_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
blas
cairo
clangxx_osx-arm64
clang_osx-arm64
Expand All @@ -13,7 +12,6 @@ giflib
git
ipython
krb5
lapack
lastools
libgdal-arrow-parquet
libgdal-core
Expand All @@ -32,6 +30,7 @@ libtiff
llvm-openmp
matplotlib
numpy<2
openblas
pandoc
pdal
pillow
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/macos_gunittest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,18 @@
exclude =
gui/wxpython/core/testsuite/test_gcmd.py
gui/wxpython/core/testsuite/toolboxes.sh
lib/init/testsuite/test_grass_tmp_mapset.py
python/grass/gunittest/testsuite/test_assertions_rast3d.py
python/grass/gunittest/testsuite/test_assertions_vect.py
python/grass/gunittest/testsuite/test_gmodules.py
python/grass/gunittest/testsuite/test_gunitest_doctests.py
python/grass/pygrass/raster/testsuite/test_pygrass_raster_doctests.py
python/grass/pygrass/rpc/testsuite/test_pygrass_rpc_doctests.py
python/grass/script/testsuite/test_script_doctests.py
python/grass/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py
python/grass/temporal/testsuite/unittests_temporal_raster_conditionals_complement_else.py
raster/r.in.lidar/testsuite/test_base_resolution.sh
raster/r.in.pdal/testsuite/test_r_in_pdal_binning.py
raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py
raster/r.terraflow/testsuite/test_r_terraflow.py
raster/r.sun/testsuite/test_rsun.py
raster3d/r3.flow/testsuite/r3flow_test.py
scripts/g.search.modules/testsuite/test_g_search_modules.py
temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
temporal/t.connect/testsuite/test_distr_tgis_db_vector.py
temporal/t.info/testsuite/test.t.info.sh
temporal/t.rast.aggregate/testsuite/test_aggregation_relative.py
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/macos_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ CONFIGURE_FLAGS="\
--with-bzlib-libs=${CONDA_PREFIX}/lib \
--with-bzlib-includes=${CONDA_PREFIX}/include \
--with-netcdf=${CONDA_PREFIX}/bin/nc-config \
--with-blas \
--with-blas-libs=${CONDA_PREFIX}/lib \
--with-blas-includes=${CONDA_PREFIX}/include \
--with-lapack
--with-lapack-includes=${CONDA_PREFIX}/include \
--with-lapack-libs=${CONDA_PREFIX}/lib \
--with-blas=openblas \
--with-lapack=openblas \
--with-netcdf=${CONDA_PREFIX}/bin/nc-config \
--with-nls \
--with-libs=${CONDA_PREFIX}/lib \
Expand Down
Loading
Loading