Commit graph

28 commits

Author SHA1 Message Date
InsanePrawn
4154b2dfe3 distro.package: add Package.acquire() 2022-11-09 20:11:19 +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
c16147ef0c distro.package.parse_desc(): rename resolved_url param to resolved_repo_url for clarity 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
916be09c61 distro/repo.py: add Repo.__repr__() 2022-08-16 03:40:28 +02:00
InsanePrawn
bd5415de47 distro/package.parse_desc: add filename to resolved_url 2022-08-11 07:24:48 +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
85b4463da4 repo.py: remove unnecessary config import 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
0d05d3ca26 distro/repo: add repo.resolve_url(self) instance method 2022-08-08 16:35:47 +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
08d7ce8862 move Pkgbuild class to packages/ 2022-02-20 20:21:05 +01:00
InsanePrawn
434ddfde8f small cleanups 2022-02-20 19:23:28 +01: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
795be0bf2a pkgbuild: add Pkgbase class for split-package parents, fix type annotations 2022-02-17 19:34:58 +01:00
InsanePrawn
3fbda2e089 Remove leftovers, please the formatter. 2022-02-17 06:42:15 +01:00
InsanePrawn
e72a7f31bb pkgbuild: also parse replaces 2022-02-17 06:08:31 +01:00
InsanePrawn
0c3592065c distro: refactor into multiple files, packages: factor out distro.Pkgbuild class 2022-02-17 05:55:35 +01:00
InsanePrawn
7359b447e7 distro: refactor Repo- and PackageInfo into separate files 2022-02-17 03:11:33 +01:00
InsanePrawn
94b80b4fca distro: move to own subfolder 2022-02-17 03:00:21 +01:00