Comments (5)
Not sure it would be fair to say no ones using it - I've seen it used a lot in custom hooks. I think we still need to strive for consistency as it make developing a lot easier.
Do you see this just in the scope of documentation and versioning - or any code structure changes you see happening?
Maybe good to look at Hashicorp Vault and see how they manage a CLI and restful API in the same code base. Possibly could do a complete separation with sceptre-core and sceptre-cli? We also need to consider how this restricts future extension to the project e.g. what if someone wants to wrap sceptre with flask etc...
What issues have we run into so far with this supporting both?
from sceptre.
In some customers we are seriously considering using the module. I would MUCH rather prefer you don't remove it without offering another alternative API first.
from sceptre.
Hm okay if we keep it we still need some way of fixing the versioning issue. Separating the CLI from the Python core would do that as @seanrankine mentioned. Sean how do Hashicorp do it?
I guess we could have two repositories, sceptre
and sceptre-core
. sceptre-core
would implement the Python module, and sceptre
would depend on sceptre-core
and implement the CLI. Each would have their own version numbers. It does add complexity though.
I think we still need the freedom to be able to change the python internals. I imagine we'd go though sceptre-core
version number relatively quickly, and we should warn users that using the CLI will likely give more stable results.
from sceptre.
@jamesroutley I agree with @emiliogarcia and think this would be a nice way to do it.
from sceptre.
Decided to look at having two repositories, sceptre and sceptre-core. Continued in #76
from sceptre.
Related Issues (20)
- python < 3.12 causes issues with other poetry projects, can you use < 4.0 HOT 3
- Autocompletion docs need updating for bash
- Stack outputs in stack groups hide the stack names HOT 5
- Unable to install Sceptre >= 4.0 since release of cython 3.0.0 HOT 15
- inheretance behavior of `profile` overrides child with parent config HOT 5
- Add a Makefile HOT 1
- Why does black use Python 3.10? HOT 2
- announcements to twitter (X) is broken HOT 4
- Document `j2_environment` `autoescape` setting to control Jinja2 escaping HOT 4
- Drop support for Python 3.7 HOT 4
- test_hook_writes_to_stderr failure "/bin/sh command not found" HOT 4
- Not enough values to unpack given a badly formatted stack ref
- Bug in hooks test on MacOS HOT 2
- Setup build workflow without secrets HOT 2
- Provide a formatted_yaml template handler HOT 1
- CI: make integration tests run faster HOT 5
- Stack differ raises AttributeError if a values is a bool
- Input parameters should be validated
- Cyclic dependencies should result in a clearer error message
- j2_environment extensions not available while generating config HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sceptre.