pmbootstrap/pmb/helpers
Oliver Smith 5102d48064 Make APKINDEX downloads returning 404 non-fatal (!1726)
Do not fail when an APKINDEX can not be downloaded, print a WARNING
instead. This matches, what apk does. Add a new allow_404 parameter to
pmb.helpers.http.download(), and use it in pmb.helpers.repo.update()
for downloading APKINDEX files. Cache the APKINDEX URLs that gave a 404
for the session, so we do not attempt to download these again.

This is needed for the new binary repository: the initial build is done
without existing APKINDEX files, so we must not fail in that case.
2018-12-11 06:56:53 +00:00
..
__init__.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
args.py Make APKINDEX downloads returning 404 non-fatal (!1726) 2018-12-11 06:56:53 +00: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 pmb: use UTF-8 in pmb.helpers.file.replace() 2018-07-11 18:26:01 +00:00
frontend.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
git.py Link to wiki page if first git clone fails 2018-09-26 05:58:11 +00:00
http.py Make APKINDEX downloads returning 404 non-fatal (!1726) 2018-12-11 06:56:53 +00: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 build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
package.py repo_missing: fix "could not find aport" error 2018-12-03 21:02:18 +01:00
pkgrel_bump.py allow specifying multiple postmarketOS mirrors (!1718) 2018-12-06 07:31:43 +01:00
pmaports.py repo_missing: properly find subpackages, provides (!1724) 2018-12-10 21:00:04 +01:00
repo.py Make APKINDEX downloads returning 404 non-fatal (!1726) 2018-12-11 06:56:53 +00:00
repo_missing.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
run.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
run_core.py Kill the child processes spawned by a run command 2018-10-02 07:06:46 +00:00
ui.py Show UI selection ordered by name, `none` remains at the beginning (#1092) 2018-01-07 03:55:27 +00:00