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

g.region: fix setting from default region #2397

Merged
merged 2 commits into from
May 25, 2022

Conversation

petrasovaa
Copy link
Contributor

Looks like #1627 broke g.region -d so this should fix it.
As a workaround, g.region -do will do it.

Not sure about the milestone, too late for 8.2?
Needs to be backported in 8.0 too.

@petrasovaa petrasovaa added bug Something isn't working backport_needed labels May 24, 2022
@petrasovaa petrasovaa added this to the 8.2.0 milestone May 24, 2022
Copy link
Member

@wenzeslaus wenzeslaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behavior after the fix seems correct given that -d Set from default region.

The test covers the base line use without -d, standard usage of -d, and its more advanced combination without update for printing only. Some standard usage of g.region is indirectly tested by many of the other tests.

I vote for backport to 8.2 branch so that it goes into 8.2.0.

@petrasovaa petrasovaa merged commit 28cb0b3 into OSGeo:main May 25, 2022
@petrasovaa petrasovaa deleted the fix-default-region branch May 25, 2022 16:45
petrasovaa added a commit that referenced this pull request May 26, 2022
Fix after g.region was broken with #1627 (78d902d). Added test for d flag.
petrasovaa added a commit that referenced this pull request May 26, 2022
Fix after g.region was broken with #1627 (78d902d). Added test for d flag.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
Fix after g.region was broken with OSGeo#1627 (78d902d). Added test for d flag.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
Fix after g.region was broken with OSGeo#1627 (78d902d). Added test for d flag.
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
Fix after g.region was broken with OSGeo#1627 (78d902d). Added test for d flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants