Skip to content

Conversation

james-bruten-mo
Copy link
Contributor

This changes the instructions for committing tickets from trac world to prs in github. It also adds instructions for reversing a commit. There are still quite a few details to update when we know what they should be, particularly around launching test suites, but I think it's probably a reasonable point to get these changes merged.

Copy link
Collaborator

@jennyhickson jennyhickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First round of comments - I suspect these are pages we'll come back to again

fcm cf

.. tab-item:: LFRic Apps
1. Merge in main and Clone Branch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Merge in main and Clone Branch
.. important ::
All changes made by the reviewer (e.g. for upgrade macros, KGOs or linked tickets) will be committed to the developers branch in their fork. All testing should be run on this branch too. Once this is all complete the GitHub can complete the merge of this branch to ``main``.
1. Merge in main and Clone Branch

I think we need something like this at the start to make it clear what the overall process is. I'm unsure if this wants putting as part of the opening paragraph or in a box or something else?


Now commit the changes made by the macros script back to the developers branch.

Do not push the changes at this stage.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does pushing or not matter here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I was trying to cover for times when the testing failed. If the developer needs to make fixes then it'd be easier to not have pushed the macro changes back to the github repo?

4. Once the ticket is back with you, you can merge the branch to the
trunk and run the test-suite as described above to confirm that all
is working.
Do not push the changes at this stage.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again - why not push?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah same as above - probably not as important for kgo changes as macro changes.


.. code-block:: RST
Once the remote branch has been updated, the pull request continuous integration
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah - is the not pushing bit to not trigger the CI too many times?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a bonus as well I guess!

Copy link
Contributor Author

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jenny. Agree with all suggestions (I need to do the 1st manually as it can't do 2 on the same line)
We'll definitely need to come back to these pages, particularly as the test suite process becomes firmer. We'll need to update rose stem commands everywhere


Now commit the changes made by the macros script back to the developers branch.

Do not push the changes at this stage.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I was trying to cover for times when the testing failed. If the developer needs to make fixes then it'd be easier to not have pushed the macro changes back to the github repo?

4. Once the ticket is back with you, you can merge the branch to the
trunk and run the test-suite as described above to confirm that all
is working.
Do not push the changes at this stage.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah same as above - probably not as important for kgo changes as macro changes.


.. code-block:: RST
Once the remote branch has been updated, the pull request continuous integration
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a bonus as well I guess!

james-bruten-mo and others added 2 commits September 1, 2025 11:22
Co-authored-by: Jenny Hickson <61183013+jennyhickson@users.noreply.github.com>
@jennyhickson jennyhickson merged commit 63f9c46 into MetOffice:github_wps Sep 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants