salt-extension
salt-extension copied to clipboard
Tool to simplify the creation of a new salt extension
> Mappings use a colon and space (": ") to mark each key: value pair. The lack of space causes parsing issues for pre-commit on my installation, and adding the...
Currently, the generated project contains hooks for generating pinned requirements for `tests`, `docs` and `lint`. The `noxfile.py` does not account for them (`tests`, `docs`) and `lint` is generally not used...
The default [`noxfile.py`](https://github.com/saltstack/salt-extension/blob/main/src/saltext/cli/project/noxfile.py.j2) has no means to disable coverage reports (unlike the Salt test suite where we have the `coverage=False` session flag). It would be very useful to have an...
At the end of running ```create-salt-extension``` it spits out a list of steps to get started: ``` python3 -m venv .env --prompt 'salt-cait' source .env/bin/activate git init . python -m...
We should either put in the docs or somewhere for the extensions a default development guide that talks about how to package the files with wheel (ex. `python -m pip...
Clean setup of a salt-extension folder. No changes made to the code, only change to created folder is git setup and commit. default nox tests will not pass. I am...
The lint steps are failing seemingly on multiple extensions... Seems to be a product of `noxfile.py:_install_requirements` where `install_extras` is nontrivial. ``` elif install_extras: pkg = f".[{','.join(install_extras)}]" session.install(pkg, silent=PIP_INSTALL_SILENT) ``` It...
This python project is undocumented and could use extra details on usage. References: - [Salt Extensions: PDF of Slide Deck](https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqblhIYkJ[…]content%2Fuploads%2F2021%2F03%2F2021-3-26-salt-extensions.pdf) - [YouTube video on `salt-extension`](https://www.youtube.com/watch?v=hhomJkwxK3Q)