-
Notifications
You must be signed in to change notification settings - Fork 9
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
Future of rgrass - meeting minutes #34
Comments
as I've left the meeting earlier, I can't comment on all issues mentioned in the meeting notes. though, all looks good so far. @veroandreo I think we should link this discussion to the GRASS user ML; maybe we're able to atttract more interested people. |
Thanks @veroandreo for taking notes! Next meeting I'll take notes so we rotate roles! (sorry I came in late as well).
|
we already have compiling and testing winGRASS in github actions: though this process has to be updated to reflect OSGeo4W version 2 |
Cool, that means I don't have to figure out how to install it on windows (action wise)! Would be cool to have it as a standalone action, I'd just have to write |
compiling winGRASS to testing rgrass may not be needed as precompiled winGRASS can be downloaded via github action. e.g.
|
@VLucet Yes, I thought about the architecture of one or two repos. After (maybe too little) consideration, I changed the name of the repo rather than starting a new repo. My idea (maybe wrong) is that 1) I switched the default branch from Next, we make an I thought that there is so much shared code that we risk missing maintenance updates if the codebase is split over two repos. Does this make sense? So testing would use Then when we are ready, we can create an organisation and move the rgrass and rgrassdoc repos there. |
@rsbivand Ah yes I see! That indeed makes a lot more sense in terms of maintenance, I completely agree. |
Thank you @veroandreo for the minutes, they look complete to me. @rsbivand yes, I also think it's sensible to use the three branches in order to maintain the two package flavours. To avoid confusion, maybe the definition of the branch contents could be put in a file I think that
|
I agree with @florisvdh for the |
I just wanted to start the conversation on this again, and ask whether we have decided what set of branches we'd like to work with, and if yes, whether I can get started with setting up github actions on the |
As far as I'm concerned, please feel free to choose the setup that you expect will work best. My suggestions were just meant to aid the thinking process! |
Could someone add the |
Indeed. We are really close to finally release GRASS 8. At the moment there's already RC2; meaning that 8 will soon become the stable version and 7 will only receive bug fixing but no new features. So, trying to get a working version of rgrass for GRASS 8 would be great :) |
The 0.2-7 |
I've opened a PR for this see #38. I've also branched out of main to start setting up actions. |
The |
@rsbivand I get following logs from
On the command line I did |
Most likely the setup. Please avoid all packages claiming to help, they only get in the way, this is probably where the crashes are coming from. The extra tarball shouldn't be there, something is making assumptions about which directory it thinks you are in. From the directory above the git repo (in Latex is needed for manuals, if unavailable use |
Is the |
Thank you for the hints Roger. Also, it was interesting to learn compiling and installing GRASS 7.8.7RC1 and 8.0.0RC2 alongside the existing binary 7.8.6 installation from ubuntugis-unstable. The check with Same (no errors) for Note to self (prompts and command for both cases): GRASS 7.8.7RC1 (nc_basic_spm_grass7):/media/floris/DATA/git_repositories > R CMD check --as-cran --no-manual rgrass7_0.2-7.tar.gz
GRASS nc_basic_spm_grass7/PERMANENT:git_repositories > R CMD check --as-cran --no-manual rgrass_0.3-1.tar.gz |
|
Source and some binaries (not yet all) |
Hi @rsbivand we think the meeting minutes, like those of yesterday, will better fit in GitHub discussions than in GH issues. Could you activate the Discussions tab in the Settings of the repo? Also I guess current issue can be closed since things have evolved quite a lot since Dec 2021. |
I opened discussions, I think. Its tinsel really irritated me. Can others open discussions, or only the repo owner? |
Yes, it seems that opening a new discussion will work, at least I can, but probably anyone. Thanks. |
Date: 12/14/2021
Participants: Roger Bivand, Floris Vanderhaeghe, Valentin Lucet, Helmut Kudrnovsky & Veronica Andreo
Package naming: keep the version or drop it?
While creating a grass version specific R package makes some sense, i.e., if you have GRASS 7 you use rgrass7, when you use GRASS 8 you use rgrass8; we all liked the idea of a plain
rgrass
package that might either work for GRASS 7 and 8, or from 8 onward. For this latter option, it was suggested to include a note in the upcoming rgrass7 saying that the update of the package for grass8 will be called rgrass.Testing
This is highly needed. The new rgrass version should have automatic tests to check the code in different operative systems as it is currently in place in GRASS repo through GitHub actions (might use docker images or not). We commented that we could check both against grass main and latest release branches. Valentin commented that he has set such testing environment before and he volunteered to tackle this issue.
Vector data
We are all happy with sf being the link for vector data. No changes here, in principle. The use of rsqlite as to link directly to the attribute table is to be revised.
Raster data
Several options were discussed:
sp
+r.in/out.bin
, but droprgdal
as it will be withdrawnterra
orstars
objects. This is yet not so clear as most of us are unfamiliar with those packages, but there was some consensus that as stars uses GDAL throughsf
, and the two are already suggested dependencies for rgrass, stars would be a more natural and straightforward choice. Also considering that in the future grass imagery space time datasets could be converted into stars objects.Side note on rater data: Roger explained that the use of r.in/out.bin was decided because it is "cheaper" to export and import uncompressed data rather than compress-export-uncompress-import. However, other options might be explored in the future.
Parameters and flags
Changes in parameter names and flags in GRASS 8 should be accounted for. We need to check the grass changelog for that.
Vignettes
The main problem with vignettes is that they would require GRASS and the NC sample dataset installed to be self compiled. This is not possible for a CRAN environment. Valentin said he had some experience with vignettes running uninstalled software. Roger asked if it was possible to get a GRASS binary without gui (In fedora, grass-gui is a separate package, would that help?). We could explore also the possibility of linking to the server where GRASS builds occur, we need to ask. Other option is that vignettes are just “frozen” and state that a certain environment must be set in advance for them to work. This latter seemed like the best option for now.
Where to host the new rgrass version?
We discussed several options too: personal github account, r-spatial, grass-addons or new independent organization. We agreed that Roger would create a new repo in his personal account to which we will be invited and then, we could move it to r-spatial subject to their rules. Hosting rgrass in grass-addons repo did not seem like a good option as it is not installed with
g.extension
in grass, but it is an R package.Other related topics
Draft roadmap
rgdal
support, keep discussing/decide what to do with raster data and implement it@rsbivand @VLucet @florisvdh @hellik please have a look and let me know if I misunderstood anything. Thanks a lot for your willingness to participate and move forward!
The text was updated successfully, but these errors were encountered: