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: activity.md
+36-39Lines changed: 36 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,75 +1,72 @@
1
1
# GitHub Workflow Activity
2
2
3
+
## 1. Form teams
3
4
4
-
## Form teams
5
+
Form a of 2 or 3 person team. It's better to work with someone who is using the same operating system as you.
5
6
6
-
Form a 3-person team. If you can't form a team of 3, form a team of 2.
7
+
Each team member will sometimes be a maintainer and sometimes a contributor. Rotate roles as necessary to ensure everyone in your team gets a chance to experience each role.
7
8
8
-
Assign the following roles to the members of your team. If you are in a team
9
-
of 2, assign contributor-1 and maintainer to the same person.
10
9
11
-
Roles:
10
+
## 2. Overview
12
11
13
-
- Maintainer: Creates and maintains a GitHub project.
14
-
- Contributor-1: Contributes to the GitHub project created by the maintainer.
15
-
- Contributor-2: Contributes to the GitHub project created by the maintainer.
16
-
17
-
Switch roles occasionally. Maintainer doesn't have as much to do as the
18
-
contributors. If you do switch roles, physically switch computers. In other
19
-
words, the computers should be associated with the roles. This might mean that
20
-
the owner of the computer may have to enter his/her password for GitHub
21
-
occasionally.
12
+
In this activity your team will play out several scenarios following steps
13
+
described in _Workflow Reference_ (at the end of this document).
22
14
23
15
24
-
## Overview
16
+
## 3. Create an organization on GitHub
25
17
26
-
In this activity your team will play out several scenarios following steps
27
-
described in _GitHub Workflow Reference_ (the other document you were given).
18
+
- Name it what you like.
19
+
- Set the default permissions so that all organization members can create projects and write to any project in the organization.
20
+
- Add all team members to the organization.
28
21
29
22
30
-
## Setup the project
23
+
## 4. Create official upstream repository in organization
31
24
32
-
- Help your maintainer to create a new project on GitHub named `favorites`.
25
+
- Name it `ourfavorites`
26
+
- Give it a default README.md file.
33
27
34
28
35
-
## Contributor-1 setup
29
+
## 5. Contributor-1 setup
36
30
37
-
- Help Contributor-1 to follow _Setup: (1-4)_ to prepare his/her local and remote repositories.
31
+
- Select a team member to be Contributor-1
32
+
- Help Contributor-1 to follow _Setup: (1-4)_ in the _Workflow Reference_ to prepare his/her local and remote repositories.
38
33
39
34
40
-
## First contribution
35
+
## 6. First contribution
41
36
42
-
- Help contributor-1 to follow _Starting your contribution: (5-13)_ to add a
43
-
new file `favorite-foods.txt` that contains a couple of contributor-1's
37
+
- Help Contributor-1 to follow _Starting your contribution: (5-13)_ to add a
38
+
new file `favorite-foods.txt` that contains a couple of Contributor-1's
44
39
favorite foods.
45
-
- Help the maintainer to accept contributor-1's pull-request on GitHub.
46
-
- Help contributor-1 to follow _Update your master (27-28)_ and
40
+
- Select someone to play Maintainer (not Contributor-1).
41
+
- Help the Maintainer to accept Contributor-1's pull-request on GitHub.
42
+
- Help Contributor-1 to follow _Update your master (27-28)_ and
47
43
_Delete unneeded branches (29-31)_ to clean up.
48
44
49
-
Congratulations, your team has made its first contribution! Celebrate.
45
+
Congratulations, your team has made its first contribution! Celebrate.:clap::clap:
50
46
51
47
52
-
## Contributor-2 setup and second contribution
48
+
## 7. Contributor-2 setup and second contribution
53
49
54
50
- Help Contributor-2 to follow _Setup: (1-4)_ to prepare his/her local and remote repositories.
55
51
- Repeat the steps above to have contributor-2 contribute a new file
56
52
`favorite-movies.txt` with a couple of his/her favorite movies.
57
53
- Make sure that the maintainer has accepted contributor-2's pull-request and contributor-2 has updated their master and cleaned up.
58
54
59
-
Celebrate again.
55
+
Celebrate again.:clap::clap:
60
56
57
+
If you have 3 team members, repeat this scenario adding a file `favorite-animals.txt`.
61
58
62
-
## First synchronization
59
+
## 8. First synchronization
63
60
64
-
- Contributor-1's repositories are out of synch. Help contributor-1 follow
61
+
- Contributor-1's repositories are out of synch. Help Contributor-1 follow
65
62
_Keep your repositories up-to-date (18-23)_ to update his/her repositories.
66
63
67
-
Celebrate. But keep it small. Don't worry, there will be bigger celebrations later.
64
+
Celebrate. But keep it small. :clap:Don't worry, there will be bigger celebrations later.
68
65
69
66
70
-
## Contribute conflicting changes
67
+
## 9. Contribute conflicting changes
71
68
72
-
- Have contributor-1 and contributor-2 independently follow the contribution
69
+
- Have Contributor-1 and Contributor-2 independently follow the contribution
73
70
workflow to add another favorite food to the end of `favorite-foods.txt`.
74
71
- Maintainer, accept one of the pull-requests. Try to accept the other. You
75
72
won't be able to because changes in the pull-request conflict with the other
@@ -81,10 +78,10 @@ Celebrate. But keep it small. Don't worry, there will be bigger celebrations lat
81
78
should be acceptable. Accept the pull-request.
82
79
- Have contributors clean up.
83
80
84
-
Celebrate enthusiastically. That was challenging.
81
+
Celebrate enthusiastically. :clap::clap::clap:That was challenging.
85
82
86
83
87
-
## Multi-round contribution
84
+
## 10. Multi-round contribution
88
85
89
86
- Have contributor-1 add another food, and contributor-2 another movie.
90
87
- Have the maintainer ask for a modification through the pull-request
@@ -98,7 +95,7 @@ communicate about a proposed change. Also notice how the pull-request updates
98
95
automatically as new changes are pushed to the same branch.
99
96
100
97
101
-
## Squash
98
+
## 11. Squash
102
99
103
100
- Repeat the multi-round contribution until both contributors have made multiple
104
101
commits.
@@ -110,10 +107,10 @@ automatically as new changes are pushed to the same branch.
110
107
a single commit.
111
108
- Contributors, don't forget to clean up.
112
109
113
-
This is another moment for an enthusiastic celebration. Well done!
110
+
This is another moment for an enthusiastic celebration. :clap::clap::clap::clap::clap:Well done!
114
111
115
112
116
-
## Copyright and Licensing
113
+
## 12. Copyright and Licensing
117
114
118
115
Copyright 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED
0 commit comments