DevRail
v1is stable. See STABILITY.md for component status.
A pre-commit hook that enforces Conventional Commits with DevRail-specific types and scopes.
- Add to your
.pre-commit-config.yaml:
repos:
- repo: https://github.com/devrail-dev/pre-commit-conventional-commits
rev: v1.0.0
hooks:
- id: conventional-commits- Install the hooks:
make install-hooks- Commit with the correct format:
type(scope): description
type(scope): description
| Type | When to Use |
|---|---|
feat |
A new feature or capability |
fix |
A bug fix |
docs |
Documentation-only changes |
chore |
Maintenance tasks (dependencies, config) |
ci |
CI/CD pipeline changes |
refactor |
Code restructuring without behavior change |
test |
Adding or updating tests |
| Scope | Applies To |
|---|---|
python |
Python tooling, configs, or standards |
terraform |
Terraform tooling, configs, or standards |
bash |
Bash tooling, configs, or standards |
ansible |
Ansible tooling, configs, or standards |
container |
Dev-toolchain container image |
ci |
CI/CD pipeline configuration |
makefile |
Makefile targets and patterns |
standards |
DevRail standards documentation |
feat(python): add ruff configuration for type checking
fix(ci): correct Docker image reference in build workflow
docs(standards): update .devrail.yml schema with container overrides
chore(makefile): update dev-toolchain image tag to v1.2.0
ci(container): add weekly rebuild schedule
refactor(bash): extract common logging to shared library
test(terraform): add terratest validation for module outputs
typeis required and must be from the valid types listscopeis required and must be from the valid scopes list- Colon and space after the closing parenthesis are required
descriptionmust be non-empty and start with a lowercase letter- No period at the end of the description
- Merge commits (
Merge ...) and revert commits (Revert ...) are allowed
This hook requires no configuration. Types and scopes are enforced globally per DevRail standards.
See DEVELOPMENT.md for development setup and contribution guidelines.
To add a new language ecosystem to DevRail, see the Contributing to DevRail guide.