-
Notifications
You must be signed in to change notification settings - Fork 4
define contribution roles for developers, reviewers, maintainers. #33
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
Comments
Thanks @avallecam - I'm not very familiar with {sandpaper} and the way the Carpentries' Workbench is set up, or the intended workflow when developing training material with this template. Would it be useful for you, Amanda, or Hugo to give a brief introduction to it at one of the developer meetings? Overall this plan seems fine and similar to the one we use for our other packages.
|
Yep, a proper intro to sandpaper and the carpentries will help others to support us on this. We're looking to have this intro on Nov 7th. Our intention is to go as similar as we can to the package workflows, so a comparison between both will be helpful to improve our workflow.
For this, I see two review stages:
Now, I think in a scenario related to your question, and if not, please, I will need you to rephrase: What if the |
Thanks Andree - an introduction on Nov 7th sounds good.
It will be necessary to add new packages to the lockfile on |
We will need to keep writing new episodes independent of the package release status. So, initially, we want to tolerate available GH releases, registering specific versions if needed with pin_version. (the workbench runs actions weekly to keep the cache up to date - I still do not know what this can potentially change, like the latest SHA of a GH release?) Now, if a GH release package is generating the job failing in #34 and will affect its merging, then this will condition us to wait for releases on CRAN. So, we can evaluate this policy after this first PR merging trial. |
From the r-universe PR#12 and its action failure message, Can I understand that one policy on the release status of package for a successful PR merge is that, if not on CRAN, it must fulfil two conditions (1) have a GH release and (2) be available in the r-universe? |
Rephrasing: One policy on the release status of packages for a successful PR merge is that, if not on CRAN, it must fulfil two conditions (1) be available on GH, and (2) be available in the r-universe. (From the cited statement I removed the requirement of a "GH release", which I understand is not required, Can you help me confirm this @Bisaloo ) |
@pratikunterwegs , can you help me confirm if these takeaways from the experience at #34 are accurate?
|
I would say you should try to keep feature branches updated with An exception might be if the PR is scheduled to be merged after multiple others - in that case it might be easier to update just before merging, or before asking for a review. In general it's better to ask for reviews on stable features or fixes, as this reduces the work for reviewers in keeping track of changes.
No, you should "update with rebase". Advance warning: you may or may not be able to do this online due to merge conflicts. If you have conflicts, you'll need to do this manually offline, and force-push the branch. If it does work online, your local branch will have a divergence with the remote, and you'll need to pull locally with a rebase. |
Yes! Update with rebase, thank you for catching that mistake. And now I think how I made the mistake! I was pushing the "Update branch" button, assuming that I had checked with the "Update with rebase", but the default is "Update with merge commit". I knew clearly about the rebasing, but I think the default choice beat me. Lesson learned! |
I'm not sure what you are asking precisely. Our policy (but not a technical requirement) to add packages on r-universe is for them to have at least one release, either on CRAN or on GitHub. There is a GitHub Actions workflow enforcing this on PR in epiverse-trace/epiverse-trace.r-universe.dev. But this is not related to anything regarding the workbench. |
Thank you for the rephrasing. With your comment and this other comment carpentries/actions#32 (comment) I understood that the action failure came from the action for the package, but not from the workbench requirements. Thank you all for your feedback. CONTRIBUTING file is now updated with the edit suggestion detailed in the linked issues above. |
I drafted steps for different roles in the contribution guidelines.
The goal would be to keep a homogeneous package environment among developers and reviews during review on a “development branch” different to the main.
As mentioned in #31 packages could be in continuous update, and tutorial development can try to manage that situation.
Summarized implications are:
renv.lock
file.Specific steps in:
tutorials/CONTRIBUTING.md
Line 74 in b207e3f
It would be helpful to have your feedback @amanda-minter as a developer, @CarmenTamayo @pratikunterwegs as reviewers, and @Bisaloo from your expertise with workflows, if I could make this clearer or change any step.
The text was updated successfully, but these errors were encountered: