| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* 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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
| |
--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
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: If5cd9e517d66322027408a59fd99015c91181db8
Closes-bug: #1310008
|
|/
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
On Windows, environment variables can not be unicode.
Change-Id: I8c7fd7627d7f733e0db8690a39e7128b7fe2ebcf
Closes-bug: #1294246
|
|
|
|
|
|
|
| |
I want to reuse this for factoring out some fixtures, so make it
reusable.
Change-Id: I7035a514adf889a8ebaadff9ae873341804fe099
|
|
|
|
| |
Change-Id: I52337fd704a0d4b38f9562d88dcdf5952cf7b422
|
|
|
|
|
|
|
| |
The version.py docstrings were a) not PEP compliant and b) somewhat
out of sync with the code.
Change-Id: I87c4134ef80fd9e6fd57b66c58c3c5920ee0b6b6
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Unused since commit 745d615
Change-Id: I7fbd90bb480f6d039e2e96d629a1db67127f40d5
|
|/
|
|
|
|
|
| |
Use unicode_literals import instead of u'unicode' notation.
Change-Id: I6e6aba938ae43399d5aa398344c219fe43649034
Closes-Bug: #1276139
|
|
|
|
|
|
|
|
|
| |
Forcing the log level to info causes pbr to emit status log messages
in a way that breaks commands like "python setup.py --maintainer" and
"python setup.py --name", which are useful when scripting operations
that work on packages.
Change-Id: I6607c96e171f2f8efa89bd701018f4af6ec9c15a
|
|
|
|
|
|
|
|
|
|
| |
This change makes pbr reads a specific requirement file tight to the
major Python version that is used. So you can add a file such as
requirements-py3.txt to have a specific requirement file for Python 3,
or requirements-py2.txt to have a specific requirement file for
Python 2.
Change-Id: I4b548e9830586f11b82539d334dd5cf4b0445a36
|
|
|
|
|
|
|
|
| |
Add an option to pbr to use wheels when installing things from pip. The
speed boost this gives is quite sexy, as it can avoid having to
re-build C things all the time.
Change-Id: Id9b9b21ef949ff44c7c962e81576266661264a13
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
It turns out, git log already knows how to process mailmap files.
Just defer to it and stop processing that in python.
Change-Id: Ib3d6f85683fcbe8b5002117d2ee46dc3c008cae7
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Just duplicating the git log isn't particularly exciting. Make
the ChangeLog a list of change subjects grouped by tag.
New output can be seen here: http://paste.openstack.org/show/49999
Change-Id: I7bf4d89dcdba135de663d75895b30963f7a44662
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sphinx builders were hard coded to be html and man in LocalBuildDoc
before. This enables users to config a list of builders in setup.cfg
as a comma seperated list, e.g. html,man,doctest
Change-Id: I3528b208c7e719286fe8816acf65f8efdc5844c6
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We skip several requirements on python >= 2.6 because they
are only needed on 2.6 but there is no good way to express that in
requirements.txt. This can be confusing to users, because they may
not be expecting such a thing and may think something broke.
Print a message to the info log to that the user can see that we
chose to not install their non-needed requirement.
Change-Id: I11de12351123bbf406f77cf402feeab0e5dff26b
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We keep a list of libraries that should only be installed on python 2.6,
but the check to see if a requirement matches that list was only doing
a simple string equality, which would miss attempts to install version
specified instances of one of them.
Instead, use pkg_resources to parse the potential requirements line and
operate on the parsed project name.
Change-Id: If64e4b2ee6696a0531e3ed6099e63372d47bc851
|
|/
|
|
|
|
| |
this email used for posting requirements updates
Change-Id: I30e2e68cb6b5e8c2bcbc972a632ac2a1254f5fe4
|
|
|
|
|
|
|
| |
Just use 'git --version' to check if the git executable is present
Change-Id: Ib5c11060fa7d9b7d9741dd88fc3430237f0bc1a0
Closes-Bug: #1248447
|
|
|
|
|
|
|
|
|
|
| |
Fixed the issue where pbr was erroring out (file not found) when
running 'python setup.py egg_info' since it was trying to get the
.git directory even if git was not installed.
Closes bug 1245676
Change-Id: I31e1f86f10f18897774b49eb293aede31641db31
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
It's an antipattern to have functional code in an __init__.py. Move it
into base.py to be less anti.
Change-Id: Ib4db548b78e4e760d94099596a3c495a839836dc
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
This supports https://review.openstack.org/#/c/48475/ in glance
to remove copy/pasted ordereddict code.
Change-Id: I9b0a2588c6e7da86c048698c5e6dfe37ced4dd7f
|
|/
|
|
|
|
|
|
|
|
|
|
| |
pep440 indicates that development releases should mark themselves with
the devN specifier.
http://www.python.org/dev/peps/pep-0440/#developmental-releases
Instead of using aN as we are currently doing for automatically
generated versions, we should use the pep440 compliant devN form.
Change-Id: Ieeb5149f8b013e76621112593e0a5c0a64817e1f
|
|
|
|
|
|
|
|
|
|
|
| |
Some versions of the tarfile module break when unicode data is
passed as metadata (like the version). See
http://bugs.python.org/issue11638 for details.
This change ensures that version number is always a byte strings
under python 2, where the problem exists.
Change-Id: Ic266cd7cce0394d28794ee61afe269f1296be2a2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
A previous patch for windows support made the simple case of passing a
string to run_shell_command complicated with quoting. Clean that up by
reverting to list, which avoids the crazy quoting we had to do.
Change-Id: Ia3b8ac6a57e7400d0aab0d5265c851e536fb4e87
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This would be better as a direct unit test, but I can't see where
thats done; and setuptools doesn't seem super friendly to that.
There are more commands that can be tested, but this seemed like a
good place to start.
Change-Id: I433880d9b08d07de0194450bbc90a423554e347c
|
| |
| |
| |
| |
| |
| | |
tearDown is never the right hammer.
Change-Id: If17ae653e25d4fba2b768cb569a573467448ccef
|