shoestring-assembler 0.4.1__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/PKG-INFO +1 -1
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/pyproject.toml +1 -1
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/__init__.py +1 -1
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/cli.py +36 -2
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/display.py +4 -2
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/recipe.py +4 -4
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/solution.py +7 -4
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/app.py +8 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/modals.py +50 -5
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/modals.tcss +1 -1
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/PKG-INFO +1 -1
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/AUTHORS.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/CONTRIBUTING.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/HISTORY.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/LICENSE +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/MANIFEST.in +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/README.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/setup.cfg +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/api.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/authors.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/contributing.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/environment.pickle +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/file_structure.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/modules.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.engine.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.interface.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.interface.events.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.model.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.model.schemas.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.view.cli_app.components.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.view.cli_app.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.view.cli_app.screens.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.view.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/generated/shoestring_assembler.view.plain_cli.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/history.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/index.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/installation.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/modules.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/recipe.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/setup.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/sources.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/usage.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/user_config.doctree +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/api.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/authors.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/contributing.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/file_structure.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/modules.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.engine.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.interface.events.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.interface.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.model.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.model.schemas.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.view.cli_app.components.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.view.cli_app.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.view.cli_app.screens.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.view.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/generated/shoestring_assembler.view.plain_cli.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/history.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/index.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/installation.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/modules.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/recipe.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/setup.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/sources.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/usage.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/user_config.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/api.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/authors.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/conf.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/contributing.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/file_structure.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/modules.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.engine.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.interface.events.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.interface.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.model.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.model.schemas.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.view.cli_app.components.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.view.cli_app.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.view.cli_app.screens.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.view.plain_cli.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/generated/shoestring_assembler.view.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/history.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/index.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/installation.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/make.bat +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/modules.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/recipe.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/setup.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/sources.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/usage.rst +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/user_config.md +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/constants.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/action/assemble.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/action/docker.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/action/filesystem.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/action/git.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/action/user_config.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/engine.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/dsl/parser.out +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/dsl/parsetab.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/dsl/prompt_criteria.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/source/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/source/filesystem.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/source/git.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/implementation/vc/git.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/_events.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/audit.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/input.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/progress.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/events/updates.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/pipe/pipe.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/signals.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/state_machine/process.MD +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/interface/state_machine/steps.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/_prompt_outputs.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/_prompt_questions.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/base_module.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/common.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/container.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/filesystem.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/infrastructure_module.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/installed.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/prompts.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/schemas/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/schemas/meta.schema.json +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/schemas/recipe.schema.json +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/schemas/schema_validators.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/service_module.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/source.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/user_config.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/solution_picker.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/utilities/minimal_mustache.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/utilities/path.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/components/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/components/_bottom_bar.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/layout.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/config.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/config_inputs.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/download.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/download.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/engine.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/engine.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/find_solution.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/home.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/home.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/select_update.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/solution_picker.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/cli_app/screens/solution_picker.tcss +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/plain_cli/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/plain_cli/audit_events.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/SOURCES.txt +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/dependency_links.txt +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/entry_points.txt +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/requires.txt +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler.egg-info/top_level.txt +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/tests/__init__.py +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/tests/console.log +0 -0
- {shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/tests/test_shoestring_assembler.py +0 -0
|
@@ -6,6 +6,7 @@ from shoestring_assembler.display import Display
|
|
|
6
6
|
from shoestring_assembler.interface.signals import Action
|
|
7
7
|
|
|
8
8
|
from typing import List
|
|
9
|
+
from rich.traceback import Traceback
|
|
9
10
|
|
|
10
11
|
import typer
|
|
11
12
|
from typing_extensions import Annotated
|
|
@@ -172,9 +173,42 @@ def app():
|
|
|
172
173
|
Runs the interactive CLI application
|
|
173
174
|
"""
|
|
174
175
|
from shoestring_assembler.view.cli_app import SolutionAssemblerApp
|
|
176
|
+
return_code = 0
|
|
177
|
+
exception_to_show = None
|
|
178
|
+
try:
|
|
179
|
+
app = SolutionAssemblerApp()
|
|
180
|
+
result = app.run()
|
|
181
|
+
if result == "error":
|
|
182
|
+
return_code = 1
|
|
183
|
+
if app._exception:
|
|
184
|
+
return_code = 2
|
|
185
|
+
exception_to_show = app._exception
|
|
186
|
+
except Exception as exc:
|
|
187
|
+
return_code = 3
|
|
188
|
+
exception_to_show = exc
|
|
189
|
+
|
|
190
|
+
if return_code != 0:
|
|
191
|
+
logs = Display.get_log_text()
|
|
192
|
+
Display.root_console.rule(
|
|
193
|
+
"[bold gray] EXECUTION LOGS [/bold gray]", style="gray"
|
|
194
|
+
)
|
|
195
|
+
print(logs)
|
|
196
|
+
|
|
197
|
+
if exception_to_show:
|
|
198
|
+
Display.root_console.rule("[bold red]🚨 UNHANDLED EXCEPTION 🚨[/bold red]", style="red")
|
|
199
|
+
tb = Traceback.from_exception(
|
|
200
|
+
type(exception_to_show),
|
|
201
|
+
exception_to_show,
|
|
202
|
+
exception_to_show.__traceback__,
|
|
203
|
+
show_locals=True,
|
|
204
|
+
)
|
|
205
|
+
Display.root_console.print(tb)
|
|
206
|
+
try:
|
|
207
|
+
input("\nPress [ENTER] to exit...")
|
|
208
|
+
except (KeyboardInterrupt, EOFError):
|
|
209
|
+
pass
|
|
175
210
|
|
|
176
|
-
|
|
177
|
-
app.run()
|
|
211
|
+
sys.exit(return_code)
|
|
178
212
|
|
|
179
213
|
|
|
180
214
|
@typer_app.command(
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/display.py
RENAMED
|
@@ -150,9 +150,11 @@ class Display:
|
|
|
150
150
|
cls.file_console.save_html(Constants.CONSOLE_LOG)
|
|
151
151
|
|
|
152
152
|
@classmethod
|
|
153
|
-
def get_log_text(cls) -> str:
|
|
153
|
+
def get_log_text(cls,style=True) -> str:
|
|
154
154
|
"""Returns all recorded console output as a plain text string."""
|
|
155
|
-
return cls.file_console.export_text(
|
|
155
|
+
return cls.file_console.export_text(
|
|
156
|
+
styles=style, clear=False
|
|
157
|
+
) # clear = False to prevent wiping log
|
|
156
158
|
|
|
157
159
|
|
|
158
160
|
from rich.prompt import PromptBase, Confirm, InvalidResponse
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/recipe.py
RENAMED
|
@@ -38,7 +38,7 @@ class Recipe:
|
|
|
38
38
|
@classmethod
|
|
39
39
|
async def load(cls, recipe_filepath):
|
|
40
40
|
recipe_location = Path.resolve(Path(recipe_filepath))
|
|
41
|
-
await Update.StepHeading("Get Recipe")
|
|
41
|
+
# await Update.StepHeading("Get Recipe")
|
|
42
42
|
try:
|
|
43
43
|
# check file type is supported and find parser
|
|
44
44
|
ext = recipe_location.suffix
|
|
@@ -65,16 +65,16 @@ class Recipe:
|
|
|
65
65
|
|
|
66
66
|
recipe_obj = cls(recipe_filepath, recipe_content, recipe_hash)
|
|
67
67
|
|
|
68
|
-
await Update.InfoMsg("Validating Recipe")
|
|
68
|
+
# await Update.InfoMsg("Validating Recipe")
|
|
69
69
|
await recipe_obj.validate()
|
|
70
|
-
await Update.InfoMsg("Recipe valid")
|
|
70
|
+
# await Update.InfoMsg("Recipe valid")
|
|
71
71
|
|
|
72
72
|
except FileNotFoundError:
|
|
73
73
|
raise NoRecipeError(
|
|
74
74
|
f"Unable to find recipe file. Expected to find it at: {recipe_location}", recipe_location
|
|
75
75
|
)
|
|
76
76
|
|
|
77
|
-
await Update.SuccessMsg("Recipe loaded")
|
|
77
|
+
# await Update.SuccessMsg("Recipe loaded")
|
|
78
78
|
return recipe_obj
|
|
79
79
|
|
|
80
80
|
@classmethod
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/solution.py
RENAMED
|
@@ -3,7 +3,7 @@ from shoestring_assembler.model.service_module import ServiceModuleModel
|
|
|
3
3
|
from shoestring_assembler.model.infrastructure_module import InfrastructureModule
|
|
4
4
|
from shoestring_assembler.model.source import SourceModel
|
|
5
5
|
from shoestring_assembler.implementation.vc.git import SolutionGitVC
|
|
6
|
-
from shoestring_assembler.interface.events.updates import FatalError
|
|
6
|
+
from shoestring_assembler.interface.events.updates import FatalError, Update
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
from .common import ModelMap
|
|
9
9
|
from itertools import chain
|
|
@@ -48,7 +48,7 @@ class SolutionModel:
|
|
|
48
48
|
async def resaturate(self):
|
|
49
49
|
self.saturated = False
|
|
50
50
|
await self.saturate()
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
async def saturate(self):
|
|
53
53
|
if not self.saturated:
|
|
54
54
|
if not self.fs.root_valid:
|
|
@@ -57,6 +57,9 @@ class SolutionModel:
|
|
|
57
57
|
expected_location=self.__provided_root,
|
|
58
58
|
)
|
|
59
59
|
recipe = await Recipe.load(self.fs.recipe_file)
|
|
60
|
+
await Update.SuccessMsg(
|
|
61
|
+
f"Recipe loaded for {self.user_given_name} @ {self.fs.recipe_file}"
|
|
62
|
+
)
|
|
60
63
|
|
|
61
64
|
sources_definition = {
|
|
62
65
|
name: {
|
|
@@ -105,7 +108,7 @@ class SolutionModel:
|
|
|
105
108
|
@property
|
|
106
109
|
def infrastructure(self):
|
|
107
110
|
return self.__infrastructure
|
|
108
|
-
|
|
111
|
+
|
|
109
112
|
@property
|
|
110
113
|
def all_modules(self):
|
|
111
114
|
map = ModelMap()
|
|
@@ -157,7 +160,7 @@ class SolutionModel:
|
|
|
157
160
|
yaml.safe_dump(
|
|
158
161
|
compose_definition, f, default_flow_style=False, sort_keys=False
|
|
159
162
|
)
|
|
160
|
-
|
|
163
|
+
|
|
161
164
|
@unique
|
|
162
165
|
class Status(Enum):
|
|
163
166
|
STOPPED = "stopped"
|
|
@@ -152,3 +152,11 @@ class SolutionAssemblerApp(App):
|
|
|
152
152
|
except WorkerCancelled:
|
|
153
153
|
pass
|
|
154
154
|
self.exit()
|
|
155
|
+
|
|
156
|
+
def _handle_exception(self, error: Exception) -> None:
|
|
157
|
+
"""
|
|
158
|
+
Overrides Textual's internal exception handler.
|
|
159
|
+
Stores the exception for external logging and exits silently without printing a traceback.
|
|
160
|
+
"""
|
|
161
|
+
self._exception = error
|
|
162
|
+
self.exit(return_code=1)
|
|
@@ -6,6 +6,8 @@ from textual.widgets import Button, Label, Input, RichLog
|
|
|
6
6
|
from rich.text import Text
|
|
7
7
|
from shoestring_assembler.interface.signals import BackSignal
|
|
8
8
|
from shoestring_assembler.display import Display
|
|
9
|
+
import platform
|
|
10
|
+
import subprocess
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
class ConfirmModal(ModalScreen):
|
|
@@ -58,6 +60,34 @@ class NewName(ModalScreen):
|
|
|
58
60
|
self.dismiss(BackSignal())
|
|
59
61
|
|
|
60
62
|
|
|
63
|
+
def copy_text_to_clipboard(text: str) -> bool:
|
|
64
|
+
"""Copies text to the system clipboard using native OS commands or pyperclip."""
|
|
65
|
+
# Try OS-native command-line utilities
|
|
66
|
+
system = platform.system()
|
|
67
|
+
try:
|
|
68
|
+
if system == "Darwin": # macOS
|
|
69
|
+
subprocess.run(["pbcopy"], input=text.encode("utf-8"), check=True)
|
|
70
|
+
return True
|
|
71
|
+
elif system == "Windows": # Windows
|
|
72
|
+
subprocess.run(["clip"], input=text.encode("utf-16"), check=True)
|
|
73
|
+
return True
|
|
74
|
+
elif system == "Linux": # Linux (Wayland / X11)
|
|
75
|
+
for cmd in [
|
|
76
|
+
["wl-copy"],
|
|
77
|
+
["xclip", "-selection", "clipboard"],
|
|
78
|
+
["xsel", "--clipboard", "--input"],
|
|
79
|
+
]:
|
|
80
|
+
try:
|
|
81
|
+
subprocess.run(cmd, input=text.encode("utf-8"), check=True)
|
|
82
|
+
return True
|
|
83
|
+
except (FileNotFoundError, subprocess.CalledProcessError):
|
|
84
|
+
continue
|
|
85
|
+
except Exception:
|
|
86
|
+
pass
|
|
87
|
+
|
|
88
|
+
return False
|
|
89
|
+
|
|
90
|
+
|
|
61
91
|
class FatalErrorModal(ModalScreen):
|
|
62
92
|
CSS_PATH = "modals.tcss"
|
|
63
93
|
def __init__(self, *args, error_message="FATAL Error", exit=True, **kwargs):
|
|
@@ -74,7 +104,8 @@ class FatalErrorModal(ModalScreen):
|
|
|
74
104
|
)
|
|
75
105
|
|
|
76
106
|
with HorizontalGroup(classes="button_bar"):
|
|
77
|
-
yield Button("Copy Logs", variant="primary", id="copy_logs")
|
|
107
|
+
# yield Button("Copy Logs (unreliable)", variant="primary", id="copy_logs")
|
|
108
|
+
yield Button("Exit & show logs (useful for copying)", variant="error", id="exit_logs")
|
|
78
109
|
yield Button("Exit", variant="error", id="exit")
|
|
79
110
|
|
|
80
111
|
def on_mount(self) -> None:
|
|
@@ -85,13 +116,27 @@ class FatalErrorModal(ModalScreen):
|
|
|
85
116
|
|
|
86
117
|
@on(Button.Pressed, "#copy_logs")
|
|
87
118
|
def handle_copy_logs(self) -> None:
|
|
88
|
-
|
|
89
|
-
|
|
119
|
+
logs = Display.get_log_text(style=False)
|
|
120
|
+
# Try OS native copy first
|
|
121
|
+
if copy_text_to_clipboard(logs):
|
|
122
|
+
self.notify("Logs copied to system clipboard - probably!\n(Doesn't work over ssh and can fail silently)", title="Copied")
|
|
123
|
+
return
|
|
124
|
+
|
|
125
|
+
# Fallback to Textual's OSC 52 escape sequence (for SSH / terminals supporting OSC 52)
|
|
90
126
|
try:
|
|
91
127
|
self.app.copy_to_clipboard(logs)
|
|
92
|
-
self.notify("
|
|
128
|
+
self.notify("Sent copy command to terminal (OSC 52) - may fail silently.", title="Maybe Copied")
|
|
93
129
|
except Exception:
|
|
94
|
-
self.notify(
|
|
130
|
+
self.notify(
|
|
131
|
+
"Failed to copy logs to clipboard.", title="Error", severity="error"
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
@on(Button.Pressed, "#exit_logs")
|
|
135
|
+
def handle_exit_logs(self) -> None:
|
|
136
|
+
if self.exit:
|
|
137
|
+
self.app.exit(result="error")
|
|
138
|
+
else:
|
|
139
|
+
self.dismiss("continue")
|
|
95
140
|
|
|
96
141
|
@on(Button.Pressed, "#exit")
|
|
97
142
|
def handle_exit(self) -> None:
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
align-horizontal: right;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.modal_error #exit {
|
|
82
|
+
.modal_error #exit,#exit_logs {
|
|
83
83
|
width: 1fr; /* Takes up all remaining width */
|
|
84
84
|
content-align: center middle; /* Centers button content vertically & horizontally */
|
|
85
85
|
text-align: center; /* Centers text label inside button */
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/api.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/authors.doctree
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/history.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/index.doctree
RENAMED
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/modules.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/recipe.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/setup.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/sources.doctree
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/doctrees/usage.doctree
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/authors.md
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/contributing.md
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/file_structure.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/history.md
RENAMED
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/installation.md
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/modules.md
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/recipe.md
RENAMED
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/sources.md
RENAMED
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/docs/_build/markdown/user_config.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/engine/engine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/prompts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/model/source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/utilities/path.py
RENAMED
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/src/shoestring_assembler/view/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shoestring_assembler-0.4.1 → shoestring_assembler-0.4.3}/tests/test_shoestring_assembler.py
RENAMED
|
File without changes
|