Commit graph

15 commits

Author SHA1 Message Date
InsanePrawn
9bd2bd46a9 wrapper/wrapper: handle unset self.wrapped_config_path 2023-06-25 04:03:03 +02:00
InsanePrawn
c357b0a968 wrapper: only run at_exit handler once 2023-04-16 06:00:50 +02:00
InsanePrawn
cd1d0543fe wrapper: move at_exit handling into wrap() 2023-04-16 05:23:31 +02:00
InsanePrawn
389d44e776 wrapper: add Wrapper.should_exit 2023-04-16 03:37:22 +02:00
InsanePrawn
d2d9cb6c7c wrapper: add Wrapper.argv_override 2023-04-16 03:37:22 +02:00
InsanePrawn
82a87e7ea9 implement explicit Optional type hints for =None parameters
Thanks https://github.com/hauntsaninja/no_implicit_optional
2022-11-09 20:19:04 +01:00
InsanePrawn
33f4a81981 config: move code from __init__.py into cli.py 2022-11-09 20:19:04 +01:00
InsanePrawn
c50166051d wrapper: Wrapper.generate_wrapper_config(): no need to overwrite wrapper.type, we have the env var for that 2022-11-09 20:19:04 +01:00
InsanePrawn
96ead1ec21 wrapper: move env var name to constants.WRAPPER_ENV_VAR 2022-11-09 20:19:04 +01:00
InsanePrawn
035e197f64 wrapper: add WRAPPER_PATHS to point ccache and rust to predictable locations 2022-11-09 19:39:59 +01:00
InsanePrawn
ba13293b93 DockerWrapper.wrap(): run as config.runtime.uid instead of root 2022-11-02 00:38:18 +01:00
InsanePrawn
7eefafc386 config: split up into state.py and profile.py, fixup tests 2022-08-18 03:45:12 +02:00
InsanePrawn
ac99b0bca3 wrapper: fix self.type.capitalise() vs self.type.upper() 2022-05-05 15:54:50 +02:00
InsanePrawn
14a2d0ae12 wrapper/: introduce Wrapper protocol 2022-02-17 16:38:48 +01:00
InsanePrawn
418a8c16c2 wrapper: refactor docker into submodule 2022-02-16 21:14:37 +01:00