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

Cmake build work #2

Merged
merged 79 commits into from
Aug 12, 2024
Merged

Commits on Jul 2, 2024

  1. Checks: fix flake8 E741 remainder (OSGeo#3928)

    * Rename l to line when using `f.readlines()`.
    
    * Remove "l"s from parameters since they aren't used.
    
    * Rename "l" to "lx" to assign a lexer object.
    
    * Add "# noqa: E741" as renaming parameters won't be applicable in this case.
    
    * Rename "l" to "ln" as line number.
    
    * Rename "l" to "layer" when looping through the layer list.
    
    * Remove E741 for files in the 'locale', `python`, and `scripts` directory.
    
    * Rename "ln" to "line_number".
    mshukuno authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1a8cbec View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    277a147 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5513912 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6424f9a View commit details
    Browse the repository at this point in the history
  4. r.univar: add JSON support (OSGeo#3783)

    * Add JSON support to r.univar
    
    Use parson to add json output format support to the r.univar module.
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Nicklas Larsson <[email protected]>
    kritibirda26 and nilason authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    71ed433 View commit details
    Browse the repository at this point in the history
  5. v.univar: add JSON support (OSGeo#3784)

    * Add JSON support to v.univar
    
    Use parson to add json output format support to the v.univar module.
    
    * update percentile format
    
    * rename test file
    kritibirda26 authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    cc75269 View commit details
    Browse the repository at this point in the history
  6. d.labels: Reduce scope of minreg and maxreg variables in main.c (OSGe…

    …o#3979)
    
    Reduce scope of minreg and maxreg variables in d.labels/main.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 3, 2024
    Configuration menu
    Copy the full SHA
    56eaf9e View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    66c4df0 View commit details
    Browse the repository at this point in the history
  2. d.legend.vect: Reduce scope of 'bg_w' variable in draw.c (OSGeo#3980)

    Reduce scope of 'bg_w' variable in d.legend.vect/draw.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    79726a0 View commit details
    Browse the repository at this point in the history
  3. lib: Fix uninitialized variable 'encoding' in parser_interface.c (OSG…

    …eo#3975)
    
    Fix uninitialized variable 'encoding' in parser_interface.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    cb1e9b3 View commit details
    Browse the repository at this point in the history
  4. CI(ruff): Fine tune posting Ruff suggestions (OSGeo#3978)

    * CI(ruff): Fix typo in ruff suggestions
    
    * CI(ruff): Upload suggestions even if not all linting errors were fixed
    
    * CI(ruff): Try suggesting more changes
    
    * CI(ruff): Upload suggestions even if not all linting errors were fixed but do not run when cancelled
    echoix authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    931e79a View commit details
    Browse the repository at this point in the history
  5. style: Fix unconventional-import-alias (ICN001) (consolidate `import …

    …grass.script as gs`) (OSGeo#3981)
    
    * style: Unignore unconventional-import-alias (ICN001) ruff rule
    
    * style: Use convention `import matplotlib as mpl`
    
    * style: Use convention `import numpy as np`
    
    * style: Use convention `import grass.script as gs`
    
    * test: Remove unused grass.script in test file
    
    * style: Add missing alias to `import grass.script as gs`
    
    * style: Alias `import grass.script as gs` when already imported at file-level
    
    * Remove duplicated grass.script lazy import in wxpython/gui_core/ghelp.py
    echoix authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d880ec0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    d1738f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4b3ddd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6db6f81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30f7a3c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d528aa9 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Configuration menu
    Copy the full SHA
    b432e42 View commit details
    Browse the repository at this point in the history
  2. i.segment: Fix uninitialized struct member 'ngbr_rc.next' in mean_shi…

    …ft.c (OSGeo#3973)
    
    imagery: Fix uninitialized struct member 'ngbr_rc.next' in mean_shift.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 6, 2024
    Configuration menu
    Copy the full SHA
    559e088 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. lib: Fix uninitialized variable issue in shapiroe.c (OSGeo#3994)

    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    1c3c303 View commit details
    Browse the repository at this point in the history
  2. i.segment: Fix uninitialized struct member error in region_growing.c (O…

    …SGeo#3974)
    
    * Fix uninitialized struct member error in region_growing.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    3 people authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    83f615a View commit details
    Browse the repository at this point in the history
  3. lib: Fixed uninitialized variable warning in dmax.c by initializing d…

    …p, dp_max, dm, and dm_max to 0.0 (OSGeo#3995)
    
    Fixed uninitialized variable warning in dmax.c by initializing dp, dp_max, dm, and dm_max to 0.0.
    ShubhamDesai authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    ef69cb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c94708a View commit details
    Browse the repository at this point in the history
  5. style: Fix pylint pointless-statement (W0104) (OSGeo#3996)

    * temporal: Actually call dbif.close() to fix pylint pointless-statement (W0104)
    
    * g.extension: Fix pylint pointless-statement (W0104)
    
    * temporal: Fix pointless-statement (W0104) in temporal_granularity
    
    * temporal: Fix pointless-statement (W0104) in c_libraries_interface.py, _read_vector_history() function
    
    * i.atcorr: Remove useless and non-working print statements in create_iwave.py
    
    * python(grass.imaging): Use PIL.__version__ call to fix pylint pointless-statement
    
    * style: Ignore ruff useless-expression (B018) for a gunittest data file. Equivalent to pylint pointless-statement / W010
    
    * style: Enable ruff useless-expression (B018) (equivalent to pylint pointless-statement / W010)
    echoix authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    cd64472 View commit details
    Browse the repository at this point in the history
  6. style: Fix replace-stdout-stderr (UP022) (OSGeo#4000)

    Using `ruff check --output-format=concise --preview --select UP022 --unsafe-fixes --fix`
    echoix authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    e952443 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    f62b46f View commit details
    Browse the repository at this point in the history
  2. style: Fix if-expr-with-true-false (SIM210) and if-expr-with-false-tr…

    …ue (SIM211) (OSGeo#3999)
    
    Relates to pylint rule simplifiable-if-expression / R1719
    echoix authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    7b72452 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18d11ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f5bed6 View commit details
    Browse the repository at this point in the history
  5. style: Fix pylint try-except-raise (W0706) (OSGeo#3997)

    * python(grass.temporal): Fix pylint try-except-raise (W0706)
    
    Do not catch exception only to raise it again
    
    * gui/wxpython/core/utils: Fix pylint try-except-raise (W0706)
    
    * python: Fix pylint try-except-raise (W0706)
    
    * style: Enable ruff useless-try-except (TRY302) as fixed
    echoix authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    4be87a1 View commit details
    Browse the repository at this point in the history
  6. style: Fix incorrect-dict-iterator (PERF102) (OSGeo#4007)

    When iterating over a dictionary with dict.items() but discarding either the values or the keys, dict.values() or dict.keys() should be used instead
    echoix authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f4a407f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    89762ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    acc3e38 View commit details
    Browse the repository at this point in the history
  9. style: Fix not-in-test (E713) and not-is-test (E714) (OSGeo#4011)

    * style: Fix not-is-test (E714)
    
    * style: Fix not-in-test (E713)
    echoix authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b73eae5 View commit details
    Browse the repository at this point in the history
  10. raster: Fix uninitialized variable issue in o_var.c (OSGeo#4005)

    Fix uninitialized variable issue in o_var.c
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3e8706d View commit details
    Browse the repository at this point in the history
  11. raster3d: Fix uninitialized variable issue in main.c (OSGeo#4006)

    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    87b6ac0 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    6ebeb4b View commit details
    Browse the repository at this point in the history
  2. nix: pin python version to 3.11 (OSGeo#4017)

    * nix: pin python version to 3.11
    
    * nix: update flake.lock file
    
    * nix: use default wxpython version for package
    imincik authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    152f493 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2186ec5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d41987c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    c9a1a17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3543cd View commit details
    Browse the repository at this point in the history
  3. style: Fix unnecessary-map (C417) (OSGeo#4012)

    * style: Fix unnecessary-map (C417)
    
    * Apply suggestions from code review
    
    * style: Change outer quotes to avoid escaping inner quotes for Q003
    echoix authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4aa61d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92cf465 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6b38ffb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    169ca9b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff453d2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ff2da11 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    52a7fd7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    204903c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3ef2715 View commit details
    Browse the repository at this point in the history
  12. doc: add Nix documentation (OSGeo#3990)

    Co-authored-by: Markus Neteler <[email protected]>
    imincik and neteler authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ee9fa48 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    b3cb5db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d31afbd View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    8f83c24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb0087e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a751f93 View commit details
    Browse the repository at this point in the history
  4. style: Fix repeated-equality-comparison (PLR1714) (OSGeo#4042)

    * style: Fix repeated-equality-comparison (PLR1714)
    * style: Fix literal-membership (PLR6201)
    echoix authored Jul 13, 2024
    Configuration menu
    Copy the full SHA
    3b309db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b01a67d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d690d0c View commit details
    Browse the repository at this point in the history
  7. style: Fix various FURB (small count) (OSGeo#4046)

    * 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
    echoix authored Jul 13, 2024
    Configuration menu
    Copy the full SHA
    98222a2 View commit details
    Browse the repository at this point in the history
  8. style: Fix read-whole-file (FURB101) and write-whole-file (FURB103) (O…

    …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/
    echoix authored Jul 13, 2024
    Configuration menu
    Copy the full SHA
    7695805 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Configuration menu
    Copy the full SHA
    b565924 View commit details
    Browse the repository at this point in the history
  2. style: Fix math-constant (FURB152) (OSGeo#4049)

    * 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
    echoix authored Jul 14, 2024
    Configuration menu
    Copy the full SHA
    1936cf0 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    951b71b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    793cc1b View commit details
    Browse the repository at this point in the history
  3. CI: Configure Renovate update groups (OSGeo#4053)

    * CI: Configure Renovate update groups
    
    * CI: Use Renovate preset "group:githubArtifactActions" instead
    echoix authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    2d055ab View commit details
    Browse the repository at this point in the history
  4. CI(deps): Update ruff to v0.5.2 (OSGeo#4061)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    f3681c5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2 from Mahesh1998/cmake_build_work

    CMake: Added parson to r.info, r.profile, v.info
    HuidaeCho authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    e446882 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. style: fix numpy-deprecation-rules (NPY) (OSGeo#4062)

    Fix the last cases of ruff rules:
    
    * NPY001
    
    * NPY002
    ninsbl authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    f0497c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    692e330 View commit details
    Browse the repository at this point in the history
  2. style: Fix collapsible-else-if (PLR5501) (OSGeo#4045)

    * 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 <[email protected]>
    
    * style: Combine if conditions in wxpython/gmodeler/model.py
    
    * style: Simplify if conditions in wxpython/gui_core
    
    ---------
    
    Co-authored-by: Stefan Blumentrath <[email protected]>
    echoix and ninsbl authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    f99780c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    972bd32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8291252 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. raster: Fix uninitialized variable issue for C raster modules (OSGeo#…

    …4065)
    
    raster: Fix uninitialized variable issue for c files in raster
    ShubhamDesai authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0c3fded View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c87922 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Merge pull request #3 from Mahesh1998/ubuntu_sys_lib_cmake

    Fixed Building grass with Ubuntu System Libraries and cmake
    HuidaeCho authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    d3f25c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    7e349f5 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Merge pull request #4 from Mahesh1998/ubuntu_conda_lib_cmake

    Added parson to r.univar, r3.univar, v.univar
    HuidaeCho authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    b53059b View commit details
    Browse the repository at this point in the history