InsanePrawn
|
2f98ffc79d
|
pkgbuild: add get_filename(arch)
|
2022-08-28 05:49:21 +02:00 |
|
InsanePrawn
|
ea88397f1f
|
packages.filter_packages(): optionally check package arch
|
2022-08-28 05:49:18 +02:00 |
|
InsanePrawn
|
d9a88e1474
|
packages: use user 'kupfer' in chroots for building
|
2022-08-28 05:49:18 +02:00 |
|
InsanePrawn
|
dcccc9bdc8
|
chroot: add chroot.add_sudo_config()
|
2022-08-28 05:49:18 +02:00 |
|
InsanePrawn
|
fc92298100
|
chroot.create_user(): add optional uid and non_unique parameter
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
20975feec6
|
chroot.run_cmd(): add switch_user parameter
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
4dc134c8f8
|
exec/cmd: generate_cmd_{su,elevated}: tolerate flat string as input for cmd instead of list
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
ac7d16e4a7
|
exec.file.write_file(): fix situation where file exists but stat fails due to permissions
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
bef0efc637
|
global: refactor to use config.{file,runtime}.$member instead of config.file["$member"]
|
2022-08-27 17:06:48 +02:00 |
|
InsanePrawn
|
13ad63446e
|
DockerWrapper.wrap(): run as config.runtime.uid instead of root
|
2022-08-27 06:03:36 +02:00 |
|
InsanePrawn
|
6b64989a3b
|
config: add config.runtime.uid
|
2022-08-27 05:56:45 +02:00 |
|
InsanePrawn
|
4c77a16bba
|
main: add -w to *enforce* wrapping
|
2022-08-27 05:56:45 +02:00 |
|
InsanePrawn
|
57d5ed474f
|
typecheck.sh: show error codes
|
2022-08-27 03:46:07 +02:00 |
|
InsanePrawn
|
114755888e
|
packages: circumvent git dubious ownership errors in pkgbuilds.git due to chrootery
|
2022-08-27 03:45:19 +02:00 |
|
InsanePrawn
|
b154f835e6
|
constants: add QEMU_ARCHES
|
2022-08-26 22:55:08 +02:00 |
|
InsanePrawn
|
bc31f9822a
|
constants.py: add armv7h support
|
2022-08-26 22:55:08 +02:00 |
|
InsanePrawn
|
08fc10bf11
|
Pkgbuild: add refresh_sources()
|
2022-08-26 03:41:59 +02:00 |
|
InsanePrawn
|
6e8fd9f622
|
packages/pkgbuild: cache parsed pkgbuilds by path, add get_pkgbuild_by_path(), Pkgbuild.update(pkgb)
|
2022-08-26 03:30:32 +02:00 |
|
InsanePrawn
|
2b539f5a5b
|
Merge branch 'dev' into prawn/flavours
|
2022-08-25 16:53:13 +02:00 |
|
InsanePrawn
|
c4e96af44f
|
config: change pacman.check_space default to False as it causes problems even on ext4
|
2022-08-25 16:44:45 +02:00 |
|
InsanePrawn
|
2db8a0a0cb
|
packages: cleanup unnecessary bits
|
2022-08-25 13:52:35 +02:00 |
|
InsanePrawn
|
f940fd2301
|
test_config: remove double import of Profile
|
2022-08-23 21:43:18 +02:00 |
|
InsanePrawn
|
3952892029
|
generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary
|
2022-08-23 21:41:41 +02:00 |
|
InsanePrawn
|
5a794ba3dd
|
packages: get_makepkg_env(): actually return env...
|
2022-08-23 17:38:58 +02:00 |
|
InsanePrawn
|
97d3f05968
|
gitlab-ci: generate test coverage
|
2022-08-20 05:59:31 +02:00 |
|
InsanePrawn
|
70c4799385
|
pytest.sh: generate junit xml
|
2022-08-20 05:32:52 +02:00 |
|
InsanePrawn
|
c53acbf2f4
|
.gitlab-ci: run python unit tests as user with passwordless sudo
|
2022-08-20 05:25:49 +02:00 |
|
InsanePrawn
|
39be2b2fb6
|
packages/test_device: add test for initialise_pkgbuilds_dir fixture
|
2022-08-20 04:51:25 +02:00 |
|
InsanePrawn
|
f5e3fa46ad
|
packages/ and image.py: less wrapping, remove hardcoded 'aarch64' where possible
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
657a5fe227
|
wrapper: add wrap_if_foreign_arch()
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
5b218e64c8
|
ssh.py: use check_programs_wrap() for ssh and scp binaries
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
27e7fe9a10
|
utils.programs_available(): add cache
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
8a7f78261f
|
packages: add device.py and initial tests
|
2022-08-20 04:32:33 +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
|
1c6689f710
|
packages.cmd_sideload(): fix string escape '\*' -> '\\*'
|
2022-08-19 17:18:18 +02:00 |
|
InsanePrawn
|
e001d107c2
|
move packages.{clone_pkbuilds(),discover_packages(),init_pkgbuilds()} to packages.pkgbuild
also rename discover_packages() to discover_pkgbuilds()
|
2022-08-19 17:13:03 +02:00 |
|
InsanePrawn
|
5baaaaa180
|
packages.discover_packages(): clean up caching
|
2022-08-19 16:55:53 +02:00 |
|
InsanePrawn
|
7d9f1b9ed8
|
pkgbuild.parse_pkgbuild() make config parameter optional
|
2022-08-19 16:55:17 +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 |
|
InsanePrawn
|
36b321aa2d
|
config.prompt_config(): fix changed detection for lists due to conversion to comma-separated strings
|
2022-08-17 01:10:06 +02:00 |
|