Revision 2da876d0 devflow/__init__.py
b/devflow/__init__.py | ||
---|---|---|
45 | 45 |
"versioned", "allowed_version_re", |
46 | 46 |
"debian_branch"]) |
47 | 47 |
VERSION_RE = "[0-9]+\.[0-9]+(\.[0-9]+)*" # pylint: disable=W1401 |
48 |
HOTFIX_RE = \ |
|
49 |
"^(?P<bverstr>^%s\.[1-9][0-9]*)$" % VERSION_RE, # pylint: disable=W1401 |
|
50 | 48 |
|
51 | 49 |
BRANCH_TYPES = { |
52 | 50 |
"feature": branch_type(True, False, False, "^%snext$" % VERSION_RE, |
... | ... | |
59 | 57 |
"master": branch_type(True, True, False, |
60 | 58 |
"^%s$" % VERSION_RE, "debian"), |
61 | 59 |
"hotfix": branch_type(True, True, True, |
62 |
HOTFIX_RE,
|
|
60 |
"^(?P<bverstr>^%s\.[1-9][0-9]*)$" % VERSION_RE,
|
|
63 | 61 |
"debian")} |
64 | 62 |
BASE_VERSION_FILE = "version" |
Also available in: Unified diff