forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update CI/CD configs #12
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…4092) gunittest: Add .gitignore to testreport folder if not present Co-authored-by: Edouard Choinière <echoix@users.noreply.github.com>
* CI(deps): Update ruff to v0.5.5 * Remove trailing whitespace in .coveragerc --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <27212526+echoix@users.noreply.github.com>
Addresses multiple warnings identified by cppcheck related to potential buffer overflow issues. Added field width specifiers to the sscanf calls to prevent buffer overflows.
This commit introduces a new G_strlcpy function in lib/gis, inspired by G_asprintf. G_strlcpy provides a safer alternative to strcpy and strncpy, with consistent behavior across different systems. Key points: - Implements strlcpy functionality, available natively on BSD systems - Portable implementation for non-BSD systems (excluding Linux with libbsd) - Based on FreeBSD's implementation: https://github.com/freebsd/freebsd-src/blob/98dd639c94f716858ae29958f484729b1d2fd387/sys/libkern/strlcpy.c#L28 - Designed to replace unsafe uses of strcpy and strncpy throughout the project The function is implemented to use the native strlcpy where available, falling back to our portable version on systems without it. This ensures optimal performance on BSD systems while maintaining compatibility across different platforms. By providing G_strlcpy, we aim to improve the overall safety and consistency of string operations in our codebase.
* CI(ruff): Show ruff annotations even for fixes * CI(ruff): Use default output format when fixing
The true if-statement only handles buffers with rounded corners. E.g. using `v.buffer` without `-s` on points. GEOS handles buffers with corners.
This pull request introduces a new feature to grass.jupyter.interactivemap.py: a "View/Update Computational Region" button that allows users to update the computational region by adjusting its boundaries interactively. Users can move the rectangle representing the current computation region and adjust its size by changing its vertex. --------- Co-authored-by: Anna Petrasova <kratochanna@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tests: Add .gitignore to gunittest testreport folder if not present (OSGeo#4092
CI(deps): Update github/codeql-action action to v3.25.14 (https://github.com/OSGeo/grass/pull/4102[)](https://github.com/a0x8o/grass/commit/06455101f616c037a1e2e913e548eb56bd2d31ef)
CI(deps): Update ruff to v0.5.5 (https://github.com/OSGeo/grass/pull/4103[)](https://github.com/a0x8o/grass/commit/b082d422ef215c21a0fcdaf3a0a5b38cc7c51ea1)
renovate[bot] and echoix committed 5 days ago
d.labels: Fix buffer overflow issues (https://github.com/OSGeo/grass/pull/4041[)](https://github.com/a0x8o/grass/commit/cd0687fb7904e507ecb28d9d250e50afe3dc89f1)
CI(deps): Update github/codeql-action action to v3.25.15 (https://github.com/OSGeo/grass/pull/4107[)](https://github.com/a0x8o/grass/commit/e386819091cd710821acc53c106d7bce8e821e5a)
@renovate
renovate[bot] committed 4 days ago
CI(deps): Lock file maintenance (https://github.com/OSGeo/grass/pull/4109[)](https://github.com/a0x8o/grass/commit/3aa7d1e1f93c8b710ed87f0f1e4e82d49c78403d)
@renovate
renovate[bot] committed yesterday
lib/gis: Add portable G_strlcpy function (https://github.com/OSGeo/grass/pull/4101[)](https://github.com/a0x8o/grass/commit/84db88a9d2b7e05fdb5472b118986ece263b6615)
CI(deps): Update docker/setup-buildx-action action to v3.6.1 (OSGeo#4110
@renovate
renovate[bot] committed 14 hours ago
CI(deps): Update msys2/setup-msys2 action to v2.24.0 (https://github.com/OSGeo/grass/pull/4108[)](https://github.com/a0x8o/grass/commit/0983373d840b2c0fdbc3b0c70cee8d9e1caba2b1)