qusal/docs/CONTRIBUTING.md
2024-05-14 18:43:07 +02:00

1.8 KiB

Contributing

Qusal contribution guidelines.

Table of Contents

Respect

Be respectful towards peers.

Environment

You will need to setup you development environment before you start contributing.

Requirements

The following are the packages you need to install:

General:

  • git

For writing:

  • editorconfig
  • editorconfig plugin for your editor
  • vim, vim-jinja, vim-salt (recommended)

For linting:

  • pre-commit
  • gitlint
  • salt-lint
  • shellcheck
  • reuse

For building RPMs:

  • sed (GNU sed)
  • dnf
  • dnf-plugins-core (dnf builddep)
  • rpm
  • rpmlint
  • rpmautospec (only available in Fedora)

RPM Spec

Reference material:

Lint

Lint before you commit, please... else you will have to fix after the PR has already been sent.

Install the local hooks:

pre-commit install
gitlint install-hook

To run pre-commit linters:

pre-commit run

Where to start

See open issues and search for the word TODO in the repository files.

If you want to understand how Qusal uses Salt features, read our Salt guide.