summaryrefslogtreecommitdiff
path: root/pbr
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add a hint for users who don't have git installed."Jenkins2013-09-071-1/+2
|\
| * Add a hint for users who don't have git installed.Ryan Petrello2013-09-061-1/+2
| | | | | | | | Change-Id: I31058752e8303beab3f21dd590459e9a8a7c2334
* | Merge "Fixes issue with command escaping on Windows"Jenkins2013-08-142-26/+27
|\ \
| * | Fixes issue with command escaping on Windowsalexpilotti2013-08-132-26/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug: #1210912 Special characters like <, > or ' need to be escaped on Windows when used with "cmd /C <command>" as implemented in _run_shell_command In order to avoid escaping issues, shell spawning has been replaced with direct command execution. As a consequence, grep/egrep command pipes have been replaced with Python regular expressions where appropriate. Change-Id: Idd50fd24f300bce655f99d42cb96e37d29d4cb14
* | Merge "Add option to run testr serially"Jenkins2013-08-111-2/+7
|\ \
| * | Add option to run testr seriallyMatthew Treinish2013-08-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new serial option to testr_command.py that when set will run testr serially instead of running testr with the '--parallel' flag. Change-Id: Id49b105dc921e9acdef1a94d933719ad3a772c81
* | | Fix pep8 errorMonty Taylor2013-08-081-1/+1
| |/ |/| | | | | | | | | I have no idea how this wasn't happening before but now is. Change-Id: I3a9c82d58d9a89d31711efbdd30324888f343e3a
* | Replace setuptools_git with a smarter approachMonty Taylor2013-08-046-18/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a local egg_info command that only re-generates the SOURCES.txt file when we need to. That is: - If there is no SOURCES.txt, make one - If we have run the sdist command, make one Otherwise, leave well enough alone. Also, skip doing any git processing if SKIP_GIT_SDIST is specified. This should mean that consumers of our tarballs should not get screwed by the need to inject git processing into the sdist. Change-Id: I163b1c153d030e79b120600a2890edeb49e1fa90
* | Merge "Improve AUTHORS file generation"Jenkins2013-08-042-15/+24
|\ \
| * | Improve AUTHORS file generationSergey Lukjanov2013-08-032-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | * remove authors/co-authors duplicates * sort all authors/co-authors * add a new line to the end of file Change-Id: I48a388e8ae2defd05ad617d5de709d0e623a5c36
* | | Merge "Ensure _run_shell_command always returns same type"Jenkins2013-08-042-1/+107
|\ \ \ | |/ /
| * | Ensure _run_shell_command always returns same typeDoug Hellmann2013-08-022-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If _run_shell_command gets no output, return an empty string instead of None. This ensures that callers can always treat the results as a string, and avoids the TypeError that was preventing the ChangeLog and AUTHORS files from being created properly in a git repository without any commits. Change-Id: I880210bc3ff92ece29b216a10e1d0c918f884eaf
* | | Correct typoMonty Taylor2013-08-031-1/+1
|/ / | | | | | | | | | | The filter for not double running ourself was mis-spelled. Change-Id: Ief500bb4426f74cf5d41440a80056ae4122f6fcb
* | Merge "Use the same logic everywhere for requirements files"Jenkins2013-08-021-7/+12
|\ \
| * | Use the same logic everywhere for requirements filesJulien Danjou2013-07-301-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | Currently, the environment variable isn't always respected, especially when dealing with the egg_info command. Let's factorize the code into a function and use it everywhere instead of the REQUIREMENTS_FILES variable. Change-Id: I1c3224ef76ee724c8176eb00ef948d80259e3c17
* | | Merge "Hierarchical sphinx API documentation generation"Jenkins2013-08-011-9/+26
|\ \ \
| * | | Hierarchical sphinx API documentation generationAttila Fazekas2013-07-311-9/+26
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding a new pbr boolean option 'autodoc_tree_index_modules' for creating a package/module hierarchy oriented API documentation. * Using the sphinx.apidoc module in order to generate the *.rst files and the modules.rst. The sphinx.apidoc.main function call expected to be more future proof, than the other options. Change-Id: I145086387edf6b042368d4c16dd64948f67606b0
* | | Merge "Add skip_pip_install to setup.cfg"Jenkins2013-08-011-4/+11
|\ \ \ | |/ / |/| |
| * | Add skip_pip_install to setup.cfgMonty Taylor2013-07-301-4/+11
| | | | | | | | | | | | | | | | | | | | | The envvar SKIP_PIP_INSTALL isn't enough in all cases. Add the ability to configure this in the config file. Change-Id: Ic84bd6df52d2b96bf4afcaacd9c8b6fee26e9840
* | | Merge "Add support for classmethod console scripts"Jenkins2013-07-314-23/+34
|\ \ \
| * | | Add support for classmethod console scriptsMaru Newby2013-07-314-23/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Previously console_scripts could only reference functions: script_name = package.name:function_name This change adds support for classmethods: script_name = package.name:ClassName.classmethod_name This change is necessary to support a Neutron use-case. * Fixes bug 1206734 Change-Id: I9509d3f2cea29fee5696936dbbb1d507764f1e81
* | | Merge "Fix .mailmap file search location"Jenkins2013-07-312-10/+15
|\ \ \ | |_|/ |/| |
| * | Fix .mailmap file search locationSergey Lukjanov2013-07-272-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | It should be in the root project dir, not in the .git dir. Fixes: bug #1202375 Change-Id: I5d7cd61f3ec9323afed371c7082f2694a7e8347c
* | | Remove missing_reuqires optimizationMonty Taylor2013-07-301-23/+7
| |/ |/| | | | | | | | | | | | | The attempt to optimize away some shell calls to pip wound up having python setup.py install not do the right thing with missing transitive depends. Remove the optimization check. Change-Id: I0db9cc18fda98b8f53b61422e730fd76e0c6a0c1
* | Merge "Loop over test output for better readability"0.5.20Jenkins2013-07-271-1/+2
|\ \
| * | Loop over test output for better readabilityMonty Taylor2013-07-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The way _run_cmd was working meant that in a test failures, the captured output was a giant blob of text with \n strings inside it, making it unreadable. By looping and printing, it becomes readable again. Change-Id: I2db3057c34e2a50f7a420f2dbcf45c6ec874b632
* | | Merge "Add support for globbing in data files"Jenkins2013-07-274-26/+126
|\ \ \
| * | | Add support for globbing in data filesMonty Taylor2013-07-244-26/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the work in the packages argument, allow the specification of a directory to recursively include as part of the install. Change-Id: Ife0414af468e7fcd4fc419eafc3e19e29efcfc7b
* | | | Merge "Revert include_package_data change"Jenkins2013-07-271-0/+1
|\ \ \ \
| * | | | Revert include_package_data changeMonty Taylor2013-07-231-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting the value directly in kwargs is not doing what we want it to do. This is largely because of how the hook system works. When the hooks process backwards_compat, they do a config.get('backwards_compat', dict()), which is then written back to the config dict - which means that blank override values are being fed in. Later we can go through and just re-engineer how that works. For now, unbreak nova. Change-Id: I0c6055253cbc89b6884553e6f2fbfe8a7bbd1953
* | | | Merge "Also patch easy_install script creation"Jenkins2013-07-273-2/+31
|\ \ \ \ | |_|_|/ |/| | |
| * | | Also patch easy_install script creationMonty Taylor2013-07-233-2/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | During python setup.py develop, easy_install is called via a different code path to install the scripts. We need to inject into that place as well. Change-Id: Iab319f3771529c6d57f6a36ec717fb3278839f78
* | | Swap the order of configparser importsMonty Taylor2013-07-252-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | The configparser backport package has un-understood issues parsing our files. But the intent of the code is to use whichever is the package for the version of python in use. So, instead of trying to install the python3 version first, which can also result in loading the backport package, first try the python2 package, so that if configparser itself is loaded, it will be because we're running python3. Change-Id: I7ef497127822d0110804b04a674f24c195a07278
* | Merge "Ignore project creator while generating AUTHORS"Jenkins2013-07-221-2/+2
|\ \
| * | Ignore project creator while generating AUTHORSSergey Lukjanov2013-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | New projects created by OpenStack Project Creator <openstack-infra@lists.openstack.org>, so it'll be better to remove it from the AUTHORS file. Change-Id: I32975bd430635a38c7e737e70f381f7b07c6ed0c
* | | Merge "Replace entry_points console_scripts"Jenkins2013-07-226-1/+114
|\ \ \
| * | | Replace entry_points console_scriptsMonty Taylor2013-07-216-1/+114
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The console scripts generated by entry_points are too complex for our needs and make things run slowly in service of a multi-version install that we don't use. Instead, install a simple script which just does a direct import. Change-Id: I1ec46837cea07db514f2fb6338c7bced34a83c4a
* | | Merge "Remove the need to specify the pbr hook"Jenkins2013-07-222-1/+8
|\ \ \ | |/ /
| * | Remove the need to specify the pbr hookMonty Taylor2013-07-212-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | If you're running pbr codepaths, you want the hook. There is no need to say "pbr=True" in setup.py and then to list the hook in setup.cfg now that d2to1 is in the tree. Change-Id: Ie33d3e08d5a4133f5caf2613859919ce4f02c4a0
* | | Merge "Move d2to1 more into the source tree"Jenkins2013-07-2224-115/+90
|\ \ \ | |/ /
| * | Move d2to1 more into the source treeMonty Taylor2013-07-2124-115/+90
| | | | | | | | | | | | | | | | | | | | | When we merged in d2to1, we kept it separate, but I don't think there is a great benefit to doing that. Change-Id: I3972b3132619e8e2dd7e362ca5fe9d1e3add43b8
* | | Merge "Set defaults directly in option processing"Jenkins2013-07-212-1/+4
|\ \ \ | |/ /
| * | Set defaults directly in option processingMonty Taylor2013-07-212-1/+4
| |/ | | | | | | Change-Id: Iaa327862fc9e43aade2dd1ed66aa27f335f12ac7
* | Fix integer_types type under python 3Doug Hellmann2013-07-211-1/+1
|/ | | | | | | | Set the integer_types variable to the same kind of object under python 3 and 2 so that when we go to manipulate it later it works. Change-Id: I8f9db1d76931ef834645095952f71415d98f0b5c
* Fix some issues in setup.py testMonty Taylor2013-07-121-4/+6
| | | | | | | | | | | | While tracking down a troveclient issue, found several issues in the new python setup.py test command: * check the right source files when we're trying to decide whether to re-run egg_info * fix bogus dependency links args when installing test requires * fix bogus .egg_info dir name when a project name includes a hyphen Change-Id: I0a1964902a87f72eb67f43b10f90dfee8c7d7875
* Merge "Put AUTHORS.in at the top of AUTHORS." into feature/merged2to1Jenkins2013-07-121-4/+4
|\
| * Put AUTHORS.in at the top of AUTHORS.Monty Taylor2013-07-111-4/+4
| | | | | | | | | | | | | | | | | | | | swift has an AUTHORS file that puts a header at the top of the file with some extra information, then lists the contributors. If we put AUTHORS.in at the top of the generated file, then we can put their boilerplate into AUTHORS.in and the resulting file should look the same. Change-Id: I2caa4e606dd1199f49c925dccc64d492848ac580
* | Merge "Support version override with PBR prefix." into feature/merged2to1Jenkins2013-07-121-1/+3
|\ \
| * | Support version override with PBR prefix.Monty Taylor2013-07-111-1/+3
| |/ | | | | | | | | | | | | For non-OpenStack consumption of PBR, OSLO_PACKAGING_ is a weird version override env var. Change-Id: I8e80bcc5bc56e7950ed5cf0d24657957570134cf
* | Allow pip installation to be skipped.Monty Taylor2013-07-111-0/+2
| | | | | | | | | | | | | | | | | | | | Distro packagers don't really need for us to attempt to pip install things for them. They're usually managing that dependency tree in the distro packaging. Add an env var they can set in their spec or rules files to skip any pretense of doing anything with install requirements. Change-Id: Ia6387eab3267fa3c4019c4a9d90e4780319c2397