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
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,43 +12,43 @@ For UW Bothell students interested in working in the BCL, we use a [shared repos
12
12
13
13
## Workflow
14
14
15
-
- Please read up on Github basics (including [GitHub Issues](https://help.github.com/categories/managing-your-work-on-github/)).
15
+
- Please read up on Github basics (including [GitHub Issues](https://docs.github.com/en/issues/tracking-your-work-with-issues)).
16
16
- Seek the guidance of more senior lab members regarding how to get started.
17
17
- Please ***DO NOT WORK DIRECTLY ON THE MASTER BRANCH***.
18
18
- Instead, please follow the lab workflow that follows.
19
19
20
-
0. Review our [Code Formatting Etiquette](https://uwb-biocomputing.github.io/Graphitti/Developer/codingConventions.html) and [C++ design and Coding standards](https://uwb-biocomputing.github.io/Graphitti/Developer/cppStyleGuide.html). Your work will be rejected if it doesn't conform (in fact, your pull requests will fail our code style check in many cases).
20
+
1. Review our [Code Formatting Etiquette](https://uwb-biocomputing.github.io/Graphitti/Developer/codingConventions.html) and [C++ design and Coding standards](https://uwb-biocomputing.github.io/Graphitti/Developer/cppStyleGuide.html). Your work will be rejected if it doesn't conform (in fact, your pull requests will fail our code style check in many cases).
21
21
22
-
1. Your work should be in response to one or more _issues_. If you are planning to work on something that is a small part of an existing issue, then likely that issue is a placeholder "umbrella" that was generated in lieu of thinking through all related details. In that case, now is the time for you to think it through and break that issue down into actionable items — new issues that partially or completely replace the umbrella.
22
+
2. Your work should be in response to one or more _issues_. If you are planning to work on something that is a small part of an existing issue, then likely that issue is a placeholder "umbrella" that was generated in lieu of thinking through all related details. In that case, now is the time for you to think it through and break that issue down into actionable items — new issues that partially or completely replace the umbrella.
23
23
24
-
2. When creating an issue, ensure that it is not a duplicate of an existing one. At Graphitti, we value proper etiquette for issue management. The issue title should be concise and descriptive, starting with action verbs. The issue body should provide all the necessary details, including a description section and tasks section.
24
+
3. When creating an issue, ensure that it is not a duplicate of an existing one. At Graphitti, we value proper etiquette for issue management. The issue title should be concise and descriptive, starting with action verbs. The issue body should provide all the necessary details, including a description section and tasks section.
25
25
26
-
3. Assign yourself to those issue(s).
26
+
4. Assign yourself to those issue(s).
27
27
28
-
4. Create a new feature branch for your work. The branch name should be prefixed with issue number followed by a short description of the issue i.e., **issue-3141-add-documentation-cereal**.
28
+
For more information on our GitFlow, please review our [GitFlow Documentation](docs/Developer/GitFlowDiagram.md) to better understand our modifications regarding merging the development branch.
29
+
30
+
5. Create a new feature branch for your work. The branch name should be prefixed with issue number followed by a short description of the issue i.e., **issue-3141-add-documentation-cereal**.
29
31
Use lowercase letters & hyphens to separate words. Additionally, you can add a comment to the issue(s) including a link to the feature branch (unless you are going to create a pull request right away).
30
32
31
-
5. Make changes to the feature branch (commit/push).
33
+
6. Make changes to the feature branch (commit/push).
32
34
33
-
6. Create a pull request for your branch, whether early or later in your work, to merge into the development branch (not master). Start the pull request title with the issue number, such as **[ISSUE-3141] Add documentation on cereal**.
35
+
7. Create a pull request for your branch, whether early or later in your work, to merge into the development branch (not master). Start the pull request title with the issue number, such as **[ISSUE-3141] Add documentation on cereal**.
34
36
In the pull request description, tag your issue and provide a brief overview of the changes for the reviewer. Additionally, ensure to perform the following actions in the right-hand column of the pull request page:
35
37
36
38
- Assign the pull request to yourself.
37
39
- Attach appropriate labels to the pull request.
38
40
- Link the issue(s) you're working on to this pull request (under "Development", for some reason).
39
41
40
-
For more information on pull requests, you can read the following guide: [pull requests](http://help.github.com/pull-requests/)
42
+
For more information on pull requests, you can read the following guide: [pull requests](https://docs.github.com/en/pull-requests)
41
43
42
-
6. Before requesting a review of your pull request, *check that your haven't broken anything*. This means checking that all of our automated GitHub actions have passed their tests (this will show directly in the pull request) and that any required manual tests have passed. Some of our tests take a while to run, so rather than do them for every commit to a pull request, we just run them manually when such requests are close to done. Also, GitHub can only test the CPU version of the simulator, so you need to run GPU tests manually. If in doubt, ask someone.
44
+
8. Before requesting a review of your pull request, *check that your haven't broken anything*. This means checking that all of our automated GitHub actions have passed their tests (this will show directly in the pull request) and that any required manual tests have passed. Some of our tests take a while to run, so rather than do them for every commit to a pull request, we just run them manually when such requests are close to done. Also, GitHub can only test the CPU version of the simulator, so you need to run GPU tests manually. If in doubt, ask someone.
43
45
44
-
7. Request a review of your pull request. If you have a designated reviewer, ask that person; otherwise, ask Prof. Stiber or ask during a lab meeting who should review your pull request.
46
+
9. Request a review of your pull request. If you have a designated reviewer, ask that person; otherwise, ask Prof. Stiber or ask during a lab meeting who should review your pull request.
45
47
46
-
8. When your pull request is approved, you can merge it.
48
+
10. When your pull request is approved, you can merge it.
47
49
48
-
9. Once you've verified that the merge is done, you can delete your feature branch.
50
+
11. Once you've verified that the merge is done, you can delete your feature branch.
49
51
50
52
***Please document what you've done***, not only in your commit messages but also with useful comments in code and via changes to the github pages content in the docs directory.
51
53
52
54
***Please write unit tests.*** Every time you touch a file, you should review the existing unit tests and think of at least one new one to add.
0 commit comments