Commit graph

16 commits

Author SHA1 Message Date
InsanePrawn
33f4a81981 config: move code from __init__.py into cli.py 2022-11-09 20:19:04 +01:00
InsanePrawn
bf420a73be distro: refactor BinaryPackage, Repo and Distro into generics for Local and Remote 2022-11-09 20:11:19 +01:00
InsanePrawn
dbe3dc91a3 distro/package: refactor class PackageInfo into class BinaryPackage(PackageInfo) 2022-11-09 19:39:59 +01:00
InsanePrawn
8ad18c00a6 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-11-09 19:39:59 +01:00
InsanePrawn
3952892029 generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary 2022-08-23 21:41:41 +02:00
InsanePrawn
ec1e5fa300 distro.py: cache get_kupfer_{local,https}() results 2022-08-11 07:24:48 +02:00
InsanePrawn
1a58b136e3 distro: add Distro.{scan,is_scanned}() 2022-08-11 07:24:48 +02:00
InsanePrawn
5003225409 distro: clean up merging dicts in distro.get_packages() 2022-08-10 01:38:45 +02:00
InsanePrawn
06b8536915 fixups: properly propagate distro.scan and try_download 2022-08-08 22:58:08 +02:00
InsanePrawn
597390c1e6 distro: fixup package repo downloading and scanning 2022-08-08 22:13:49 +02:00
InsanePrawn
ea7df92b7f pkgdownload: fixups and typechecks 2022-08-08 16:56:46 +02:00
InsanePrawn
cb95846fb5 distro: put extra_repos before core repos in pacman.conf 2022-05-08 18:05:15 +02:00
InsanePrawn
232254948d config: add pacman.repo_branch, adjust KUPFER_HTTPS url to include $arch and use repo_branch 2022-05-08 18:05:09 +02:00
InsanePrawn
7a324555da Type annotate all the things! 2022-02-18 06:32:04 +01:00
InsanePrawn
a7da033845 distro: fix type annotations to please mypy 2022-02-18 03:30:21 +01:00
InsanePrawn
0c3592065c distro: refactor into multiple files, packages: factor out distro.Pkgbuild class 2022-02-17 05:55:35 +01:00