pmbootstrap/pmb/parse
Oliver Smith c616874443
pmb.helpers.git: parse channels.cfg (MR 1912)
Prepare to base postmarketOS on Alpine stable by parsing the new
channels.cfg file in pmaports.git, that describes which channel
needs which branches and mirror dirs from postmarketOS and Alpine.

Use the information in pmb.helpers.git.get_branches_official() first,
more is coming in follow-up commits.

Read the file from origin/master, so we get the latest fetched version
even if the last checked out master branch is not up-to-date (think of
currently checked out release branch instead of master, master will
never be updated to point to latest origin/master). Allow to override
the file with a new --config-channels parameter.

Related: https://postmarketos.org/channels.cfg
2020-05-17 08:08:44 +02:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
_apkbuild.py pmb.parse._apkbuild: decrease log verbosity (!1897) 2020-03-29 15:15:55 +02:00
apkindex.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
arch.py pmb.qemu: use current device instead of requiring --arch (!1886) 2020-03-14 08:05:32 +01:00
arguments.py pmb.helpers.git: parse channels.cfg (MR 1912) 2020-05-17 08:08:44 +02:00
binfmt_info.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
bootimg.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
depends.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
deviceinfo.py pmb: Look for device/* files in device/*/... instead (!1879) 2020-03-14 08:44:16 +01:00
kconfig.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
version.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00