History | View | Annotate | Download (7.9 kB)
Use lsb_release only if available
fallback to uname command output as a distro codename. This allowsdevelopers to use commands such `update-version` on other than linuxunix-like environments (FreeBSD, OSX etc.).
pylint fixes
Handle case of no user in config
Get vcs_user info from gitconfig
Fix bug in undebianizing branch
Add case branch equals codename
fix
Fix bug in debian branches with distribution
Fix getting branch type for debian branches with distribution
Replace rstrip with re.sub
With rstrip we specify a set of characters to be removed.We want to remove a substring hence the use of re.sub.(rstrip produces wrong results in many cases)
Include distribution when searching debian branch
Debian branches are searched with the following order:
-feature-X: * debian-feature-X-distro * debian-feature-X * debian-develop-distro * debian-develop
Add dist codename in debian version and changelog
Merge branch 'master' into develop
Conflicts: devflow/utils.py
devflow-autopkg from debian branchese
Fix computation of debian-branch
Debian branch should always be named from the original branch, becauseversion should be corrected correctly. e.g. if making a package forrelease-X, debian branch should be debian-release-X, and thedebian-release-X branch should point to debian-develop.
Fix debian tag, remove ~
Try default debian branch before 'debian'
Fix bug
Get the type and not the name of the branch to check for correctbranch name.
Fix typos/imports
Create helper function for getting config
Make devflow-autopkg mode argument optional
Get debian branches from origin
Try to get "debian-*" branches from origin, before fallingback to debian branch.
Support debian revisions
Find the correct debian revision, by looking the debian tags. Also, movesome functions to new 'utils' module.