You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Research keeping the lib and the CLI scripts in the same project but have build-time options to install the CLI scripts or not. Then upload to PyPI as two separate install-ables.
@whiteinge This might be better to create as a client library in salt-api? Or maybe to define THE salt-api and have a single client. As of today there isn't an official salt api (as far as a spec to implement against).
@jacksontj the idea behind this lib (and pepper) is to have a no-dep install. E.g., pip install salt-pepper, or just grab the libpepper.py file off GitHub, then be able to import pepper.libpepper from a custom script to talk to a remote salt-api install. So for that reason I'd like to keep this a separate project.
I've filed an issue to create a REST API spec here: saltstack/salt#13698. Pepper should be written to be able to use any interface that adheres to the spec. (Perhaps those tests should live in this repo, in fact!)
pysaltapi.py
is useful as a stand-alone library for other projects and should be pulled out into a separate project here and on PyPI.The text was updated successfully, but these errors were encountered: