InsanePrawn
|
b84d2202db
|
python 3.9 compat: introduce typehelpers.py for NoneType, UnionType, TypeAlias
|
2023-04-17 02:37:10 +02:00 |
|
InsanePrawn
|
4115d6ba00
|
packages/build: build_package(): source /etc/profile before building so PATH is complete
|
2023-04-16 04:03:49 +02:00 |
|
InsanePrawn
|
f6fb521c8a
|
packages: build_enable_qemu_binfmt(): don't use is_registered()
|
2023-04-16 04:03:49 +02:00 |
|
InsanePrawn
|
3ed0721d52
|
formatting cleanups
|
2023-03-27 19:45:35 +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
|
78874a15e6
|
packages/cli: linter fixes
|
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
|
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
|
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 |
|
InsanePrawn
|
6fa717ce64
|
packages/build: setup_sources(): drop --holdver
Dubious gain with gratis issues
|
2022-12-10 19:47:32 +01:00 |
|
InsanePrawn
|
795878cfeb
|
packages/cli: add --init-caches/--no-init-caches to cmd_init() and cmd_update()
|
2022-12-10 19:47:32 +01:00 |
|
InsanePrawn
|
9e81fbf345
|
packages/pkgbuild: split out get_pkgbuild_dirs() from discover_pkgbuilds()
|
2022-12-09 03:47:14 +01:00 |
|
InsanePrawn
|
4112f5a56e
|
packages/build: check_package_version_built(): use local repo db and validate checksum before calling repo-add again
|
2022-12-08 01:44:33 +01:00 |
|
InsanePrawn
|
75d6ea8c3c
|
packages/build: build_enable_qemu_binfmt(): use a chroot if not wrapped
|
2022-12-07 15:05:00 +01:00 |
|
InsanePrawn
|
97bfc541c5
|
packages/cli: cmd_check(): allow optional replaces field
|
2022-11-24 01:48:58 +01:00 |
|
InsanePrawn
|
6821949620
|
packages/cli: cmd_clean(): clean up .srcinfo_initialised.json, not .srcinfo_meta.json
|
2022-11-20 19:27:21 +01:00 |
|
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 |
|