Update versioning and branching documentation#2813
Conversation
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1684 |
|
🚨 Please update the changelog. This PR cannot be merged until |
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1684 |
1 similar comment
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1684 |
|
Thank you for leading this effort Pooya! A couple of questions:
I think that is it for now! |
|
Other questions that came up on Issue #2796 :
|
|
Thanks for your review, @KFosterReed !
I don't think so. This is not a critical system where not fixing bug in few days causes millions of dollars of damage. If we need to make a fix once dev has been pulled to dev, we have ways to handle it. I think it can wait for the actual release.
PML does this.
When something is merged into dev, it means it is ready to be included in the next release. If something needs to be withheld from the next release, then it needs to remain on a separate parking branch until it is ready to be released.
Yes, once we have that page ready.
We shouldn't need to freeze dev in normal operations.
Thanks, fixed
I think it is better to keep it out for now.
|
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1509 |
| - **Usage**: Documentation updates may be committed directly to this | ||
| branch and merged into ``main`` without going through the ``test`` | ||
| branch. |
There was a problem hiding this comment.
I'm not sure if this is the right place for this information, but should it be specified that only maintainers should update documentation? It looks like the branch itself is not protected and there is no mention here of protection, am I wrong in thinking anyone could modify the content of the branch accidentally or erroneously?
There was a problem hiding this comment.
Thanks, Elle!
I can add the branch protection rules; but am curious about only maintainers being able to update the documentation,
There was a problem hiding this comment.
only maintainers being able to update the documentation,
That was my presumption since the sci doc branch is unprotected at the moment! My original question probably pertains more to the sci doc update process than to branching strategy. It makes sense to me that we would eventually permit or encourage non-maintainers to update sci docs, but I presume we would want to adhere to something similar to the usual process of PRs and reviews to ensure updates are correct and appropriate. But I think that process has not been fleshed out yet, maybe the best thing is to come back and add a little more detail here once the sci doc process is agreed upon and documented.
There was a problem hiding this comment.
We're working on the sci docs update guidelines now. I'm comfortable leaving the branch without protections and we can update this section with more information and links to procedures once they are finalized.
I think we know that RuFaS is not a normal operation... improving our process for what new features are planned for the next release will help a lot but with this recent effort to update the version, we needed to freeze dev and given that our team is spread across institutions, working asynchronously and often working on different tasks, even with improved communication, I think having guidance on when and how we would freeze dev when making a major or minor update makes sense. |
KFosterReed
left a comment
There was a problem hiding this comment.
I think this is clear and concise. I like the additional call out to PML and admins for their responsibilty of certain tasks. I will add a sentence referencing the SME review process in the "Testing Phase" after merging to test.
Thanks for leading this effort Pooya!
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1191 |
1 similar comment
|
Current Coverage: 99% Mypy errors on version-hygene branch: 1191 |
|
|
||
| - **Review and Approval** | ||
|
|
||
| Adhere to the :doc:`Code Review Guidelines <https://ruminantfarmsystems.github.io/RuFaS/_wiki/Code-review.html>` to maintain |
There was a problem hiding this comment.
The link on this line isn't showing up properly in the page preview.
| - **Permissions**: The ``main`` branch is locked, and only | ||
| repo admins have permission to merge pull requests into it. | ||
|
|
||
| ``scientific_documentation_updates`` |
There was a problem hiding this comment.
Geneva confirmed that we will most likely be moving to a different branch for updates in the future. Timing for the change isn't set yet, so we recommend moving forward with this "as is" and we can update it when the new branch is set up.
| Stable branch representing the officially released production version | ||
| of RuFaS. | ||
|
|
||
| See :doc:`Branching Strategy <https://ruminantfarmsystems.github.io/RuFaS/_wiki/Branching-Strategy-in-RuFaS.html>` |
There was a problem hiding this comment.
Link isn't appearing properly in the preview, it works but doesn't look right.
|
|
||
| 5. **PML Approval** | ||
|
|
||
| - The **Project Management Lead (PML)** must approve the release and |
There was a problem hiding this comment.
In the contributing guidelines we have Program Management Leadership, so I recommend changing for consistency.
|
|
||
| 3. **PML Approval** | ||
|
|
||
| - The **Project Management Lead (PML)** must approve the release and |
There was a problem hiding this comment.
In the contributing guidelines we have Program Management Leadership, so I recommend changing for consistency.
Context
Issue(s) closed by this pull request: closes #2797
What
Enhance the clarity and detail of the versioning and branching strategy documentation for RuFaS.
Why
This documentation aims to support consistent practices and clear communication among team members.
How
The updates include improved descriptions of branch purposes, usage, and merging processes to ensure a better understanding of the workflow.
Test plan
N/A
Input Changes
N/A
Output Changes
Filter