InsanePrawn
|
c70b52e5c1
|
utils: color_mark_selected: fix msg_items tuple size to 2
|
2023-07-09 03:21:33 +02:00 |
|
InsanePrawn
|
bfce7c466d
|
utils: add color_mark_selected() to add ">>> selected by profile" msgs
|
2023-06-25 16:03:08 +02:00 |
|
InsanePrawn
|
e6f4a68c6b
|
utils: add color_mark_selected()
|
2023-06-25 04:03:03 +02:00 |
|
InsanePrawn
|
44eaf0d767
|
utils: add content-size to download_file
|
2023-04-17 04:49:29 +02:00 |
|
InsanePrawn
|
e269841038
|
utils: add colors_supported() and color_str() for terminal colors
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
ff3b5e70dd
|
progressbar: add ellipsize()
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
db4fbc083a
|
utils: add download_file()
|
2022-12-08 17:51:37 +01:00 |
|
InsanePrawn
|
95c2ffd133
|
utils: type-hint mount helpers
|
2022-12-07 13:21:42 +01:00 |
|
InsanePrawn
|
024075fabd
|
utils.git*(): use --git-dir=./.git to avoid "unsafe directory" issues
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
1275557d71
|
utils: git_get_branch(): check returncode
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
daff20302a
|
utils: create git_get_branch() from packages.cli
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f535344351
|
utils.git(): default cwd to None instead of "."
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
b31160146b
|
utils.py: add sha256sum(filepath)
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
2c70ad6c12
|
utils: add read_files_from_tar()
|
2022-11-09 20:11:20 +01:00 |
|
InsanePrawn
|
27e7fe9a10
|
utils.programs_available(): add cache
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
4eacee8cad
|
utils: add get_{user,group}_name() and get_{uid,gid}()
|
2022-08-15 23:12:59 +02:00 |
|
InsanePrawn
|
879fd113f0
|
exec: migrate exec.py to exec/cmd.py
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
66ac56d715
|
chroot: extract run_cmd() to new exec.py, use in utils.py and chroot/abstract.py
|
2022-08-15 06:17:26 +02:00 |
|
InsanePrawn
|
7a324555da
|
Type annotate all the things!
|
2022-02-18 06:32:04 +01:00 |
|
InsanePrawn
|
2e5205c9e9
|
Utils: add check_findmnt(), log_or_exception(), add PathLike type hint
|
2022-01-26 13:28:22 +01:00 |
|
InsanePrawn
|
c5183bd0bf
|
Refactor chroot.py into Chroot class
|
2021-10-25 01:51:03 +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
|
482744feb2
|
mount(): properly handle type . (forgotten to commit with binfmt mounting)
|
2021-10-10 18:29:44 +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
|
6242e4850d
|
partially fix crossdirect and QEMU_LD_PREFIX env var, copy /lib/ld-linux-* to foreign chroot for cross-execution
|
2021-10-04 13:34:37 +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 |
|
InsanePrawn
|
9b83bb16cd
|
forgot utils.py
|
2021-09-30 01:00:28 +02:00 |
|