-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathchecklist_contribute_edition.txt
More file actions
89 lines (57 loc) · 2.86 KB
/
checklist_contribute_edition.txt
File metadata and controls
89 lines (57 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Basic checklist for contributing to the NEXT EDITION
of a project that you have already forked and cloned.
If you have a correction that you wish to to contribute to the
current edition of the project, use another checklist.
0. When in doubt, do
git status
to see which branch you are on, and what files have been changed.
1. Go into the directory for the project.
2. git checkout edition
3. git pull upstream edition
4. git branch [name_of_new_branch]
5. git checkout [name_of_new_branch]
6. Do whatever work you want to do
7. git add [list of files that you changed]
git commit -m "Brief description of what you did."
It is okay to repeat 6 and 7 several times.
8. There is no step 8. This is a placeholder so that we
can refer to this step in other checklists.
9. Check your work.
This might mean building the HTML and looking at the
parts you changed.
If something is wrong, go back to step 6.
Note for Active Calculus: It is possible that "make html"
will tell you that the html is up to date (even though it isn't).
In that case, do "make -B html" to force it to remake the html.
10. git push origin [name_of_new_branch]
11. Go to your fork of the project on GitHub and submit
a pull request.
a) Check that you are on your fork on GitHub. Near the top left part
of the page it should have
your_username/the_name_of_the_project
and under that, in smaller letters, it should say
forked from the_owners_name/the_name_of_the_project
b) If you have recently done step 10 above, then on your fork there
should be a short and wide yellow rectangle partway down the page.
On the left side of the rectangle should be the name of your branch,
and on the right side should be a green button labeled
"Compare & pull request"
Click that green button.
c) You should now be on a page titled "Open a pull request".
d) Underneath the big words "Open a pull request" you should
see 4 rectangular buttons. The second button should say
base: edition
If it says base: master then click it and select base: edition .
e) Slowly scroll down that page and look at the changes you made.
If you find something that needs to be changed, hit "back" in
your browser and go to step 6 above.
f) If everything looks okay, then scroll to the top of the page
and write a useful message in the big box.
g) Click the green "Create pull request" button to the bottom left
of the big box.
If it is not obvious that your changes are only for the next
edition (and not for the current edition) then mention that.
h) Probably you are done. But if the owner wants changes before
accepting your pull request, they will leave a comment and you
will see that comment in an email. See the "intermediate"
checklist for how to make changes to an existing pull request.