Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Portfolio Projects · Build It Yourself · about 14 min to read

Play it as a journeyTutor comes with a plan

P10: Your first merged PR

S1 - Build Your Own Database
S1 - Build Your Own Database · Open board

The board shows one project laid out in parts you can read one by one. Someone else’s project is the same: a set of parts, and your first change touches only one of them.

In May 2019 GitHub added a list of “good first issues” to its pages, so that a person new to open source could find a small task to start with. It had a problem. It worked only from labels that the project’s own people had typed onto issues. About 40 percent of the projects it recommended to a user had even one easy issue to show. In January 2020 an engineer at GitHub, Tiferet Gazit, wrote how the team fixed it: they trained a model to read an issue’s title and body and guess whether a newcomer could do it. After that, easy issues showed up in about 70 percent of the recommended projects.

So the first problem a newcomer has is not code. It is finding a task that is small, that the project wants, and that someone will look at. By the end of this lesson you will be able to pick an open-source project, read enough of it to change it, choose a small issue, send your change, and handle the review until it is merged.

The history (optional)

The numbers and the method above are from the GitHub Blog post “How we built the good first issues feature”, by Tiferet Gazit, published 22 January 2020. The earlier version, launched in May 2019, used about 300 label names that meant “good first issue” or “documentation”.

Before you start. You need Git: the ledger every change signs (commits, branches, merge and rebase), which showed that a commit is a snapshot with a hash and that a branch is a small file pointing at one commit. You need Git for a team: trunk, protection, bisect and monorepos, which showed the review flow: a short branch, a pull request, checks, a reviewer, a merge. You need A repo a stranger can judge in two minutes, which showed how a stranger reads a project page. This time you are the stranger, reading someone else’s page.

Lesson 17 of 19 in Portfolio Projects

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The project: pick one that will answer you
  • The CONTRIBUTING file: the project’s own rules
  • Reading the code: find the one part you need
  • A good first issue: small, clear and wanted
  • The fork and the pull request
  • The review loop: what happens after you press the button
  • What goes on your page afterwards
  • A checker for the project choice
  • The size of a first change
  • Trade-offs and edge cases

Terms it explains: maintainer, CONTRIBUTING file, good first issue, fork, pull request, review, compaction, log-structured, offset, WAL.

Review Portfolio Projects