InsanePrawn
|
232254948d
|
config: add pacman.repo_branch, adjust KUPFER_HTTPS url to include $arch and use repo_branch
|
2022-05-08 18:05:09 +02:00 |
|
InsanePrawn
|
75e4efe0d7
|
config.py: satisfy mypy on TypedDict access via runtime string
|
2022-05-05 14:27:21 +02:00 |
|
InsanePrawn
|
7a324555da
|
Type annotate all the things!
|
2022-02-18 06:32:04 +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
|
d2ec51b364
|
trim leftovers to please the formatter
|
2022-02-14 20:05:13 +01:00 |
|
InsanePrawn
|
5f6772eb39
|
add size_extra_mb to profiles, use in cmd_image_build()
|
2022-02-14 19:59:43 +01:00 |
|
InsanePrawn
|
27aba2e21f
|
config.py: fix cmd_config_init() saving
|
2022-02-14 19:31:47 +01:00 |
|
InsanePrawn
|
3ed8d379dd
|
Add help strings to all click CMDs
|
2022-02-13 19:57:04 +01:00 |
|
InsanePrawn
|
863fbc1df0
|
pacman.conf: make ParallelDownloads configurable
|
2021-12-29 21:30:06 +01:00 |
|
InsanePrawn
|
ee4f899254
|
partially add config.file['paths']['images'] (mostly taken from c5c8104a60 )
Co-authored-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-10-25 17:48:51 +02:00 |
|
InsanePrawn
|
9258cbf76d
|
config.py: docstring fixes
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
3ea3366534
|
cmd_config_set(): fix --non-interactive
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
482fa38954
|
config.py: config set: convert to correct type using click
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
34a992b5a0
|
config.py: add cmd_config_{get,set}
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
e6f7cc785e
|
add -N alias for --non-interactive
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
38438d5fda
|
Chroot.initialise(): add reset param, refactor in general
|
2021-10-25 01:51:03 +02:00 |
|
InsanePrawn
|
8d1061004a
|
config.py: fix config parsing warning and exception throwing
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-10-25 01:50:01 +02:00 |
|
InsanePrawn
|
52458bd314
|
manage (download, pull) pkgbuilds.git, move it inside .cache. add git() convenience wrapper
|
2021-10-17 03:23:29 +02:00 |
|
InsanePrawn
|
ddbbb6a710
|
config: init prompting refactors
|
2021-10-12 04:30:45 +02:00 |
|
InsanePrawn
|
22308aadb2
|
config.py: format
|
2021-10-12 02:33:34 +02:00 |
|
InsanePrawn
|
7f2df127d1
|
config: init prompt improvements (forgotten changes)
|
2021-10-10 18:29:44 +02:00 |
|
jld3103
|
e6d084b513
|
Require name for profile init
|
2021-10-10 15:29:03 +02:00 |
|
InsanePrawn
|
d1e07c0841
|
config/profile init: updates and fixes
|
2021-10-10 02:12:58 +02:00 |
|
InsanePrawn
|
33dd19a533
|
Add config init and config profile init
|
2021-10-09 22:01:11 +02:00 |
|
InsanePrawn
|
bae5fbc272
|
config.py: add error_shell to CONFIG_RUNTIME_DEFAULTS, clean up return types of some functions
|
2021-10-09 18:56:31 +02:00 |
|
InsanePrawn
|
c7b2159481
|
Respect crossdirect and ccache build config in cmd_build()
|
2021-10-07 01:14:42 +02:00 |
|
InsanePrawn
|
0b2caa02af
|
Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-10-04 20:16:27 +02:00 |
|
InsanePrawn
|
1c8fd7eccd
|
Revert config disabling crosscompile by default
|
2021-10-04 13:37:16 +02:00 |
|
InsanePrawn
|
d85c00fa12
|
Move mounting code to utils.py, move a lot of chroot-logic from packages to chroot.py, cmd_chroot
also moar crossdirect
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-10-01 18:30:01 +02:00 |
|
jld3103
|
94c6829663
|
Print path of newly created config file
|
2021-10-01 12:31:39 +02:00 |
|
InsanePrawn
|
482c5f8111
|
Get rid of /app hardcodes
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-30 17:18:32 +02:00 |
|
InsanePrawn
|
a3d85cda8c
|
config.get_path(), wrapper: remove --config/-C from wrapper args
|
2021-09-30 03:50:47 +02:00 |
|
InsanePrawn
|
f3794f939e
|
Move enforce_wrapper() into appropiate CMDs. This speeds up --help as a side effect!
|
2021-09-29 23:18:12 +02:00 |
|
InsanePrawn
|
18c689f897
|
Add config init, currently broken due to docker wrapping
|
2021-09-29 22:57:26 +02:00 |
|
InsanePrawn
|
f09deaa9a5
|
a lot: profiles, some more help strings. partial: exceptions instead of exit()
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-29 02:00:59 +02:00 |
|
InsanePrawn
|
d08e25fe1b
|
Add distros.get_base_distros()
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
3b69c2235b
|
Crosscompile is borked, host-compile seems working
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
232df81901
|
WIP: Add scaffolding for arch-agnostic base-distro handling
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
44261ffccb
|
new dependency generation algorithm, dynamic chroot paths [almost] everywhere
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
40fe23ae28
|
config: add dump_toml() and dump_file()
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
d9662cc0d1
|
config: renamed paths
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
b36539af4c
|
config.py: refactor merge_configs() out of parse_file() and add sanitize_config() alias
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
ba7043b654
|
config.py: store config path in runtime conf and log file load
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
32fbc7529b
|
config profiles: add optional user password
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
144acee10f
|
WIP: Improve config parsing, make --verbose and --config-file global options
Bonus: Generalize and reuse cmd_ssh()
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
4cf608eeb6
|
load_config(): add merge_defaults parameter, fix accidental overwriting of default profile when merging
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
7f153c214c
|
config.py: formatting
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
9cc09e4f5b
|
config: add config parsing and merging
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-26 17:19:30 +02:00 |
|
InsanePrawn
|
07c61f9a33
|
Add first draft for config parsing
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-26 17:19:30 +02:00 |
|