-
Notifications
You must be signed in to change notification settings - Fork 28
lfric tickets and code
Rupert Ford edited this page Nov 9, 2023
·
1 revision
- Go to https://code.metoffice.gov.uk/trac/lfric
- Click on "new ticket"
- Add a title and description and set the type priority component and owner + anything else relevant.
- Click on create ticket and remember the number
- It is assumed that fcm is installed and working OK. Note the pip version may not work. If so download the tarball from github.
- It can be useful to use fcm list to check there is access to the repo
- fcm list https://code.metoffice.gov.uk/svn/lfric/LFRic/trunk
- Create a new branch
- fcm bc -k <ticket_number> <branch_name> https://code.metoffice.gov.uk/svn/lfric/LFRic/trunk
- Checkout the new branch
- fcm co https://code.metoffice.gov.uk/svn/lfric/LFRic/...
- Make changes to the local version of the branch
- Update the ticket explaining any changes as appropriate.
- fcm diff to see any changes
- fcm diff file to see changes in a file
- fcm commit to commit your changes. Reference the ticket in the log.
- Add a reference to the branch in the ticket
- Add log:LFRic/branches/... and diff:LFRic/branches/... to associated with (click on the little modify button at the top to edit)
- You will also see an action panel. Set this to start work (this should have been done earlier)
- Click on the modify button again and set the status to request a code review (or whatever else is appropriate for this ticket)