You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-73Lines changed: 9 additions & 73 deletions
Original file line number
Diff line number
Diff line change
@@ -60,10 +60,6 @@ Please see the section on [project management through issues](#project-managemen
60
60
61
61
## Contributing through GitHub
62
62
63
-
[git](https://git-scm.com) is a really useful tool for version control. [GitHub](https://github.com) sits on top of git and supports collaborative and distributed working.
64
-
We know that it can be daunting to start using `git` and `GitHub` if you haven't worked with them in the past, but the team are happy to help you figure out any of the jargon or confusing instructions you encounter! :heart:
65
-
In order to contribute via GitHub you'll need to set up a free account and sign in. Here are some [instructions](https://docs.github.com/en/get-started/signing-up-for-github/signing-up-for-a-new-github-account) to help you get going.
66
-
67
63
We use the [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow).
68
64
69
65
<palign="center">
@@ -101,93 +97,33 @@ Good examples of issues are
101
97
102
98
When opening an issue, pick a suitable template (if possible) to make the process easier.
103
99
104
-
### Writing in Markdown
105
-
106
-
GitHub has a helpful page on [getting started with writing and formatting on GitHub](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github).
107
-
108
-
Most of the writing that you'll do will be in [Markdown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).
109
-
You can think of Markdown as a few little symbols around your text that will allow GitHub to render the text with a little bit of formatting.
110
-
For example you could write words as bold ( `**bold**` ), or in italics ( `*italics*` ), or as a [link](https://youtu.be/dQw4w9WgXcQ) ( `[link](https://youtu.be/dQw4w9WgXcQ)` ) to another webpage.
111
-
112
-
`GitHub` issues render markdown really nicely.
113
-
The goal is to allow you to focus on the content rather than worry too much about how things are laid out!
114
-
115
100
### Project management through issues
116
101
117
-
Please regularly check out the agreed upon tasks at the [issues list][https://github.com/alan-turing-institute/data-safe-haven/issues].
118
-
Every issue should have labels assigned to it from the following scheme.
119
-
At least one label from each category ( `type` , `affected` and `severity` ) should be assigned to each issue - don't worry if you need to change these over time, they should reflect the current status of the issue.
Other labels which may or may not be relevant are meta labels (for collecting related issues) and the "good first issue" label for signalling issues that new contributors might like to tackle.
128
-
If an issue is closed without being completed, one of the `closed` labels should be attached to it to explain why.
Please regularly check out the agreed upon tasks at the [issues list](https://github.com/alan-turing-institute/data-safe-haven/issues).
103
+
Issues should be tagged with an appropriate [label](https://github.com/alan-turing-institute/data-safe-haven/issues/labels) by a member of the development team.
104
+
Each issue should be assigned to an appropriate [milestone](https://github.com/alan-turing-institute/data-safe-haven/milestones).
135
105
136
-
If you have an idea for a piece of work to complete, please **open an issue**.
137
106
If you have been assigned an issue, please be ready to explain in the [project meeting](#project-meetings) what your progress has been.
138
107
In a perfect world you'll have completed the task, documented everything you need to and we'll be able to **close** the issue (to mark it as complete).
139
108
140
109
### Issues as conversations
141
110
111
+
If you have an idea for a piece of work to complete, please **open an issue**.
112
+
142
113
The name `issue` comes from a concept of catching errors (bugs :bug:) in software, but for this project they are simply our **tasks**.
143
-
They should be concrete enough to be done in a week or so.
144
114
If an issue is growing to encompass more than one task, consider breaking it into multiple issues.
145
115
146
116
You can think of the issues as **conversations** about a particular topic.
147
117
`GitHub`'s tagline is **social coding** and the issues are inspired by social media conversations.
148
-
149
-
You can [mention a user](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#mentioning-people-and-teams) by putting `@` infront of their github id.
150
-
For example, `@KirstieJane` will send a notification to `Kirstie Whitaker` so she knows to visit the issue and (for example) reply to your question.
151
-
152
118
Alternatively (and this is encouraged) you can use the issue to keep track of where you're up to with the task and add information about next steps and barriers.
To contribute to the codebase you'll need to submit a **pull request**.
161
-
162
-
If you're updating the code or other documents in the repository, the following steps are a guide to help you contribute in a way that will be easy for everyone to review and accept with ease :sunglasses:.
163
-
164
-
#### 1. Make sure there is an issue for this that is clear about what work you're going to do
165
-
166
-
This allows other members of the Data Safe Haven project team to confirm that you aren't overlapping with work that's currently underway and that everyone is on the same page with the goal of the work you're going to carry out.
167
-
168
-
[This blog](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests) is a nice explanation of why putting this work in up front is so useful to everyone involved.
169
-
170
-
#### 2. Fork Data Safe Haven repository to your profile
171
-
172
-
Follow [the instructions here](https://docs.github.com/en/get-started/quickstart/fork-a-repo) to fork the [Data Safe Haven repository](https://github.com/alan-turing-institute/data-safe-haven).
173
-
174
-
This is now your own unique copy of the Data Safe Haven repository. Changes here won't affect anyone else's work, so it's a safe space to explore edits to the code or documentation!
175
-
Make sure to [keep your fork up to date](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) with the upstream repository, otherwise you can end up with lots of dreaded [merge conflicts](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts).
176
-
177
-
#### 3. Make the changes you've discussed
178
-
179
-
Try to keep the changes focused. If you submit a large amount of work in all in one go it will be much more work for whomever is reviewing your pull request. [Help them help you](https://media.giphy.com/media/uRb2p09vY8lEs/giphy.gif):wink:
180
-
If you feel tempted to "branch out" then please make a [new branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) and a [new issue](https://github.com/alan-turing-institute/data-safe-haven/issues) to go with it.
181
-
182
-
#### 4. Submit a pull request
183
-
184
-
Once you submit a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request), a member of the Safe Haven project team will review your changes to confirm that they can be merged into the codebase.
185
-
186
-
A [review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews) will probably consist of a few questions to help clarify the work you've done. Keep an eye on your github notifications and be prepared to join in that conversation.
187
-
188
-
You can update your [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) of the data safe haven [repository](https://github.com/alan-turing-institute/data-safe-haven) and the pull request will automatically update with those changes. **You don't need to submit a new pull request when you make a change in response to a review.**
122
+
To contribute to the codebase you'll need to:
189
123
190
-
GitHub has a [nice introduction](https://docs.github.com/en/get-started/quickstart/github-flow) to the pull request workflow, but please [get in touch](#get-in-touch) if you have any questions :balloon:.
124
+
-[fork the repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) to your own GitHub profile
125
+
- make your changes [on a branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)
126
+
- submit a [pull request](https://docs.github.com/en/get-started/quickstart/github-flow)
0 commit comments