Repository navigation
t.connect: add a mapset option to list connections across project - #7594
Merged
Merged
Conversation
petrasovaa
reviewed
Jun 24, 2026
Member
Author
|
This is also one step towards solving #7344 with Tools instead of API. |
ninsbl
added a commit
to ninsbl/grass
that referenced
this pull request
Jul 7, 2026
…Geo#7594) * document mapset option * add mapset option * add tests for mapset option * add testcase for empty VAR file * adjust to t.connect JSON output * adjust to t.connect JSON output * use text for output --------- Co-authored-by: Edouard Choinière <27212526+echoix@users.noreply.github.com>
This file contains hidden or 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
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.
This PR adds a mapset option to t.connect to report TGIS database connections across mapsets.
The point is to get a fast overview over mapsets that contain TGIS databases. It changes the format of the recently added JSON output to always return an array. Furthermore, the mapset option is only available for reporting the connection(s) not setting it.
Changes are oriented on g.list.
claude assisted with code writing.
@saket0187 This should significantly speed-up listing temporal data for the data catalog. The mapset option may be propagated to t.list to 1: screen for possible TGIS DBs and 2) list content for the relevant mapsets in one t.list call...