See general guidelines for contributing to Perun AAI.
Additional rules are outlined in this document.
Use the name of the service as the conventional commit message scope where applicable.
Use BREAKING CHANGE:
- for new required configuration (e.g. OIDC configuration)
- whenever a name of a service changes
- use
use strict
anduse warnings
- use own global variables with caution (key word
our
) - always use
local
for defined global variables (e.g.$
,$"
, ...) - brackets for function calls are not necessary if it doesn't hurt code readability
- comment your code - the more, the better
- for each function comment input, output and how does it modify global variables (if used)
- see
man perlstyle
- lint and format your code with ruff
- add names of new Python files into the
PYTHON_FILES
variable in.gitlab-ci.yml