config management/automation framework
- pip installable
- facilities exposed under
loader object
:j
- pluggable
- docs and tests are as important as code
- Clean code (pep-8)
- Documentation
- Tests
- install poetry
- clone this repository, then
poetry install
To access the virtual env poetry shell
if you are out of the virtualenv shell, make sure to prefix all of your commands with poetry run
just type jsng
.
if you have any problems related to setuptools
, just try to upgrade it before starting jsng
.
python3 -m pip install setuptools -U
make tests
make docs
make testdocs
poetry build
- Create a branch
development_VERSION
- Generate documentation
make docs
- Update js-ng version in
pyproject.toml
to the branch version - Create a pull request against the development branch
- Merge the pull request into development
- Create a pull request from development against the master branch
- Merge the pull request into master
- make sure to call
poetry build
- enter your api token
poetry config pypi-token.pypi your-api-token
- then publish to pypi using
poetry publish
(note that this requires to be on the publisher account) - now a release can be added with a tag on master branch.
browsable at https://threefoldtech.github.io/js-ng/api/jumpscale/
We already prepared a docsify wiki website
We use pre-commit to enforce certain coding style and checks while contributing to js-ng repository. Please make sure to install
It's as easy as python3 -m pip install pre-commit
Execute pre-commit install