Commit graph

788 commits

Author SHA1 Message Date
InsanePrawn
4cd1b0bf2e pyproject: replace yapf with ruff and add lsp plugins 2025-03-29 21:52:01 +01:00
InsanePrawn
63e5c135a5 docs: adjust installation instructions 2025-03-29 21:52:01 +01:00
InsanePrawn
b341700a93 pyproject: set python version to >=3.11 2025-03-29 21:52:01 +01:00
InsanePrawn
71b9c22c39 docs: move requirements to pyyproject.toml 2025-03-29 21:52:01 +01:00
InsanePrawn
48746f785b move tests to tests subdir 2025-03-29 21:52:01 +01:00
InsanePrawn
140da95d65 Dockerfile: adjust to pip installability 2025-03-29 21:52:01 +01:00
InsanePrawn
2e1496bb1c move wrapper_su_helper to pyproject.toml 2025-03-29 21:52:01 +01:00
InsanePrawn
1e3a7a8d3b wrapper/docker: use build --pull --network host to avoid dns issues and stale images 2025-03-29 21:52:01 +01:00
InsanePrawn
61da193d90 move test_requirements.txt to requirements-dev.txt using project deps
Also add compat symlink for the old txt file and venv_dev makefile target
2025-03-29 21:52:01 +01:00
raihan2000
71cfaef537 integration_tests.py: add kbs.main in import 2025-03-29 21:52:01 +01:00
InsanePrawn
6188e024d7 add Makefile 2025-03-29 21:52:01 +01:00
InsanePrawn
8adbabfb5d kupferbootstrap: add typed marker and convert non-relative imports 2025-03-29 21:52:01 +01:00
InsanePrawn
c8d7a5bc1d docs: adjust to pip installation, add code index 2025-03-29 21:51:49 +01:00
InsanePrawn
0969f342d0 gitlab-ci: add sanity check for docker images by running kbs --help 2025-03-29 21:50:13 +01:00
InsanePrawn
8aed3b15ed integration_tests: adapt to pip installation 2025-03-29 21:50:13 +01:00
InsanePrawn
96b093d1e1 fix docker wrapper 2025-03-29 21:50:13 +01:00
InsanePrawn
84e7b33ca8 docker: install kbs via pip 2025-03-29 21:50:13 +01:00
InsanePrawn
898df68e79 gitlab-ci: update to install kbs via pip 2025-03-29 21:50:13 +01:00
InsanePrawn
1a37e32db5 make kupferbootstrap package installable 2025-03-29 21:34:21 +01:00
InsanePrawn
da6bc1023f move kbs source files to src/ 2025-03-03 08:46:23 +01:00
InsanePrawn
8f1b1ad846 wrapper_su_helper: pass PATH env var to child shell 2025-03-03 08:45:18 +01:00
InsanePrawn
c80885ddd7 cli: check KBS version against repos.yml for relevant commands 2025-03-03 07:22:37 +01:00
InsanePrawn
821bde59e9 version: add kbs version check functionality and CLI 2025-03-03 07:22:37 +01:00
InsanePrawn
c844978b4d distro/repo_config: add kbs_min_version and kbs_ci_version options 2025-03-03 06:59:57 +01:00
InsanePrawn
923a16f8f6 distro/repo_config: ReposConfigFile: default to allow_extra=True 2025-03-03 06:58:27 +01:00
InsanePrawn
bfa027d08a dictscheme: expose allow_extra in constructor and update() 2025-03-03 06:58:27 +01:00
InsanePrawn
cd4b2cbf37 gitlab-ci: pytest: unlock 'nobody' account for su integration tests to work 2025-03-03 06:32:13 +01:00
raihan2000
eadbdc891a chroot/device: add cast to satisfy typechecker 2025-03-03 06:32:13 +01:00
InsanePrawn
3831af7516 constants: remove community repos 2025-03-03 06:32:13 +01:00
InsanePrawn
a17ae67600 distro/repo_config: add support for repos.local.yml 2025-03-03 06:32:13 +01:00
InsanePrawn
a28550825f image/image: tolerate pub-key copying to fail during image build 2024-03-23 17:53:59 +00:00
InsanePrawn
a176fad05a net/ssh: copy_ssh_keys(): pass chroot for uid resolution 2024-03-23 17:53:59 +00:00
InsanePrawn
a4cfc3c3e5 exec/file: makedir(): add mode=None arg 2024-03-23 17:53:59 +00:00
Syboxez Blank
cebac83186 packages/pkgbuild: parse_pkgbuild(): Reuse pkgbase's makedepends as dependencies
Authored-by: InsanePrawn <insane.prawny@gmail.com>
2024-03-23 17:48:38 +00:00
InsanePrawn
f05de7738a integration_tests: test importing main.cli 2024-01-08 04:25:42 +01:00
InsanePrawn
b006cd8f4d packages/pkgbuild: support new key "_crossdirect" to enable/disable crossdirect for single packages 2024-01-08 03:04:43 +01:00
InsanePrawn
4b2150940d packages/build: use copy && remove_file() instead of shutil.move() 2023-12-22 05:07:55 +01:00
InsanePrawn
eaac9195ea packages/build: build_enable_qemu_binfmt(): also build gcc package if available 2023-12-20 03:36:13 +01:00
InsanePrawn
c074fbe42c packages/pkgbuild: parse_pkgbuild(): inherit depends, makedepends, provides, replaces from pkgbase unless overriden 2023-12-20 03:33:28 +01:00
InsanePrawn
a75f32b4b1 chroot/build: mount_crossdirect(): fix symlink creation if link exists 2023-12-20 01:56:27 +01:00
InsanePrawn
4cce7e57ae constants: use ALARM's aarch64 gcc that we package 2023-12-20 01:56:27 +01:00
InsanePrawn
95147cecea docs: convert absolute links to relative 2023-12-19 23:34:33 +01:00
InsanePrawn
ff8a529690 docs: move usage guides to usage/, add quickstart and porting 2023-12-11 17:13:11 +01:00
InsanePrawn
2e504b7b00 dictscheme: fix type hinting 2023-12-11 12:53:03 +01:00
InsanePrawn
a0c4036390 packages: try_download_package(): check pacman cache if file in db but doesn't exist in db folder 2023-12-11 12:49:17 +01:00
InsanePrawn
4c5fe2cb1c config/cli: prompt_choice(): fix change detection logical inversion 2023-08-29 02:13:41 +02:00
Hacker1245
6bcd132b53 docs: update device names in profiles 2023-07-12 18:23:30 +00:00
InsanePrawn
c70b52e5c1 utils: color_mark_selected: fix msg_items tuple size to 2 2023-07-09 03:21:33 +02:00
InsanePrawn
60b38d895c devices, flavours, config: add "inherited from ABC" to "selected by XYZ" output 2023-06-25 16:04:35 +02:00
InsanePrawn
7425356f10 devices/device: extract sanitize_device_name() into own function 2023-06-25 16:04:00 +02:00