Saltar al contenido ForoHackers

Open source: start here

Código abierto
#3361 · · Citar · 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

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder