pmbootstrap/pmb/parse
Oliver Smith 7f956e2f72 version parsing: fix errors with 3.0.0_pre1 (!1735)
Python < 3.6 randomized the order of keys in dictionaries, unless
OrderedDict was used. Use OrderedDict to store the version suffixes.

When the order was randomized, the valid version string 3.0.0_pre1 did
not always pass the validation check. The suffix "pre" should always be
detected as such, but with the random order, it was sometimes detected
as "p" suffix (see below). The following letters "re" are not a valid
suffix_no (the number expected to follow the suffix) and so it failed.

suffixes = {
    "pre": ["pre", ...],
    "post": ["p". ...]
}
2018-12-31 07:46:47 +01:00
..
__init__.py Make proprietary drivers optional (1/2): pmbootstrap changes (#1254) 2018-02-24 21:49:10 +00:00
_apkbuild.py new action: 'pmbootstrap repo_missing' 2018-12-01 21:30:59 +00:00
apkindex.py Remove fuzzy versions for dependencies 2018-10-11 05:30:22 +00:00
arch.py Enable armv7 (!1730) 2018-12-17 08:06:10 +01:00
arguments.py Run os.path.expanduser() on all args paths (!1731) 2018-12-17 08:55:33 +01:00
binfmt_info.py install apk keys and binfmt data with setup.py 2018-09-17 10:06:57 +00:00
bootimg.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
depends.py build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
deviceinfo.py deviceinfo: resolve path for parser errors (!1732) 2018-12-26 21:43:54 +01:00
kconfig.py build.find_aport() -> helpers.pmaports.find() 2018-12-01 21:30:59 +00:00
version.py version parsing: fix errors with 3.0.0_pre1 (!1735) 2018-12-31 07:46:47 +01:00