InsanePrawn
|
d3cc5e9483
|
main.py: announce force-enabling wrapper
|
2023-04-16 04:03:49 +02:00 |
|
InsanePrawn
|
de7b597518
|
logger: add --quiet flag to disable non-error logging
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
5edfac42ce
|
main.py: default colors to isatty(stdout) if force_colors is None
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
00613096d5
|
config/state: add config.runtime.colors, fill in main.py
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
c99463a0f6
|
progressbar: new module based on enlighten
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
785e41f8b7
|
logger: add --force-colors/--no-colors cli flag
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
11125e525f
|
config: remove accidental scheme validation circumvention, improve errors, warn on config loading failure in main()
This will fail on values of the wrong type, but still warn about and allow unknown keys.
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
82a87e7ea9
|
implement explicit Optional type hints for =None parameters
Thanks https://github.com/hauntsaninja/no_implicit_optional
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
5d0d76fff2
|
cache: move cache.py to new module cache/cli.py for uniformity
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
50bcd0de63
|
image: create new module from {image,boot,fastboot,flash}.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
afca099ede
|
net: make new module from {forwarding,ssh,telnet}.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
33f4a81981
|
config: move code from __init__.py into cli.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
777b3172d8
|
move packages/flavour.py to flavours/
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
6569fee6a2
|
chroot: move __init__.py to cli.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
0e86de1f44
|
packages/flavours: rename cmd_flavours_list() to cmd_flavours(), add to main cli directly
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
6581e34087
|
move packages/{device,deviceinfo}.py to devices/
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
7ab4904cbc
|
main.py: always print at least the beginning and end of the stack trace
|
2022-11-09 20:19:04 +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
|
5e4c038ed0
|
main: add -w to *enforce* wrapping
|
2022-11-02 00:38:18 +01:00 |
|
InsanePrawn
|
61476aae62
|
main.py: add -E alias for --error-shell
|
2022-01-26 17:53:53 +01:00 |
|
InsanePrawn
|
f90bf1006a
|
Fixup error shell, exception log level in main() and arch checking before docker wrapping in cmd_build()
|
2021-10-05 17:34:43 +02:00 |
|
InsanePrawn
|
c1ece2d616
|
main.py: add error shell flag for popping a shell on exceptions
|
2021-10-04 20:16:59 +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
|
0b134257cc
|
make main.py _the_ entry point, also chmod +x
|
2021-09-30 17:19:55 +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
|
f6678181b8
|
let's break all the things! (use distros to generate repos)
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
2021-09-29 16:54:26 +02:00 |
|
InsanePrawn
|
becde79172
|
images: repo typo (comma goes tuple), logging/exception handling
|
2021-09-29 02:35:53 +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
|
d52a615774
|
Make main.py the main entrypoint again and call docker wrapper enforcement from cli() callback
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
|
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 |
|
jld3103
|
4df7e93655
|
Add telnet command
|
2021-08-17 20:47:24 +02:00 |
|
jld3103
|
1f5357bca6
|
WIP: Add rootfs building and flashing and other misc commands
|
2021-08-05 20:26:48 +02:00 |
|
jld3103
|
f9ba5a3cfd
|
Initial commit
|
2021-08-04 18:36:37 +02:00 |
|