Thank you for investing your time in contributing to our project. Read our Code of Conduct to keep our community approachable and respectable.
In this guide you will get an overview of the contribution workflow from requesting access, opening an issue, creating a PR, reviewing, and merging the PR.
To get an overview of the project, and how to set up locally, read the README file.
If you are new to Git and/or Azure DevOps, here are some resources to help you get started with Azure DevOps git repositories:
Before you start contributing, please take a moment to:
-
Read the Governance Model to understand:
- Roles and Responsibilities: Understand the roles of maintainers, reviewers, and contributors.
- Decision-Making Process: Learn how decisions are made, including the criteria for accepting contributions.
- Escalation Pathways: Know how to raise concerns or propose changes to the guidelines or project direction.
-
Familiarize yourself with the Contribution Guidelines outlined on the Wiki. These guidelines provide an overview of how to get started, including the steps for requesting contributor access and understanding the permissions granted upon approval.
After receiving approval, you can start contributing in the following ways:
If you spot a problem, search if an issue already exists. If a related issue doesn't exist, you can create a new issue in the backlog. To create a new issue follow the steps below:
-
On the backlog page, click on
New Work Itembutton. Provide a title for the issue and clickAdd To Top. IfAdd to Topoption is not visible select from the drop down -
Click on the newly created issue and add more details under description.
-
Select the area and iteration relevant to the repository e.g.
- For this repository i.e.
rsp-usermanagement-service, the area should beUser Management. - The iteration should always be set to
Research System Programme\Backlog, only Maintainers and Project Leads cna change the iteration.
- For this repository i.e.
-
The issue will be picked up in planning, and will be triaged
-
You can start the discussion using the Discussion section under the issue.
-
The updates will be provided under the Discussion section
Scan through our existing issues to find one that interests you. You can narrow down the search using filters. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to assign it to yourself, and open a PR with a fix.
Follow these steps to get started
-
Fork the repository: Create a copy of the repository to work on independently.
-
Clone the repository: Use the command below to clone the repository to your local machine:
git clone https://FutureIRAS@dev.azure.com/FutureIRAS/Research%20Systems%20Programme/_git/rsp-usermanagement-service
-
Create a branch: Use a descriptive name for your branch: As a general rule, use the format [issue number]-[issue-description]. An issue description should be a couple of words, separated by hyphen.
git checkout -b <branch-name>
-
Make your changes: Implement your fixes, improvements, or new features.
-
Test your changes: Ensure your modifications are functional and do not break existing features.
-
Write Unit/Integration Tests: Your fix should be supported by unit tests and integration tests if necessary. Please check how the existing tests are implemented and follow the same pattern.
-
Commit your changes: Before you commit your changes, please read the general Commit Verification Checklist.
Use the following command to commit
# at the root of the project type git add . # followed by git commit
One the editor is open for adding a message use clear and concise commit messages in the following format. We use Semantic Versioning to increment the version. Please use the following keywords in the commit message for automatic versioning.
+semver:breakingfor major version update e.g. 1.0.01+semver:featurefor minor version update e.g. 0.1.0+semver:fixfor revision/patch version update e.g. 0.0.1
+semver:feature [Issue Number]: [Issue Description] - Details of changes 1 - Details of changes 2 - Sub details 1 - Sub details 2
-
Push your changes: Upload your branch to the repository:
git push origin <branch-name>
-
Create a pull request: When you're finished with the changes, create a pull request, also known as a PR. Follow the steps below for creating a PR.
Navigate to the repository in Azure DevOps and submit a pull request for review.
-
Fill the in the template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
-
Don't forget to link PR to issue if you are solving one.
-
Once you submit your PR, a team member will review your proposal. We may ask questions or request additional information via PR comments.
-
We may ask for changes to be made before a PR can be merged, either using suggested changes or pull request comments. You can apply suggested changes directly through the UI or you can make the suggested or any other changes in your fork, then commit them to your branch.
-
As you update your PR and apply changes, mark each conversation as Resolved.
-
If you run into any merge issues, checkout this tutorial to help you resolve merge conflicts and other issues.
Congratulations. The HRA team thanks you.
Once your PR is merged, your contributions will be acknowledged in release notes.
For further assistance, please contact us at contribute@hra.nhs.uk.


