Releases: EVEprosper/ProsperCommon
Releases · EVEprosper/ProsperCommon
Ignores jinja-style config values
--secret-cfg support for CLI secrets
releases #25
- Adds
render_secrets()
toprosper_config
module- uses jinja2 templating to obscure secrets
- Adds
--secret-cfg
switch to CLI template - Updates
get_local_config_filepath()
to useos.path
utilities rather than just stringreplace()
- Updates tests for python3.6 (python3.5 might not work any more)
sample credentials.ini
file:
[logging]
discord_webhook = https://discordapp.com/api/webhooks/99999/fake-fake_fake-fake
slack_webhook = https://hooks.slack.com/services/T1FAKE/B1FAKE/fakefake
Flask Utils
Adds gunicorn.conf
entrypoint and FlaskLauncher
CLI template.
- Merges #23
- Fixes #20
- PEP updates to internal logging calls,
%
formatting - Improves code smells per CodeClimate report
- Prunes deprecated code from
prosper_config
- Removes
prosper_utils
. Moving to ProsperTestUtils - Improves test coverage for
prosper_cli
- Increments docs for new features
- PEP: adding trailing commas
Fixing PyTest issue
Adding -p no:logging
to testing command. PyTest 3.3.0 added automatic logging which conflicts with logcapture.
Adding common CLI framework
Fixes #18: adds a framework so all Prosper CLI applications have shared arguments/logger/config
Fixes #17: adds custom_args
to log-handle builders so special platform information can be included
Using Plumbum's framework, adds a parent wrapper to provide common args/functionality for CLI writing.
- Handles logging and configuration loading
- Reserves common arguments
-d
/--debug
: setself.debug
to avoid spamming production services-v
/--verbose
: enable logging to stdout--config
: load custom config--dump-config
: dump default config to stdout for setup
Additional Changelog:
- Removes deprecated functions
get_logger
&get_config
- Updates docs for
prosper_cli
- Adds note to docs about
prosper_version
behavior
Better behavior when loaded as dependency
Fixes #15
- No longer tries to echo parent
git branch
when loaded as a dependency
Bugfix - Version reporting
Fixing #14
Adjusting __version__
helper to avoid v0.0.0
bug
Bugfix - Version reporting
Attempting fix for #14
Bugfix - Version reporting
Attempting fix for #14
Bugfix - Version reporting
Attempted bugfix for #14
Version forgets itself after release, this should fix that