20c / ctl Goto Github PK
View Code? Open in Web Editor NEWControl your environment.
License: Apache License 2.0
Control your environment.
License: Apache License 2.0
Currently blocking on python-poetry/poetry#241
Right now if a templated executable is copied it will be copied without execution permission
yaml needs to sort recent (top) to oldest (bottom)
md doesnt numeric sort correctly so 2.10.0 will end up next to 2.1.0 instead of 2.9.0
Example: having a schema error in permissions
exits ctl with traceback that's not very telling as to what is failing
reproduce:
permissions:
namespace: ctl
permission: crud
Ran into this today, ran semver2 bump patch
without any additional arguments and it tried to tag 1.0.1-rc1, if the --pre-release option isnt specified a pre-release should not be tagged.
Let's have nice things.
flake8
add / check / fix lgtm
PyPi https://pypi.org/project/ctl/ has bad links because these URLs are incorrect since this project is currently hosted at https://github.com/20c/ctl/ :
Lines 29 to 30 in 312571a
I dont think this needs to be overly complex, probably a simple check for "{%" and "{{" would suffice for now
Ran into issue where it couldn't parse the version from the VERSION file as it was missing the patch
section.
Reproduce:
Put 0.1
into VERSION file and then try to bump patch
master
to main
venv plugin: copy: remove *.pyc files after copying a venv
Add python3 type hints
FAILED tests/test_plugin_git.py::test_branch_and_merge[standard] - RuntimeError: error: pathspec 'test' did not match any f...
https://semver.org/spec/v2.0.0.html
Add a --pre-release
option that allows us to tag pre releases
ctl version bump dev --pre-release beta
would do 1.0.0-beta.1
ctl version bump patch --pre-release beta
would do 1.0.1-beta
ctl version bump minor --pre-release beta
would do 1.1.0-beta
ctl version bump major --pre-release beta
would do 2.0.0-beta
Also switch to using https://pypi.org/project/semver/ for the version parsing and updating
Add config attribute rebuild
that if set will cause build
and sync
to (re)build the venv even if it already exists.
It'd be nice bump
would prompt the user to confirm the new tag via [y/n] before proceeding
Seems to be some quirkyness when changing the branch on a git plugin
Also should address the fact that github default repo is now called main
on new repos
If there is any service init config inside the repo (in the repo_config) they need to be reloaded or at least checked for any differences.
It currently buffers so you can't tell if it's doing anything.
Or at least have an option to allow that, maybe there's situations you wouldn't want that?
Right now operations build
, sync
and copy
will always use the configured value for output
In order for better workflow when operating as part of a plugin chain it would be nice to allow overriding that value directly in the call.
should instead collect such errors and display warnings for them
this is so config template processing doesn't fail before exposed variables are available if it depends on said exposed variables to render in the first place
Otherwise it will try to validate an old changelog file
This is so it's in line with the version plugin, which currently uses repository
to specify the target repository
The pypi plugin currently uses repository
to specify which PyPI repository to use, this should change to pypi_repository
as well.
Should do this before tagging 1.0.0 since it's a config schema change
Should be ~/.cache/ctl/
For example, for repos, should be ~/.cache/ctl/repo/github.com/$URL
version bump
should update itpypi release
should use poetry build
isntead if a poetry.lock file existsA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.