From db1e2c2ccdb5a794672b6d5d343ed05d7489a1b3 Mon Sep 17 00:00:00 2001 From: thejesh23 <35212698+thejesh23@users.noreply.github.com> Date: Fri, 27 Nov 2026 18:13:17 -0800 Subject: [PATCH] Lessons 02, 05, 08, 09, 11, 12, 15: link a worked example A fresh account went through the course end to end. Each lesson now links the matching pull request or issue, labelled as made for this course. Co-Authored-By: Claude Opus 5.5 --- lessons/02-first-pr-in-browser/README.md | 2 ++ lessons/05-second-pr-from-terminal/README.md | 2 ++ lessons/08-finding-an-issue/README.md | 2 +- lessons/09-opening-an-issue/README.md | 2 ++ lessons/11-opening-the-pull-request/README.md | 2 ++ lessons/12-ci-and-review/README.md | 2 ++ lessons/15-capstone/README.md | 2 ++ 7 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lessons/02-first-pr-in-browser/README.md b/lessons/02-first-pr-in-browser/README.md index 4421527..3133d81 100644 --- a/lessons/02-first-pr-in-browser/README.md +++ b/lessons/02-first-pr-in-browser/README.md @@ -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 → diff --git a/lessons/05-second-pr-from-terminal/README.md b/lessons/05-second-pr-from-terminal/README.md index 310f4cf..ebffec8 100644 --- a/lessons/05-second-pr-from-terminal/README.md +++ b/lessons/05-second-pr-from-terminal/README.md @@ -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 diff --git a/lessons/08-finding-an-issue/README.md b/lessons/08-finding-an-issue/README.md index 3241f64..9e7bf1a 100644 --- a/lessons/08-finding-an-issue/README.md +++ b/lessons/08-finding-an-issue/README.md @@ -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:** diff --git a/lessons/09-opening-an-issue/README.md b/lessons/09-opening-an-issue/README.md index 3347a92..44edcea 100644 --- a/lessons/09-opening-an-issue/README.md +++ b/lessons/09-opening-an-issue/README.md @@ -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/). diff --git a/lessons/11-opening-the-pull-request/README.md b/lessons/11-opening-the-pull-request/README.md index 1522eaf..bf950fe 100644 --- a/lessons/11-opening-the-pull-request/README.md +++ b/lessons/11-opening-the-pull-request/README.md @@ -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/` diff --git a/lessons/12-ci-and-review/README.md b/lessons/12-ci-and-review/README.md index 53b5be2..6655e95 100644 --- a/lessons/12-ci-and-review/README.md +++ b/lessons/12-ci-and-review/README.md @@ -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 diff --git a/lessons/15-capstone/README.md b/lessons/15-capstone/README.md index ca81578..93f7720 100644 --- a/lessons/15-capstone/README.md +++ b/lessons/15-capstone/README.md @@ -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)