Saltar al contenido ForoHackers

Open source: start here

Código abierto
#855 · Ophuscado · · Denunciar

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

Inicia sesión o únete para responder.