InsanePrawn
|
a5a2668af5
|
integration_tests: default KBS branch name from CI env vars if kbs_branch comes back empty
|
2022-11-09 20:19:04 +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
|
0c70d6ec59
|
integration_tests.test_packages_update(): use switch_branch=True and check if branch successfully switched
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
4fc45bf098
|
packages/cli: cmd_clean(): reword output
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c12b702383
|
packages: fix up cmd_update(), {init,clone}_pkgbuilds()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
d5c5d19c94
|
.gitlab-ci.yml: add integration_tests.py to pytest
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c027afd58a
|
add integration_tests.py
|
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
|
f395ef231b
|
packages: clone_pkgbuilds(): use git remote update before git switch
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
56dbd3966c
|
wrapper.is_wrapped(): handle wrapper_type = 'none'
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
b551c89a1c
|
packages: add tests for flavour.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
dfb305b362
|
packages/cli: clean up cmd_list()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
4320c28c1b
|
packages/cli: clean up wrapping
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
91041ab06d
|
packages/build: build_enable_qemu_binfmt(): don't install packages on unwrapped systems
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
6b4bb27609
|
packages/pkgbuild: discover_pkgbuilds(): check for makepkg or wrap
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f016eccc6e
|
image.py: bring back enforce_wrap()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
99cc0c9845
|
packages/flavour: add support for optional description in flavourinfo.json
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f8af06959c
|
cache.py: fix docs, call packages.cmd_clean() for /pkgbuilds
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
5580c48b08
|
image.cmd_build(): use correct strictness for filter_pkgbuilds() for local vs extra packages
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c1afc5bb27
|
constants: split up BASE_PACKAGES into kupfer-specific and base-distro packages
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
8b504142de
|
packages: filter_pkgbuilds(): track which queries were matched and error on incompletely satisified queries
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
103c18a171
|
packages/build: build_package(): respect Pkgbuild.nodeps
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
6ddab50e21
|
packages/pkgbuild: parse _nodeps and cache in srcinfo_cache
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
cac150d11b
|
packages/cli: cmd_check(): reindent and add _nodeps= key
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
939683f079
|
packages/cli: add packages init as an alias to packages update
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
18eba2dffd
|
constants.py: get rid of now unused FLAVOURS
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
707efe6bbd
|
image: use Flavour.parse_flavourinfo() for rootfs_size
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
eebca29c55
|
packages/flavour: implement flavourinfo.json parsing
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
3c91abd175
|
image.py: use new constants.POST_CMDS for post-cmd instead of per-flavour cmd
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
b3e2059196
|
packages/cli: add help str for cmd_list
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
6b613287bf
|
packages.srcinfo_cache: make dumped json more human-readable with indent=2
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
eb63a6869a
|
binfmt: fix up unnecessary shell and missing quoting at once
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
02e1b75a79
|
image.py: migrate to packages.flavour.get_profile_flavour() for the flavour name
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
4d86962862
|
packages: check_package_version_built(): clean up logging a bit
|
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
|
42d7a701fb
|
flash.py,boot.py: use packages.flavours.get_profile_flavour(), add --profile option
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c0b3b15260
|
packages: cmd_list_{devices,flavours}(): error on empty results
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
34ffbfb0bf
|
pkgbuild: clone_pkgbuilds(): fix typos
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
ba5cda7cfa
|
config: prompt_profile(): handle uninitialised PKGBUILDs gracefully and warn user
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
72d9bf3a37
|
config: cmd_profile_init(): make profile name optional, default to config.file.profiles.current
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
771199d932
|
packages.setup_sources(): log when package version changes after refreshing
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f705e39ca1
|
chroot.mount_{ccache,rust}: use config.get_path() to resolve %cache_dir%
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
2757490a8f
|
packages: check_package_version_built(): don't refresh sources by default, default to doing it in get_unbuilt_package_levels() though
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
851b4e7477
|
packages: build_package(): improve logging so the user has a chance to know what's going on.
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
49f452342e
|
packages: setup_sources(): we need to use a chroot or else the paths in pkgbuilds/$pkg/src/ will be hosed up
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
97ae046f1e
|
packages/build: setup_sources(): remove chroot, add srcinfo cache, use in check_package_built()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
16b2f1a3c2
|
packages: Pkgbase.update(): fixups
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
e691afd328
|
packages/srcinfo_cache: add src_initialized=sha256sum(PKGBUILD)
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
0fdb6f891b
|
dataclass: handle non-DataClass Munches properly
|
2022-11-09 20:19:04 +01:00 |
|