Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lessons/02-first-pr-in-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Within a minute or two:
your fork (open your file, click the ✏️ pencil, commit). Your PR updates
automatically and the check runs again.

**See an example** (made for this course): [a first pull request](https://github.com/thejesh23/first-python-contribution/pull/70), opened from the fork's **Contribute** button, checked and merged by the bot 15 seconds later.

## What you just did

That's the same workflow behind every open source contribution: **fork →
Expand Down
2 changes: 2 additions & 0 deletions lessons/05-second-pr-from-terminal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ code only contains what it should. It doesn't appear in the checks list:
about a minute later it **comments** on your PR. If everything passed, a
maintainer reviews your PR and merges it.

**See an example** (made for this course): [an Exercise 2 pull request](https://github.com/thejesh23/first-python-contribution/pull/71): the title from `--fill`, the `test` check, the review bot's comment and the merge.

Read the bot's comment with:

```bash norun
Expand Down
2 changes: 1 addition & 1 deletion lessons/08-finding-an-issue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Does that sound right?
```

That shows you read the issue, checked it still happens, and have a plan,
so a maintainer can answer in one line. Then **wait** for a reply if the
so a maintainer can answer in one line. **See an example** (made for this course): [a claim and the maintainer's one-line answer](https://github.com/thejesh23/graduation-test-project/issues/2). Then **wait** for a reply if the
project assigns issues. Silence for a few days is normal.

**Don't:**
Expand Down
2 changes: 2 additions & 0 deletions lessons/09-opening-an-issue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,6 @@ Then a maintainer reviews it, and closes it. The bug has to stay for the
next learner, so here a closed report means **reviewed**, not rejected. (In
a real project, a good report stays open until the bug is fixed.)

**See an example** (made for this course): [a bug-hunt report](https://github.com/thejesh23/first-python-contribution/issues/72) made with the form, the bot's check, and the maintainer's review.

Next: [Lesson 10: making the change](../10-making-the-change/).
2 changes: 2 additions & 0 deletions lessons/11-opening-the-pull-request/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ That's the whole thing: under 60 words. **Short is good.** Long
descriptions with headings and bullet lists, for a three-line change, are
what maintainers have learned to skip (Lesson 13 shows why).

**See an example** (made for this course): [a pull request to another project](https://github.com/thejesh23/graduation-test-project/pull/3) with this shape: `Fixes #2`, what and why, and how it was tested. Merging it closed the issue.

### When the project has a template

Many projects keep a `pull_request_template.md` (in the repo root, `docs/`
Expand Down
2 changes: 2 additions & 0 deletions lessons/12-ci-and-review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ git push
Then reply on the review comment with one short line, for example:
"Added in 3f2a1b9." Naming the commit lets the reviewer check it in one click.

**See an example** (made for this course): [a review with changes requested](https://github.com/thejesh23/graduation-test-project/pull/3/files): an inline comment, the fix as a new commit, a one-line reply naming it, then approval and merge.

**Review etiquette:**

- **New commits while review is going on.** They let reviewers see exactly
Expand Down
2 changes: 2 additions & 0 deletions lessons/15-capstone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ If everything checks out, it comments 🎓, and once a maintainer merges it you
appear on the [graduates wall](../../graduates/). If not, its comment says exactly what's
wrong.

**See an example** (made for this course): [a graduate pull request](https://github.com/thejesh23/first-python-contribution/pull/73), linking [a merged contribution to another project](https://github.com/thejesh23/graduation-test-project/pull/3).

Contributed somewhere other than GitHub (GitLab, Codeberg, a mailing list)?
Congratulations, that counts too. The bot can only check GitHub, so
[open an issue](https://github.com/thejesh23/first-python-contribution/issues/new)
Expand Down
Loading