InsanePrawn
|
a8e8ddc4b4
|
typecheck: add --check-untyped-defs and fix some associated type errors
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
5951c8c296
|
packages/cli: check for loadable config before wrapping
|
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
|
185894842f
|
packages: clone_pkgbuilds() and friends: add discard_changes arg, use in integration_tests
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
f127ff7427
|
packages/build: explain what's going on and print the plan while lookin for unbuilts and building
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
447046d24a
|
packages/build: fix up incomplete f-strings
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
ec323ce8d7
|
packages: make _mode in PKGBUILD optional for building (but not for cmd_check), warn if missing
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
46f1e91f88
|
packages/build: build_package(): print package path in all info msgs
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
2cff31973e
|
packages/build: use makepkg --nodeps if package.nodeps is set...
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
b17cf3584a
|
packages/srcinfo_cache: move initialised_for to new .srcinfo_initialised.json file
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
276933036c
|
packages/srcinfo_cache: extract read() and class._read_file() methods into JsonFile
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
931e09c3d3
|
packages/srcinfo_cache: extract JsonFile class
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
809dfe6a7f
|
packages/build: build_package(): install makedeps for _nodeps=true packages
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
a0c2061c8b
|
pkgbuild.py: track makedepends both in depends and separate variable for _nodeps=true usage
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
dc2d826362
|
packages: clean up cmd_init
|
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
|
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
|
b2112026d2
|
packages/build: skip packages that were already built this run (e.g. split packages)
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
ebd541e039
|
packages/build: exclude package names from dependencies, use pkgbase.names()
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
e91a8c796c
|
packages/pkgbuild: parse version specs from dependencies, provides, etc.
handles e.g. "git>=1.0" properly
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
9ae721d888
|
packages/pkgbuild: filter_pkgbuilds(): fix up to_match tracking
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c726541967
|
packages/cli: get rid of overzealus profile device enforcement so --arch can do its job.
|
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
|
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
|
99cc0c9845
|
packages/flavour: add support for optional description in flavourinfo.json
|
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
|
eebca29c55
|
packages/flavour: implement flavourinfo.json parsing
|
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
|
4d86962862
|
packages: check_package_version_built(): clean up logging a bit
|
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
|
771199d932
|
packages.setup_sources(): log when package version changes after refreshing
|
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 |
|