pmbootstrap-meow/pmb/parse
Oliver Smith db5e69630e
Index parser: support multiple package providers (#1202)
* The APKINDEX parser used to return a dictionary with one package for
  a given package name. This works for the installed packages database,
  because there can only be one provider for a package. But when
  parsing packages from binary repositories, we need to support
  multiple providers for one package. It is now possible to get a
  dictionary with either multiple providers, or just a single provider
  for each package.
* Dependency parsing logic has been adjusted, to support multiple
  providers. For multiple providers, the one with the same package
  name as the package we are looking up is prefered. If there is none
  (eg. "so:libEGL.so.1" is provided by "mesa-egl"), it prefers packages
  that will be installed anyway, and after that packages that are
  already installed. When all else fails, it just picks the first one
  and prints a note in the "pmbootstrap log".
* Added testcases for all functions in pmb.parse.apkindex and
  pmb.parse.depends
* pmbootstrap chroot has a new "--add" parameter to specify packages
  that pmbootstrap should build if neccessary, and install in the
  chroot. This can be used to quickly test the depencency resolution
  of pmbootstrap without doing a full "pmbootstrap install".

Fixes #1122.
2018-02-20 19:52:28 +00:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
apkbuild.py Fix #839: Check pkgver after parsing APKBUILD / various small improvements (#854) 2018-01-18 22:05:27 +00:00
apkindex.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
arch.py Enable running pmbootstrap on x86 architecture (#1155) 2018-01-24 00:56:11 +00:00
arguments.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
binfmt_info.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
bootimg.py mkbootimg: replace Python version with osm0sis' C version (#1193) 2018-02-11 11:41:41 +00:00
depends.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
deviceinfo.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
kconfig.py Check kernel config options based on the architecture (#1233) 2018-02-17 13:37:35 +00:00
version.py version.py: fix validation of 6.0_0002 (#1160) 2018-01-25 18:23:55 +00:00