Help improve this project by:
- Creating an issue (Check for known issues first)
- Submitting a pull request to fix a problem or add a feature
Your contributions are appreciated and will be taken seriously.
Report problems or suggest improvements by creating an issue.
Fork the repository to your GitHub account.
Clone your fork locally and make the necessary changes:
git clone [email protected]:YOURNAMESPACE/autobase.git
Install make, Python3.12, venv, and docker.
Run make
for Makefile help.
- Initialize virtualenv and install dependencies with:
make bootstrap-dev
- Run Prettier formatting:
make prettier
- Lint your code with
make lint
- Test your changes with:
make tests
ormake molecule-converge
To test a specific distribution, set distro
, tag
, and namespace
:
IMAGE_NAMESPACE=geerlingguy IMAGE_DISTRO=debian12 make molecule-converge
Use Gitpod for a cloud-based development environment:
- Sign up for Gitpod: https://gitpod.io
- Fork the
autobase
repository - Open your fork in Gitpod:
https://gitpod.io/#https://github.com/username/autobase
- Create a new branch:
git checkout -b my-feature-branch
- Make your changes and commit:
git add .
andgit commit -m "Description of changes"
- Run Prettier formatting:
make prettier
- Test with linters:
make lint
- Test with Molecule:
make tests
ormake molecule-converge
- Push your changes:
git push origin my-feature-branch
Keep your Gitpod workspace synced with the main repository.
Create a pull request and refer to the issue number using #123, where 123 is the issue number.
Your pull request will be reviewed, and you’ll receive feedback. Thanks for contributing!