Hi,
I've outlined the steps (and commands) that as far as I understand are
necessary to submit a bug fix. For now I'm just focused on the applying
stuff to the 1.4.1 branch. Hopefully those you are wiser in these things
than me will point out any errors and we can use this as basis to get
committers committing again.
1. Local: Clone repo
git clone g...@bitbucket.org:opencast-community/matterhorn.git
cd matterhorn
2. Local: Create branch and swap to it
git checkout -b b/MH-1234-short-descrip r/1.4.1
3. Local: Fix problem and commit code to local branch
git add foo/bar.java
git commit -m "MH-1234, fixed typo" foo/bar.java
4. Local: Push branch to Bitbucket
git push -u origin b/MH-1234-short-descrip
* You can do this before you have any code committed but it doesn't show
up in Bitbucket until you do
5. Local: Optional commit and push further changes to the branch
git add foo/bar2.java
git commit -m "MH-1234, fixed yet another typo" foo/bar2.java
git push
6. Bitbucket: Create pull request
https://bitbucket.org/opencast-community/matterhorn
Top right "Branch" button
Select b/MH-1234-short-descrip branch on the left and the r/1.4.1 on the
right
Add title: "MH-1234, fixed all the typos"
Reviewers: Greg Logan (for some reason it searches every bitbucket user
not just those in the Team)
Close branch?
7 JIRA: Add the pull request to the ticket MH-1234:
https://bitbucket.org/opencast-community/matterhorn/pull-request/1234/mh-1234-fixed-yet-another-typo
Resolve as Fixed Needs Review and assign to Greg Logan.
Regards
James
--
------------------------------------------------------------------------
James S. Perrin
Media Technologies Team
Devonshire House, University Precinct
The University of Manchester
Oxford Road, Manchester, M13 9PL
t:
+44 (0) 161 275 6945
e:
james....@manchester.ac.uk
w:
www.manchester.ac.uk/researchcomputing
------------------------------------------------------------------------
"The test of intellect is the refusal to belabour the obvious"
- Alfred Bester
------------------------------------------------------------------------