pmbootstrap/pmb/helpers
Oliver Smith 99127111a1
Only download APKINDEX for relevant architectures (#1201)
### Only download APKINDEX for relevant architectures
We're downloading the APKINDEX files for all architectures supported by
postmarketOS currently (x86, x86_64, armhf, aarch64). Most of the time,
we only need it for the native and device arch, so this PR reduces the
downloaded files to what is really necessary.

### Intuitive pmbootstrap update logic
* pmb.helpers.repo.update():
  * Default is updating all arches where the APKBUILD files exist
  * Add existing_only parameter
  * Return True when files have been downloaded
  * Properly print which arches will be updated
  * Print update reason only in verbose log
  * Add and improve comments
* pmb.parse.arguments(), update action:
  * Add --non-existing parameter
  * Default for --arch is None (instead of arch.native)
* pmb.helpers.frontend.update():
  * Inform about --non-existing if no APKBUILDs have been updated
2018-03-04 13:44:27 +00:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
cli.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
devices.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
file.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
frontend.py Only download APKINDEX for relevant architectures (#1201) 2018-03-04 13:44:27 +00:00
git.py Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
http.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
logging.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
mount.py pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
other.py Add a check for binfmt_misc (#1236) 2018-02-17 20:41:54 +00:00
pkgrel_bump.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
repo.py Only download APKINDEX for relevant architectures (#1201) 2018-03-04 13:44:27 +00:00
run.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
ui.py Show UI selection ordered by name, `none` remains at the beginning (#1092) 2018-01-07 03:55:27 +00:00