Contribuire alla subquery

SubQuery TeamAbout 2 min

Contribuire alla subquery

Benvenuto e un grande grazie per aver considerato di contribuire a questo progetto SubQuery! Insieme possiamo aprire la strada verso un futuro più decentralizzato.

Note This documentation is actively maintained by the SubQuery team. We welcome your contributions. You can do so by forking our GitHub project and making changes to all the documentation markdown files under the `docs` directory. :::

What follows is a set of guidelines (not rules) for contributing to SubQuery. Following these guidelines will help us make the contribution process easy and effective for everyone involved. It also communicates that you agree to respect the time of the developers managing and developing this project. In return, we will reciprocate that respect by addressing your issue, considering changes, collaborating on improvements, and helping you finalise your pull requests.

Codice di condotta

We take our open source community projects and responsibility seriously and hold ourselves and other contributors to high standards of communication. By participating and contributing to this project, you agree to uphold our Code of Conductopen in new window.

Come iniziare

Contributions to our repositories are made through Issues and Pull Requests (PRs). A few general guidelines that cover both:

  • Cerca le questioni e i PR esistenti prima di crearne uno tuo.
  • Lavoriamo duramente per assicurarci che i problemi siano gestiti tempestivamente ma, a seconda dell'impatto, potrebbe essere necessario un po' di tempo per indagare sulla causa principale. Un'amichevole menzione @ nel thread dei commenti al presentatore o a un collaboratore può aiutare ad attirare l'attenzione se il tuo problema è bloccante.

Come contribuire

Segnalazione di bug

Bugs are tracked as GitHub issues. When logging an issue, explain the problem and include additional details to help maintainers reproduce the problem:

  • Usate un titolo chiaro e descrittivo per la questione per identificare il problema.
  • Descrivete i passi esatti per riprodurre il problema.
  • Descrivi il comportamento che hai osservato dopo aver seguito i passi.
  • Spiega quale comportamento ti aspettavi di vedere invece e perché.
  • Includi degli screenshot se possibile.

Invio di richieste di pull

In general, we follow the "fork-and-pull" Git workflow:

  • Fork the repository to your own Github account.
  • Clone the project to your machine.
  • Create a branch locally with a succinct but descriptive name.
  • Commit changes to the branch.
  • Following any formatting and testing guidelines specific to this repo.
  • Push changes to your fork.
  • Open a PR in our repository.

Convenzioni di codifica

Messaggi di commit di Git

  • Use the present tense ("Add feature" not "Added feature").
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
  • Limit the first line to 72 characters or less.

JavaScript Styleguide

  • All JavaScript code is linted with Prettier and ESLint.