pmbootstrap/pmb
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
..
aportgen Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
build Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
chroot Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
config Check kernel config options based on the architecture (#1233) 2018-02-17 13:37:35 +00:00
export Odin export: make sure temp folder is empty (#1141) 2018-01-22 22:35:07 +00:00
flasher Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
helpers Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
install Fix invalid /etc/apk/repositories entry on device (#1189) 2018-02-01 22:44:20 +00:00
parse Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
qemu Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
__init__.py pmbootstrap: Disallow running as root (#1120) 2018-01-14 08:13:35 +00:00