pmbootstrap/pmb/helpers
Oliver Smith 2b1dfe7cfc
pmb.helpers.git.rev_parse: don't return "" on err (!1848)
Remove a legacy code path from back in the day, where pmaports were in
the same repository as pmbootstrap ([1]). Nowadays, pmaports are always in a
git repository, so this is not necessary anymore. If git fails at this
point, crash hard and don't carry on with an empty string.

This is in preparation for using rev_parse in new code paths, so we
don't need to check the return value of rev_parse.

[1] 39548835 "Write custom os-release (closes #324) (#439)"
    https://github.com/postmarketOS/pmbootstrap/pull/439
2020-01-19 20:37:43 +03:00
..
__init__.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
args.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
cli.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
devices.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
file.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
frontend.py pmb.config.chroot_home_symlinks: cache rust dirs (!1850) 2020-01-14 02:50:53 +01:00
git.py pmb.helpers.git.rev_parse: don't return "" on err (!1848) 2020-01-19 20:37:43 +03:00
http.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
logging.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
mount.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
other.py pmb.helpers.git.clone: use git from host system (!1845) 2020-01-12 00:39:47 +01:00
package.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
pkgrel_bump.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
pmaports.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
repo.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
repo_missing.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
run.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
run_core.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
ui.py Change copyright to 2020 2020-01-06 02:43:00 +01:00