Commit graph

20 commits

Author SHA1 Message Date
InsanePrawn
2cd41e75ca config/scheme: move DataClass to dataclass.py 2022-11-09 19:39:59 +01:00
InsanePrawn
76b5b26157 config: DataClass.transform(): add allow_extra=False parameter 2022-11-09 19:39:59 +01:00
InsanePrawn
a3ec35bcd6 config: introduce rust cache 2022-11-09 19:39:59 +01:00
InsanePrawn
47e74fb415 config: introduce per-arch persisted ccache dir 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
a13fdc70e1 config: add config.runtime.uid 2022-11-02 00:38:18 +01:00
InsanePrawn
2b539f5a5b Merge branch 'dev' into prawn/flavours 2022-08-25 16:53:13 +02:00
InsanePrawn
f940fd2301 test_config: remove double import of Profile 2022-08-23 21:43:18 +02:00
InsanePrawn
2d13d82943 config/: rework code around parsing profiles, add scheme.SparseProfile to account for the partial profiles in config 2022-08-20 04:32:33 +02:00
InsanePrawn
688f9e2375 config.ConfigStateHolder: initialize self._profile_cache in constructor 2022-08-19 18:12:21 +02:00
InsanePrawn
aaef4b7699 config/scheme: type annotate ConfigLoadState class 2022-08-18 05:47:05 +02:00
InsanePrawn
91b44299ae config/scheme.py: fix detection of extra profiles as 'unknown keys' and add unit test using pickle 2022-08-18 05:39:51 +02:00
InsanePrawn
30d9be0950 config: more fixes for scheme.py 2022-08-18 05:39:51 +02:00
InsanePrawn
7eefafc386 config: split up into state.py and profile.py, fixup tests 2022-08-18 03:45:12 +02:00
InsanePrawn
16fd2f1590 config: add data schemas based on munch in scheme.py, add unit tests 2022-08-18 02:44:54 +02:00
InsanePrawn
4298d15178 config/test_config.py: add test for saving modifications 2022-08-18 02:20:17 +02:00
InsanePrawn
5e9b0448dc config: improve tests 2022-08-17 23:24:41 +02:00
InsanePrawn
924f125893 config: add rudimentary tests 2022-08-17 21:20:51 +02:00
InsanePrawn
7ca0e80682 config: make filepath the first argument for ConfigStateHolder 2022-08-17 21:17:23 +02:00
InsanePrawn
7f86c80cec create submodule for config (move config.py) 2022-08-17 20:10:20 +02:00