Dear all,
I need some clarification on OpenMRS release process.
- Suppose that I’m working on fileA.java on my own branch (trunk-123) and I haven’t merged it with my master yet. The branch spawns to resolve an issue (according to the guide)
- I’m done with testA.java, I have committed it on its own branch before merging it with the master, I execute a pull request to align my master with the upstream.
- After pulling the upstream, some files are merged with their counterpart in my master (let’s say fileB.java has been updated with the content of the upstream)
- I merge the branch with my master (for the sake of simplicity there is no conflict)
- I commit on the remote fork repository (origin/master)
- I make a pull request to merge my fork repository with the project repository Now, in the commit (step 5), there would be my modification on fileA.java and also the update from the upstream, fileB.java (step 3). Is it fine for you to receive a pull request (step 6) which include also the update from upstream (fileA.java and fileB.java)? or you need a commit with only my modification (only fileA.java)?
Alternatively, as this video suggests:
- I’m working on fileA.java on my own branch (trunk-123) and I haven’t merged it with my master yet.
- When I’m done, I push the modification on the branch
- I make a pull request to merge in the “project repository” my commits available in my branch (trunk-123)
Here, I do not update my repository before the pull request.
What is the “best way” to contribute on the project? Thank you in advance,