Skip to the content ForoHackers
Log inJoin

Open source: start here

Open source
#3361 · · Quote · Report

Open source is software whose source code is published under a licence that lets anyone read, use, change and share it. Much of the world's infrastructure, from operating systems to compilers and databases, is built this way. It is also a way to learn: you can read real, working code and contribute to it.

Key concepts

  • The licence is the rules: it says what you may do, and what you owe in return; read it before you use or copy code.
  • Permissive and copyleft: permissive licences ask little, while copyleft licences require derived work to stay open.
  • Contributing: find an issue, discuss it, send a small change that follows the project's conventions.
  • Maintainers: people who review, merge and release, usually with limited time; make their work easier.
  • Forks: a copy that can diverge, whether to experiment, to carry a fix or to continue a project.

Vocabulary

  • Upstream: the original project that a fork or a downstream copy tracks.
  • Issue: a report of a bug or a request for a feature.
  • Patch: a set of changes to source files, sent for inclusion.
  • README and contributing guide: the files that explain a project and how to help.

What to study, in order

  1. Read the licences of three projects you use, and say in a sentence what each lets you do.
  2. Build a project from source, and run its tests.
  3. Read its issue tracker and find a small, well-described bug or a documentation gap.
  4. Send a first patch: fix a typo, then a small bug, following the guide to the letter.
  5. Take part in a review of someone else's change, and learn how maintainers decide.

Related tags

#licensing #open-source-community #version-control #code-review

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply