Commit graph

19 commits

Author SHA1 Message Date
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
56dbd3966c wrapper.is_wrapped(): handle wrapper_type = 'none' 2022-11-09 20:19:04 +01:00
InsanePrawn
072ce8e4f0 wrapper/docker: create volume dirs ourselfes for better permissions and podman compat 2022-11-09 19:39:59 +01:00
InsanePrawn
69036d008b wrapper/docker: fix indentation (only version needs to be pulled from with open():) 2022-11-09 19:39:59 +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
8ad18c00a6 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 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
5e4c038ed0 main: add -w to *enforce* wrapping 2022-11-02 00:38:18 +01:00
InsanePrawn
657a5fe227 wrapper: add wrap_if_foreign_arch() 2022-08-20 04:32:33 +02:00
InsanePrawn
7eefafc386 config: split up into state.py and profile.py, fixup tests 2022-08-18 03:45:12 +02:00
InsanePrawn
0858a64144 wrapper: add -W shorthand for --no-wrapper 2022-08-16 03:41:26 +02:00
InsanePrawn
bb3a7d4881 wrapper/docker: create .ssh dir with correct perms (700) 2022-08-11 07:24:48 +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
3fbda2e089 Remove leftovers, please the formatter. 2022-02-17 06:42:15 +01:00
InsanePrawn
418a8c16c2 wrapper: refactor docker into submodule 2022-02-16 21:14:37 +01:00
InsanePrawn
b6dfc9e065 wrapper: move to directory 2022-02-16 18:38:18 +01:00