summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Check for git before querying it for a version"0.9.0Jenkins2014-06-301-1/+1
|\
| * Check for git before querying it for a versionJeremy Stanley2014-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | * pbr/packaging.py(_get_version_from_git): Wrap calls to _run_git_command in a conditional check for _git_is_installed to avoid an opaque error message which can occur when you have a .git directory but no git executable. Change-Id: I6752c93d393a941daa1e7fb949c7c3d2a75337f3 Closes-Bug: #1326682
* | Allow examining parsing exceptions.Robert Collins2014-06-281-0/+5
| | | | | | | | | | | | | | Having to put breakpoints in pbr to diagnose issues is bad for dealing with reports from users. Change-Id: Ifecf4c4e4bb5955e0e5feb4bf5b5b85150b08ebe
* | Merge "Un-nest some sections of code"Jenkins2014-06-271-83/+89
|\ \
| * | Un-nest some sections of codeMonty Taylor2014-05-261-83/+89
| | | | | | | | | | | | | | | | | | | | | Reversing the logic in a few of the booleans and returning earlier allows us to not have to be nested quite so deep. Change-Id: Ia0dad183563381e9eb8c790ba61d0b350d74421d
* | | Update integration script for Apache 2.4Sean Dague2014-06-261-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apache 2.4 requires site configuration files to have a ".conf" extension, and Apache 2.2 does not want the extension. Add logic to figure out the right name for the file so we can run the tests against both versions of Apache. Fixes bug: #1334326 install required libraries for mixed c things use build-dep to install the required libraries needed for the python build deps. Without this we can get cryptic library compilation issues. And use ccache explicitly Change-Id: Ia750e4221b119097521cf373752aae364759913b squashed into this one because we can't move forward without both. Co-Authored-By: Sean Dague <sean@dague.net> Change-Id: I5ab8898bd3cc2de18681fe3262cb784f7d9519ab
* | | Restore Monkeypatched Distribution InstanceKevin McCarthy2014-06-221-49/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pbr is monkeypatching the Distribution intstance in setuptools, which is OK I guess, but then it never puts it back how it left it. As a consequence, whenever pbr installs before another project in a setup.py, it breaks setuptools for everything that comes after it. This patch will restore the Distribution instance. Closes-Bug: 1324784 Change-Id: I20fbf255c634685e82f7b11987d2725de8280b9d
* | | Register testr as a distutil entry pointSteve Kowalik2014-06-112-1/+3
| |/ |/| | | | | | | | | | | | | | | pbr contains a testr distutil command, but since it isn't registered as an entry-point, it won't get used. Also drive-by a fix to coverage, where we go to the trouble of setting a variable, and then not using it. Change-Id: I2227adf3643ffe6bcece0c7d2127d23e20d52f7a
* | Merge "Allow _run_cmd to run commands in any directory."Jenkins2014-05-301-2/+6
|\ \
| * | Allow _run_cmd to run commands in any directory.Robert Collins2014-05-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to avoid running pip install within the directory of the test package on Python2.6, where it helpfully (not really) installs the test package, not pbr. Change-Id: I956ad29f68a32cb4d33af448333f649043e0a655
* | | Merge "Make setUp fail if sdist fails."Jenkins2014-05-272-10/+10
|\ \ \ | |/ /
| * | Make setUp fail if sdist fails.Robert Collins2014-05-272-10/+10
| | | | | | | | | | | | | | | | | | Hygiene - fail at the point of failure, not later. Change-Id: Id0328f1afad5dd2fb4f5ef22e025d60eef1d4e52
* | | Merge "Permit pre-release versions with git metadata"Jenkins2014-05-271-1/+1
|\ \ \ | |/ / | | / | |/ |/|
| * Permit pre-release versions with git metadataRobert Collins2014-05-271-1/+1
| | | | | | | | | | | | | | This is implied by the example and seems necessary for doing automated generation of pre-release versions. Change-Id: I8d4ceec200fac7982f2dafa7f8f1a8abfd4b0f83
* | Merge "Fix typos in docs"0.8.2Jenkins2014-05-242-5/+5
|\ \
| * | Fix typos in docsRoger Luethi2014-05-212-5/+5
| |/ | | | | | | Change-Id: I547e99c24707895c1e3614821c5cb8da354b294a
* | Remove --use-mailmap as it's not neededMonty Taylor2014-05-232-2/+2
|/ | | | | | | | | | | --use-mailmap is a newer git construct that applies mailmaps to things that are not using the mailmap aware format strings. But we're using those format strings, and this breaks on precise. Simplest thing - don't use the arg, since it's pointless and broken for us. Change-Id: Ic8ca062a6936a4f112aa52d0eb209211658611c2
* Merge "pbr/testr_command.py: Add logging"0.8.1Jenkins2014-05-091-0/+17
|\
| * pbr/testr_command.py: Add loggingMarc Abramowitz2014-05-051-0/+17
| | | | | | | | | | | | to aid in debugging and testing. Change-Id: I5342604204602623cdb5c0f2623d85f7d44e2b50
* | Documentation updatesVasudev Kamath2014-05-012-0/+27
|/ | | | | | | | | | * doc/source/index.rst: pbr requires git tags to be signed for using it to generate version information. Added a note mentioning this * doc/source/packagers.rst: documented SKIP_GENERATE_AUTHORS and SKIP_WRITE_GIT_CHANGELOG environment variable for packagers. Change-Id: I153c26f0d6876729dfb95eed2ab031c2aaa890d5 Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
* Merge "Fixed a typo in the documentation."Jenkins2014-05-011-1/+1
|\
| * Fixed a typo in the documentation.Alex Gaynor2014-04-251-1/+1
| | | | | | | | | | | | Found using: https://github.com/intgr/topy Change-Id: I15d9469e60ea74aacba03b5ad0e50b4a87661892
* | Merge "Make source configurable when using --coverage"Jenkins2014-04-301-2/+8
|\ \
| * | Make source configurable when using --coverageMarc Abramowitz2014-04-251-2/+8
| | | | | | | | | | | | | | | Change-Id: If5cd9e517d66322027408a59fd99015c91181db8 Closes-bug: #1310008
* | | Merge "README.rst: tweaks"Jenkins2014-04-291-18/+24
|\ \ \ | |_|/ |/| |
| * | README.rst: tweaksMarc Abramowitz2014-04-201-18/+24
| |/ | | | | | | Change-Id: Iadb60bd8422734a0eb252d30accd513a49032fd3
* | Format autoindex.rst file properlyRuby Loo2014-04-151-2/+2
|/ | | | | | | | | Fix the indentation of the lines following the "toctree" directive in the autoindex.rst file, so that they are aligned under the start of the "toctree" directive. Change-Id: Iff4ec8ea05819f6126a7be3d1fb5238c969fca21 Closes-Bug: #1307769
* make pbr use hacking directlySean Dague2014-04-082-3/+2
| | | | | | | Remove flake8 from pbr's requirements file, we should be requiring hacking instead, and let hacking pull in flake8. Change-Id: I6e7135a07e3ca6b9e26fcc9623b1434ecba1444f
* Merge "Add support for nested requirements files"Jenkins2014-03-312-0/+22
|\
| * Add support for nested requirements filesBen Nemec2014-03-262-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | pip supports requirements files with a line such as: -r other-requirements.txt for specifying nested requirements files. Adding support to pbr should be helpful with handling optional dependencies in projects better, by allowing us to split the requirements files and then merge them back together using -r lines. Change-Id: I80e081b2229cc81eed26533c50afb07dc98a1db1
* | Merge "Remove duplicate git setup in tests."Jenkins2014-03-312-8/+31
|\ \
| * | Remove duplicate git setup in tests.Robert Collins2014-03-172-8/+31
| | | | | | | | | | | | | | | | | | | | | Less duplication for more reuse. If the intent was clarity before, I'm happy to skip this and just have duplicate code... Change-Id: I09fd14ecd9751e79a3a475dedf320c36ba0ba71c
* | | Use unicode_literals import instead of u'unicode' notation.0.8.0Toilal2014-03-271-1/+1
| | | | | | | | | | | | | | | Change-Id: I94ff7e2517c714b9f576f9f9f615537502fcbf41 Closes-Bug: #1276139
* | | Remove pip version specifierDoug Hellmann2014-03-231-1/+1
| |/ |/| | | | | | | | | | | | | | | We don't actually require pip 1.4, and saying that we do breaks package installation in a lot of cases. Remove the version specifier from our requirements list. Fixes-bug: #1296310 Change-Id: I69c67c4c8cba7076e33292eaab9070ba51b4dff3
* | Merge "Fixes blocking issue on Windows"Jenkins2014-03-211-1/+3
|\ \
| * | Fixes blocking issue on WindowsOctavian Ciuhandu2014-03-191-1/+3
| |/ | | | | | | | | | | | | On Windows, environment variables can not be unicode. Change-Id: I8c7fd7627d7f733e0db8690a39e7128b7fe2ebcf Closes-bug: #1294246
* | Merge "Make tools/integration.sh take a branch"Jenkins2014-03-191-2/+4
|\ \ | |/ |/|
| * Make tools/integration.sh take a branchJoe Gordon2014-03-181-2/+4
| | | | | | | | | | | | | | | | Instead of always using master branch support the option to use stable branches. Read the branch via the $OVERRIDE_ZUUL_BRANCH environmental variable that devstack-gate sets Change-Id: Iab4ae1efddc4dca38dcd3779dae1a79ddc2b0852
* | Factor run_cmd out of the base class.0.7.0Robert Collins2014-03-131-7/+14
|/ | | | | | | I want to reuse this for factoring out some fixtures, so make it reusable. Change-Id: I7035a514adf889a8ebaadff9ae873341804fe099
* Return the real class in VersionInfo __repr__.Robert Collins2014-03-131-1/+2
| | | | Change-Id: I52337fd704a0d4b38f9562d88dcdf5952cf7b422
* Fix up some docstrings.Robert Collins2014-03-131-9/+14
| | | | | | | The version.py docstrings were a) not PEP compliant and b) somewhat out of sync with the code. Change-Id: I87c4134ef80fd9e6fd57b66c58c3c5920ee0b6b6
* Init sphinx config values before accessing them.Clark Boylan2014-03-061-0/+1
| | | | | | | | | | Sphinx's config object needs to have its values initialized with init_values for the values to be loaded from _raw_config into config. Without this pbr gets null equivalent values from Sphinx's config. These null values prevented man pages from being built when Sphinx warnerrors is set. Fix this. Change-Id: I0f17ca6eff036a0bcc6686fcc3f4efe0830cc585
* Merge "Declare support for Python versions in setup.cfg"Jenkins2014-03-041-0/+5
|\
| * Declare support for Python versions in setup.cfgAlex Gaynor2014-03-011-0/+5
| | | | | | | | Change-Id: Iffdcf7a6eab6990f9b32669070b8a4173e834613
* | Remove copyright from empty filesChangBo Guo(gcb)2014-03-031-14/+0
|/ | | | | | | | | According to policy change in HACKING: http://docs.openstack.org/developer/hacking/#openstack-licensing empty files should no longer contain copyright notices. Closes-Bug: #1262424 Change-Id: Ib937beb9f627e7b5e25baa1cd37fd01fcc04fd41
* Merge "Remove unused _parse_mailmap()"Jenkins2014-02-251-12/+0
|\
| * Remove unused _parse_mailmap()Mark McLoughlin2014-02-181-12/+0
| | | | | | | | | | | | Unused since commit 745d615 Change-Id: I7fbd90bb480f6d039e2e96d629a1db67127f40d5
* | Updated from global requirementsOpenStack Jenkins2014-02-242-7/+7
| | | | | | | | Change-Id: I2da7f761a0582e8d2be7aaaf0ca55d119f800fbc
* | Add support for python 3-<3.3Toilal2014-02-171-3/+5
|/ | | | | | | Use unicode_literals import instead of u'unicode' notation. Change-Id: I6e6aba938ae43399d5aa398344c219fe43649034 Closes-Bug: #1276139
* Merge "Remove tox locale overrides"Jenkins2014-02-131-3/+0
|\