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 |
|
InsanePrawn
|
e17a69ed81
|
add shellscript for running pytest, shellcheck *.sh
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
8b9fe661cf
|
image.py: remove iflag=direct from dd argv as it errors out on tmpfs
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
4e4e12b6b9
|
chroot.run_cmd(): don't blindly import outer env into chroot, avoiding a bunch of spam.
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
5eda60c14d
|
chroot/device.py: Use exec.file.get_temp_dir() for pacman.conf
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
1bf397f29f
|
flash.py: use losetup_destroy() before copying shrunk image
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
216050fbb4
|
image.py: extract losetup_destroy() for reuse
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
7f9f326861
|
image.shrink_fs(): no need to run truncate elevated, we own the image file
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
6cfd8ae1c2
|
flash.py: use exec.file.get_temp_dir()
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
0924ea298a
|
exec/file: add get_temp_dir() (for tempdirs without sticky bits) and chmod()
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
1f15d6705c
|
ssh: make alloc_tty=True default for run_ssh_command()
|
2022-08-16 15:50:14 +02:00 |
|
InsanePrawn
|
0858a64144
|
wrapper: add -W shorthand for --no-wrapper
|
2022-08-16 03:41:26 +02:00 |
|
InsanePrawn
|
916be09c61
|
distro/repo.py: add Repo.__repr__()
|
2022-08-16 03:40:28 +02:00 |
|
InsanePrawn
|
4ed0b8626b
|
add exec.file.symlink() and use in BuildChroot
|
2022-08-16 03:39:29 +02:00 |
|
InsanePrawn
|
859b08df6a
|
packages.build_enable_qemu(): fixup for usage without wrapper, drop buildchroot requirement
|
2022-08-16 03:38:33 +02:00 |
|
InsanePrawn
|
dd7e1716b8
|
image.py: cleanups, run umount as root
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
dbf65b44df
|
parse_pkgbuild(): update basepkg version before copying to subpkgs
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
25ea4afe9b
|
chroot/: make devicechroot pacstrap work without docker wrapper
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
707c61f026
|
replace os.makedirs with exec.{root_,}makedir where applicable
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
818b354000
|
exec/file.py: add {root_,}makedir()
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
2535d6bbd8
|
exec/cmd.run_cmd(): add stderr param
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
cc29b60f9f
|
use exec.file.{root_write_file,remove_file} where appropiate
|
2022-08-16 02:35:40 +02:00 |
|
InsanePrawn
|
9d24065258
|
ssh.py: fixups, use correct mode for .ssh dir
|
2022-08-16 00:09:23 +02:00 |
|
InsanePrawn
|
ceedf4bced
|
file.chown() add recursive=False parameter
|
2022-08-15 23:31:57 +02:00 |
|
InsanePrawn
|
774b526925
|
config.py: silence new click mypy error
|
2022-08-15 23:12:59 +02:00 |
|
InsanePrawn
|
107ca5d86e
|
exec/file.py: add new module to write to files as root via cmd.run_root_cmd()
|
2022-08-15 23:12:59 +02:00 |
|
InsanePrawn
|
4eacee8cad
|
utils: add get_{user,group}_name() and get_{uid,gid}()
|
2022-08-15 23:12:59 +02:00 |
|
InsanePrawn
|
98b835c75a
|
.gitlab-ci.yml: add pytest */test_*.py
|
2022-08-15 23:12:59 +02:00 |
|
InsanePrawn
|
f3a1a510d9
|
exec/cmd.py: add tests (needs configured sudo)
|
2022-08-15 23:07:44 +02:00 |
|
InsanePrawn
|
879fd113f0
|
exec: migrate exec.py to exec/cmd.py
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
72ca2258d1
|
exec.py: add elevation_noop() to refresh sudo timestamp and query for password
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
c562271006
|
image.py: use exec.run_root_cmd()
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
40600855ec
|
flash.py: use exec.run_root_cmd()
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
b32099c4f1
|
binfmt.py: use exec.run_root_cmd()
|
2022-08-15 06:42:19 +02:00 |
|
InsanePrawn
|
fdf03e2b97
|
packages: migrate to exec.run_(root_)cmd()
|
2022-08-15 06:41:59 +02:00 |
|
InsanePrawn
|
6593471a8e
|
chroot/*: use exec.run_(root_)cmd
|
2022-08-15 06:32:43 +02:00 |
|
InsanePrawn
|
0465d1035a
|
forwarding.py and ssh.py: use exec.run_(root_)cmd()
|
2022-08-15 06:20:56 +02:00 |
|
InsanePrawn
|
7fcd68ced9
|
packages.discover_packages(): don't use chroot for running makepkg --printsrcinfo , pass config, cache results
|
2022-08-15 06:17:26 +02:00 |
|