Commit graph

25 commits

Author SHA1 Message Date
InsanePrawn
7945a4756f distro/repo: use persistent dir for repo db if RemoteRepo.cache_repo_db == True 2023-04-17 05:32:12 +02:00
InsanePrawn
13aa258794 distro: use repo_config properly 2023-04-16 03:31:35 +02:00
InsanePrawn
28a5400d48 distro/distro: get_base_distro(): add unsiged=True to keep old default behaviour 2023-03-27 21:27:10 +02:00
InsanePrawn
3ed0721d52 formatting cleanups 2023-03-27 19:45:35 +02:00
InsanePrawn
e7fbcb6fbe distro: bugfixes: use get_kupfer_url() in the right place to resolve branch placeholder, default some values 2023-03-27 18:48:23 +02:00
InsanePrawn
f3c53e449b constants: rename %branch% URL marker to %kupfer_branch% and give it its own constant 2023-03-27 18:48:04 +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
066b6abaaa distro/distro: add scan parameter to get_base_distro() 2023-03-17 16:34:20 +01:00
InsanePrawn
61a9b53c5f distro/distro: add get_kupfer_url() for resolving the repo branch 2022-12-08 17:51:37 +01:00
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