Closed MartinSchobben closed 10 months ago
Submitted patch to CRAN. Let's wait if that goes through and then merge this PR with a tag for 0.1.2.
It's on CRAN now: https://cran.r-project.org/web/packages/rirods/index.html
Can you merge this and release with tag 0.1.2?
lots of conflicting files at the moment - not yet mergeable.
yes, the snapshots are updated weekly. I will see that I rebase this week. I believe the snapshots are created on Monday.
Oh, I see that now. And my name is on all of them. Why is anything getting pushed weekly if there are no code changes? That feels surprising and weird/wrong.
I added this to enable testing without an iRODS server/internet connection (e.g. on the CRAN servers). I have the weekly updates to capture potential changes in the HTTP response. But maybe weekly is a bit much.
I presume I can also trigger the event by a change in the submodule irods_demo
.
Oh, I see. Is there a way to remove/ignore the timestamps from responses files? Then you could detect any 'real' changes more easily?
ah yes, that should be possible as well. It entails changing inst/httptest2/redact.R
.
I fixed the HTTP snapshots that now not include dates anymore. The tag for version 0.1.2 now belongs to commit 4144b54. This commit is the same as the "truth", from the point of view CRAN (R).
so this is okay to be merged, as is? five commits?
yes, that is fine. Up to commit https://github.com/irods/irods_client_library_rirods/commit/4144b545566069a01c8a54870f1051532775024e is needed to stay in sync with CRAN (0.1.2) the last two fix the snapshots in the dev version.
~Regarding fixing the automated snapshot generation. I now have to update the snapshots again :-)~
Got it.
One last note - when rebasing, the SHA of that commit will change (again).
If that matters, then we need to make sure we get things merged (with a stable SHA) before we declare a release. If not, then we should be good to go.
Merging!
That makes sense. Never thought about that. In the normal situation the R developer will be push a package to CRAN from the main branch. That is not possible in our situation, where I push to CRAN from my own development branch. This is, however, all only considered as good practice and not mandatory.
You can still push to CRAN from main - just have to wait until we merge first?
Right! That would be better then.
I intend to submit this patch to CRAN. This contains the updated documentation of Mariana. However, due to the missing dependency in the the irods demo, all GitHub workflows fail for now (irods/irods_demo#46). Any idea how to circumvent this for now?