| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
|
|
|
|
|
|
|
|
|
| |
setuptools > 12 has a new flow for writing out generated script text.
It's nicer, actually, because it means we can just subclass and extend
one method instead of monekypatching.
Closes-Bug: 1415106
Change-Id: I56e7bea60df8a59d859575d426ce93c45ffee314
|
|
|
|
|
|
|
|
| |
* pbr/packaging.py(_get_revno): The _get_revno_and_last_tag method
always returns the same number of elements, so don't try to treat it
as an iterable and also rename it to something sensible.
Change-Id: I8a83135b979a13f8cd129126a29159e93c147467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pbr/packaging.py(_get_version_from_git): Correct a bug which is
causing install failures for PBR-based projects with no Git tags.
This slipped through because integration testing was using the most
recent PBR release rather than the commit being proposed.
* tools/integration.sh: Make sure that if a PBR commit is being
tested then we install and use that source rather than the latest
PBR release.
* tox.ini(testenv:pep8): Get rid of the custom deps list for pep8
and inherit the one from testenv which is already fixed with the
self-dependency. Without this, pep8 jobs fail when run with
Setuptools 8.
Change-Id: Icc7275261e8fc0df8b0ae99184437ca50b89c13a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put write_pbr_json in pbr.pbr_json so that you do not need to import
pbr.packaging to use it. This avoids python3 errors with nose where nose
is imported by pbr before it is converted to python3 by 2to3 under
python3.
Also port the pbr.git refactor from the master branch.
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
(cherry picked from commit 3550e89db42002e226ea70b1d0314a319b2ecd10)
|
|
|
|
|
|
|
|
|
| |
We cannot get the git dir if git is not installed. Check that git is
installed before querying for the git dir. Return None if the git dir
cannot be found or if git is not installed.
Change-Id: Ic8e0c74a779b23842369a8cf01fcbf37885202ef
Fixes-bug: 1326682
|
|
|
|
|
|
| |
PEP440 is unhappy about revcounts after pre-release tags.
Change-Id: I553a0bf9f522d50bcbdb16756c994058bd27da77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When pbr is imported to handle writing the egg_info file because of
the entry point, it's causing sphinx to get imported. This has a
cascading effect once docutils is trying to be installed on a
system with pbr installed. If some of the imports fail along the way,
allow pbr to continue usefully but without the Sphinx extensions
available. Eventually, when everything is installed, those extensions
will work again when the commands for build_sphinx, etc. are run
separately.
Also slip in a change to reorder the default list of environments run by
tox so the testr database is created using a dbm format available to all
python versions.
Change-Id: I79d67bf41a09d7e5aad8ed32eaf107f139167eb8
Closes-bug: #1403510
|
|
|
|
|
|
|
|
| |
We include it in pbr.json now. Including it is contentious in the world
of python, and it's up for debate as to whether or not it provides
value.
Change-Id: Ie2ca34f59e9b42a3126c95edf36640fef32feed8
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of encoding the git sha into the version string, add it to
a metadata file. This will allow us to get out of the business of
arguing with pip and setuptools about version info. In order to make
this really nice, provide a command line utility called "pbr" that has
subcommands to print out the metadata that we're now including in the
egg-info dir.
Change-Id: I35a1489c9ab637769218d1e6a26d1115a52a7051
|
|
|
|
|
|
|
|
|
|
|
|
| |
setuptools 8.0 enforces the accepted version of PEP440, which means
that 1.2.3.g123456 is now sorted before 1.0. Forget for a second that
under no obvious human inspection this makes sense, it is now the law of
the land and we must comply.
I swear to god I'm going to start coding in Go.
Change-Id: I2a5072d73e19ce77fa29ba5d8aa6e9649859a551
(cherry picked from commit fafd6c4db07789b2d378fdb5ceda89115d2abe30)
|
|
|
|
|
|
|
|
| |
ordereddict and importlib used to break when attempted to install
on python 2.7 - but this situation seems to have improved in
modern pip/setuptools. Remove the logic and support for this.
Change-Id: I49d9c9ee3108ad7ec9537f3fcec62e84d4de1680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Back in the day, attempting to install argparse on python 2.7 would
result in failure, as the setup.py of argparse failed hard if it was
attempted. That seems to be fixed, and when we do filter it out of
the list now, we cause problems with python 2.6 and wheels (if we make
a wheel on 2.6 and it depends on argparse, the pbr code means that
argparse doesn't get added properly)
Remove the filtering so that our wheels can be universal.
Closes-bug: #1346357
Change-Id: I49d539ac6fb8ee75f8d32fdfbd20129b13d36499
|
|
|
|
|
|
|
|
| |
We don't need to test the mirroring tool in this integration script any
more, because we're using a different tool to build the mirror now
anyway.
Change-Id: I1a3f739a9530f4f5cce18f64b0705ae9ae77704d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| |
| | |
Having to put breakpoints in pbr to diagnose issues is bad for dealing
with reports from users.
Change-Id: Ifecf4c4e4bb5955e0e5feb4bf5b5b85150b08ebe
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Hygiene - fail at the point of failure, not later.
Change-Id: Id0328f1afad5dd2fb4f5ef22e025d60eef1d4e52
|
|\ \ \
| |/ /
| | /
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
This is implied by the example and seems necessary for doing automated
generation of pre-release versions.
Change-Id: I8d4ceec200fac7982f2dafa7f8f1a8abfd4b0f83
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I547e99c24707895c1e3614821c5cb8da354b294a
|
|/
|
|
|
|
|
|
|
|
|
| |
--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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
to aid in debugging and testing.
Change-Id: I5342604204602623cdb5c0f2623d85f7d44e2b50
|
|/
|
|
|
|
|
|
|
|
| |
* 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>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Found using: https://github.com/intgr/topy
Change-Id: I15d9469e60ea74aacba03b5ad0e50b4a87661892
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: If5cd9e517d66322027408a59fd99015c91181db8
Closes-bug: #1310008
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| | |
Change-Id: Iadb60bd8422734a0eb252d30accd513a49032fd3
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Remove flake8 from pbr's requirements file, we should be requiring
hacking instead, and let hacking pull in flake8.
Change-Id: I6e7135a07e3ca6b9e26fcc9623b1434ecba1444f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I94ff7e2517c714b9f576f9f9f615537502fcbf41
Closes-Bug: #1276139
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
On Windows, environment variables can not be unicode.
Change-Id: I8c7fd7627d7f733e0db8690a39e7128b7fe2ebcf
Closes-bug: #1294246
|