Commit graph

676 commits

Author SHA1 Message Date
InsanePrawn
28a5400d48 distro/distro: get_base_distro(): add unsiged=True to keep old default behaviour 2023-03-27 21:27:10 +02:00
InsanePrawn
78f9f31e7a repo_config: add default remote_url=None to BaseDistro 2023-03-27 20:03:47 +02:00
InsanePrawn
9766c70523 fixup! requirements.txt: add yaml 2023-03-27 19:49:14 +02:00
InsanePrawn
49c5ec7fd7 repo_config: assert config non-null 2023-03-27 19:47:20 +02:00
InsanePrawn
3ed0721d52 formatting cleanups 2023-03-27 19:45:35 +02:00
InsanePrawn
8ea1ae98be repo_config; changed detection fixes 2023-03-27 19:41:47 +02:00
InsanePrawn
7fa6f80305 requirements.txt: add yaml 2023-03-27 19:40:46 +02:00
InsanePrawn
b9e044f932 constants: rename 'distro.yaml' to 'distro.yml' 2023-03-27 18:59:55 +02:00
InsanePrawn
f313334a27 distro/repo_config: use correct default remote url for base distros 2023-03-27 18:58:29 +02:00
InsanePrawn
e400361dc1 distro/repo_config: remove unnecessary name attribute from RepoConfig 2023-03-27 18:58:03 +02:00
InsanePrawn
e7fbcb6fbe distro: bugfixes: use get_kupfer_url() in the right place to resolve branch placeholder, default some values 2023-03-27 18:48:23 +02:00
InsanePrawn
f3c53e449b constants: rename %branch% URL marker to %kupfer_branch% and give it its own constant 2023-03-27 18:48:04 +02:00
InsanePrawn
4517201118 repo_config: switch to .yaml 2023-03-27 09:23:16 +02:00
InsanePrawn
d77adf9b21 packages/cli: cmd_init(): also initialise binary repos 2023-03-27 09:19:08 +02:00
InsanePrawn
21c5992bde packages/build: improve packages init logging 2023-03-27 09:19:08 +02:00
InsanePrawn
ff1c31e157 TEMP: WIP: add repo_config
TEMP cause it spams a bunch of prints in dataclass handling
2023-03-27 09:18:57 +02:00
InsanePrawn
72f4d4948e TEMP: override DataClass.ToDict() 2023-03-21 20:53:17 +01:00
InsanePrawn
53ef22d6b8 distro/repo.py: fix accidental global variable 2023-03-21 20:52:54 +01:00
InsanePrawn
2ad4690c0a {devices,flavours}/cli: add --output-file for json dumping 2023-03-17 16:34:20 +01:00
InsanePrawn
161e14a438 distro/repo: scan(): add allow_failure parameter 2023-03-17 16:34:20 +01:00
InsanePrawn
066b6abaaa distro/distro: add scan parameter to get_base_distro() 2023-03-17 16:34:20 +01:00
InsanePrawn
9f5bafab57 distro/package: fix DESC parser 2023-03-17 16:34:20 +01:00
InsanePrawn
272d55b735 devices/cli: add --force-parse-deviceinfo and --download-packages 2023-03-17 16:34:20 +01:00
InsanePrawn
af1d8d1737 flavours/cli: clean up json. (add architectures, flatten flavour_info, etc.) 2023-03-17 16:34:20 +01:00
InsanePrawn
78874a15e6 packages/cli: linter fixes 2023-03-17 16:34:20 +01:00
InsanePrawn
f38fb798bc devices: don't pass config to parse_pkgbuild*() unnecessarily, that's only for multiprocessing 2023-03-17 16:34:20 +01:00
InsanePrawn
de7b597518 logger: add --quiet flag to disable non-error logging 2023-03-17 16:34:20 +01:00
InsanePrawn
f140fa36ce flavours/cli: colorise output, add -j/--json arg 2023-03-17 16:34:20 +01:00
InsanePrawn
69c73e41dd devices/cli: colorize output 2023-03-17 16:34:20 +01:00
InsanePrawn
e269841038 utils: add colors_supported() and color_str() for terminal colors 2023-03-17 16:34:20 +01:00
InsanePrawn
932e739255 devices/cli: add --json parameter 2023-03-17 16:34:20 +01:00
InsanePrawn
63156776a2 devices/cli: make device list way more readable, add package name and path, mark currently selected 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
c4797c709f logger: disable raising exceptions, e.g. when stdout is closed 2023-03-17 16:34:20 +01:00
InsanePrawn
28c68418a6 packages/build: get_unbuilt_package_levels(): use force=True while updating pkgbar 2023-03-17 16:34:20 +01:00
InsanePrawn
cc1b4b3ee2 packages/build: redirect output from stderr to stdout 2023-03-17 16:34:20 +01:00
InsanePrawn
ff3b5e70dd progressbar: add ellipsize() 2023-03-17 16:34:20 +01:00
InsanePrawn
ac25266a00 packages: build: use progress bars for get_unbuilt_pkg_levels() and build_packages() 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
6d6f582b71 exec/cmd: fix up stderr and stdout handling, fix capture_output overwriting env 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
4d03f238bb CI: fix for docker buildx 2023-03-17 16:26:53 +01:00
InsanePrawn
e758e3c343 docs/versions: fix version selector being hidden behind TOC sidebar
also make it scrollable on _really_ small screens

ci-kbs-docs-build-full
2023-01-04 01:21:03 +01:00
InsanePrawn
7955842da9 docs: cache versioned html to tarball for speed and CI uploads 2023-01-04 01:21:00 +01:00
InsanePrawn
c7084895d6 docs: add versions target to produce multi-version docs
ci-kbs-docs-build-full
2022-12-16 05:30:53 +01:00
InsanePrawn
dc59378243 .gitignore: add *.xml 2022-12-15 07:09:08 +01:00
InsanePrawn
cec828553d packages/pkgbuild: track whether pkg is built on a per-architecture basis 2022-12-11 03:02:00 +01:00
InsanePrawn
45eba305cb packages/cli: add --switch-branch to cmd_init 2022-12-11 03:01:55 +01:00
InsanePrawn
60d8cb77ea packages/cli: add .srcinfo_meta.json and .SRCINFO to packages clean 2022-12-10 19:47:32 +01:00