Skip to content

Commit f5b802b

Browse files
committed
One proofread cycle
Reasonable, but not ready yet.
1 parent 3178ea9 commit f5b802b

File tree

7 files changed

+45
-101
lines changed

7 files changed

+45
-101
lines changed

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
title: Humanitarian Toolbox Developer Guide
1010
1111
description: > # this means to ignore newlines until "baseurl:"
12-
Write an awesome description for your new site here. You can edit this
13-
line in _config.yml. It will appear in your document head meta (for
14-
Google search results) and in your feed.xml site description.
12+
Developer guidelines for working on HTbox projects.
1513
baseurl: "" # the subpath of your site, e.g. /blog
16-
url: "http://yourdomain.com" # the base hostname & protocol for your site
14+
url: "http://htbox.org" # the base hostname & protocol for your site
1715
twitter_username: htbox
1816
github_username: htbox
1917

2018
# Build settings
2119
markdown: kramdown
2220

21+
kramdown:
22+
input: GFM

building-the-project.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
---
22
layout: default
33
---
4-
#Building the project
4+
# Building the project
55

6-
##TL;DR version
6+
## TL;DR
77

8-
It's likely a Visual Studio based .NET project. Load the appropriate .sln and buld.
8+
> It's likely a Visual Studio based .NET project. Load the appropriate .sln and build.
99
10-
##Longer version:
10+
## Long version
1111

12-
Some of our projects have both web and mobile components. Those will have a master solution,
13-
that builds everything. They will also have a -web solution that only builds the web based
14-
application. They may also have a -mobile solution that builds only the mobile applications.
12+
Some of our projects have both web and mobile components. Those will have a master solution, that builds everything. They will also have a -web solution that only builds the web based application. They may also have a -mobile solution that builds only the mobile applications.
1513

1614
Load the appropriate solution, and build it.
1715

18-
All our projects have some unit tests. The amount of coverage varies with the origins
19-
of the projects. In all cases, we encourage contributors to help add to the unit test coverage.at whatever adfadf
20-
For those projects where we do have good coverage, we may even reject pull requests without
21-
the addition of new tests that exercise the code being developed.
16+
All our projects have some unit tests. The amount of coverage varies with the origin of the projects. In all cases, we encourage contributors to help add to the unit test coverage. For those projects where we do have good coverage, we may even reject pull requests without the addition of new tests that exercise the code being developed.
2217

doing-the-work.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,17 @@
22
layout: default
33
---
44

5-
#Doing the work
5+
# Doing the work
66

7-
##TL;DR version
7+
## TL;DR
88

9-
Work as you normally would, commit and push your changes at the cadence that works for you.
10-
Please make one Pull Request for one Issue, rather than fixing several issues in on PR. It's much
11-
easier for us to review and merge when a PR is focused on one issue.
9+
> Work as you normally would, commit and push your changes at the cadence that works for you. Please make one Pull Request for one Issue, rather than fixing several issues in on PR. It's much easier for us to review and merge when a PR is focused on one issue.
1210
13-
##Long Version:
11+
## Long Version
1412

15-
There are a few steps here that can help us review your pull request and ensure a smooth process
16-
when we take your code. All the tips described here make it easier for us to merge your changes
17-
with changes being made by other developers.
13+
There are a few steps here that can help us review your pull request and ensure a smooth process when we take your code. All the tips described [here](/submitting-a-pull-request.html) make it easier for us to merge your changes with changes being made by other developers. On at least a daily basis, rebase the changes you are making on the master branch. This ensures that when you have completed your work, it merges easily into the master branch.
1814

19-
On at least a daily basis, rebase the changes you are making on the master branch <link>. This
20-
ensures that when you have completed your work, it merges easily into the master branch.
15+
We recommend rebasing instead of merging the master branch into your fork because that creates a cleaner pull request.
2116

22-
We recommending rebasing instead of merging the master branch into your fork because thaA creates a
23-
cleaner pull request.
24-
25-
Consider squash commits. A squash commit combines several original commit actions into one commit.
26-
The result is a single commit that shows all your changes. This isn't necessary, but if you are
27-
comfortable doing it, please do.
17+
Consider squash commits. A squash commit combines several original commit actions into one commit. The result is a single commit that shows all your changes. This isn't necessary, but if you are comfortable doing it, please do.
2818

finding-a-task.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,23 @@
22
layout: default
33
---
44

5-
#Finding A Task
5+
# Finding A Task
66

7-
##TL;DR version:
7+
## TL;DR
88

9-
Look at the issues page for a project, select the Milestones tabl, and select the current
10-
milestone. Those are the items for the current sprint. If this is your first time helping us,
11-
look for issues tagged with the 'JumpIn' label. When you find one you like, write a comment saying
12-
"I'll work on this". One of the team will reach out to you, and see if you have any questions.
9+
> Look at the issues page for a project, select the Milestones tab, and select the current milestone. Those are the items for the current sprint. If this is your first time helping us, look for issues tagged with the 'JumpIn' label. When you find one you like, write a comment saying "I'll work on this". One of the team will reach out to you, and see if you have any questions.
1310
14-
##Long Version
11+
## Long Version
1512

16-
We use Github issues to manage work. This could be proposed features, tasks under a feature, bugs,
17-
and suggestions. We manage the backlog by using Milestones. Every project has a current milestone, and a
18-
backlog milestone. Issues assigned to the current milestone represent priority items in the current
19-
sprint. Issues assigned to the backlog milestone have been triaged and accepted, but have not been assigned any
20-
specific milestone.
13+
We use Github issues to manage work. This could be proposed features, tasks under a feature, bugs, and suggestions. We manage the backlog by using Milestones. Every project has a current milestone, and a backlog milestone. Issues assigned to the current milestone represent priority items in the current sprint. Issues assigned to the backlog milestone have been triaged and accepted, but have not been assigned any specific milestone.
2114

22-
Some projects have other upcoming milestones, based on customer needs, upcoming pilots, or upcoming
23-
releases.
15+
Some projects have other upcoming milestones, based on customer needs, upcoming pilots, or upcoming releases.
2416

25-
In addition, we label issues to provide some additional guidance. Withing a milestone, we will use the 'P1',
26-
'P2' and 'P3' milestones to mark the priority of a task or feature. (P1 is the highest, P3 is the lowest.)
27-
In addition, we use the 'JumpIn' label (which is always green on our projects) to denote issues that would
28-
be suitable for someone not yet familiar with the project. The 'JumpIn' issues may not always represent
29-
simple fixes, but they do represent work that does not require a deep knowlege of the code base, or a deep
30-
knowledge of the business workflow for a project.
17+
In addition, we label issues to provide some additional guidance. Within a milestone, we will use the 'P1', 'P2' and 'P3' labels to tag the priority of a task or feature. (P1 is the highest, P3 is the lowest.) In addition, we use the 'JumpIn' label (which is always green on our projects) to denote issues that would be suitable for someone not yet familiar with the project. The 'JumpIn' issues may not always represent simple fixes, but they do represent work that does not require a deep knowlege of the code base, or a deep knowledge of the business workflow for a project.
3118

3219
Other labels are project-specific and will be documented for that project.
3320

3421
Tag yourself in a comment saying that you're working on an issue, and we'll start the converation.
3522

36-
You may notice that you can't assign yourself to work on an issue. That privilege is limited to the
37-
core team. Also, we can only assign issues to registered team members. If you enjoy
38-
working on our projects, we'll add you to the team, and we will assign tasks when you tag yourself.
23+
You may notice that you can't assign yourself to work on an issue. That privilege is limited to the core team. Also, we can only assign issues to registered team members. If you enjoy working on our projects, we'll add you to the team, and we will assign tasks when you tag yourself.
3924

getting-the-code.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,16 @@
22
layout: default
33
---
44

5-
#Getting the Code
5+
# Getting the Code
66

7-
##TL;DR version
7+
## TL;DR
88

9-
Fork the repository. Clone your fork using your favorite Git client tool
9+
> Fork the repository. Clone your fork using your favorite Git client tool
1010
11-
##Long version:
11+
## Long version
1212

13-
We use the Github Flow process on all our projects (link). That means you are not commiting your
14-
changes directly to our repositories. Instead, you will submit a Pull Request for one of the
15-
lead committers to pull your changes into our repository. That enables us to review your
16-
changes, and discuss them with you. We even use this process ourselves: other core team members
17-
review our changes and pull them into the repository.
13+
We use the [Github Flow](https://guides.github.com/introduction/flow/index.html) process on all our projects. That means you are not commiting your changes directly to our repositories. Instead, you will submit a Pull Request for one of the lead committers to pull your changes into our repository. That enables us to review your changes, and discuss them with you. We even use this process ourselves: other core team members review our changes and pull them into the repository.
1814

19-
The first step in this process is to get the code onto your machine, configured with a
20-
github repository where you can commit your changes. You do that by creating a fork of
21-
the project repository in your account. You (and only you) have write access to your fork.
15+
The first step in this process is to get the code onto your machine, configured with a github repository where you can commit your changes. You do that by creating a fork of the project repository in your account. You (and only you) have write access to your fork.
2216

23-
Now, you can clone your fork onto your desktop. You'll commit your changes locally, and
24-
then push them to your fork on github.
17+
Now, you can clone your fork onto your desktop. You'll commit your changes locally, and then push them to your fork on github.

responding-to-reviews.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,12 @@ layout: default
33
---
44

55

6-
#Responding to Reviews
6+
# Responding to Reviews
77

8-
##TL;DR;
8+
## TL;DR
99

10-
If you update your code, and push to your fork, github automatically updates the PR. We'll see the
11-
changes. If you disagree with the review, please comment on the code, and tell us why your
12-
approach is better. We may or may not approve it, but we will listen.
10+
If you update your code, and push to your fork, github automatically updates the PR. We'll see the changes. If you disagree with the review, please comment on the code, and tell us why your approach is better. We may or may not approve it, but we will listen.
1311

14-
##Long Version
12+
## Long Version
1513

16-
Reviews are especially important when you are making your first PR for us. It's a way to have
17-
a conversation about the code as you make it. We appreciate the volunteer contributions we receive, and
18-
we value your time. We'd rather help comment early then reject work.
19-
20-
We review PRs (even WIP PRs) once a day, and we will give actionable feedback. Please respond in the
21-
same tone we use. We want great projects, and we respect your time and contribution. The people reviewing
22-
code are also volunteers and expect to receive the same respect.
14+
Reviews are especially important when you are making your first PR for us. It's a way to have a conversation about the code as you make it. We appreciate the volunteer contributions we receive, and we value your time. We'd rather help comment early then reject work. We review PRs (even WIP PRs) once a day, and we will give actionable feedback. Please respond in the same tone we use. We want great projects, and we respect your time and contribution. The people reviewing code are also volunteers and expect to receive the same respect.

submitting-a-pull-request.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,18 @@
22
layout: default
33
---
44

5-
#Submitting a Pull Request
5+
# Submitting a Pull Request
66

7-
##TL;DR;
7+
## TL;DR
88

9-
When you're doing with an issue, submit a pull request and we'll take a look.
9+
> When you're done with all the code for an issue, submit a pull request and we'll take a look.
1010
11-
##Long Version;
11+
## Long Version
1212

13-
You don't have to wait until all your work is done in order to send us a pull request. If you want
14-
the core team to look at your code, but not accept the changes yet, open a pull request, and prefix the
15-
title with 'WIP'. That tells us to review the code, but that it is not done, and is not yet ready to merge.
16-
When you are finished, and the PR is ready to merge, simply remove 'WIP' from the PR tktle, and we'll
17-
give it a final look, and merge it.
13+
You don't have to wait until all your work is done in order to send us a pull request. If you want the core team to look at your code, but not accept the changes yet, open a pull request, and prefix the title with 'WIP'. That tells us to review the code, but that it is not done, and is not yet ready to merge. When you are finished, and the PR is ready to merge, simply remove 'WIP' from the PR tktle, and we'll give it a final look, and merge it.
1814

19-
When you submit a pull request, an automated build (using AppVeyor) will merge your changes onto
20-
a copy of the master repository, build that configuration, and run all automated tests.
15+
When you submit a pull request, an automated build (using AppVeyor) will merge your changes onto a copy of the master repository, build that configuration, and run all automated tests. If any of those steps fail, we will ask you to fix them before we accept the pull request. (We don't comment on this if you've labelled the PR 'WIP'.)
2116

22-
If any of those steps fail, we will ask you to fix them before we accept the pull request. (We don't
23-
comment on this if you've labelled the PR 'WIP'.)
24-
25-
We ask you to resolve any merge conflicts because you know your code the best. This article <link>
26-
shows how to update your fork from master.
27-
28-
Ideally, you can rebase your changes on the lastest version of mster. Here's a quick video that
29-
shows how to do that.
17+
We ask you to resolve any merge conflicts because you know your code the best. This [article](http://thebillwagner.com/Blog/Item/2015-08-18-IforgottoforkbeforeIstartedworkingandhowtofixit) shows how to update your fork from master.
3018

19+
Ideally, you can rebase your changes on the lastest version of mster.

0 commit comments

Comments
 (0)