4 Commits

Author SHA1 Message Date
Doug Hellmann
6dbce7dd42 make validate work with python 3
Update the check_output() calls used by the validate command so the
results are decoded before being treated as strings.

Change-Id: I099ff997f69743d2958fc5581292aacebd7f5d37
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-03 15:00:04 -05:00
Doug Hellmann
270492fc5a be more robust when getting the sdist name
Only look at the last line of output, in case the project relies on an
old pbr that spews extra information to stdout instead of stderr.

Comment out the 0.6.0 release because getting its name triggers an error
related to testrepository.

Change-Id: I9eb2bd7ad17130115fb189ef5296cff18af6edb4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-02 13:48:21 -05:00
Doug Hellmann
d1566749d6 use tox env when asking pbr for its name
It seems pbr needs to be installed in order to get its name, so use tox
instead of the system python.

Change-Id: I8809978b23430daacfc6a48d1f4bc84cce24c003
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 07:53:33 -05:00
Doug Hellmann
32e9f4d7cc add validation rule to check tarball-base
We don't want to take the time to check out all of the source code for
all projects during the documentation build, so add a validation step to
check that the deliverable being modified has the tarball-base value set
properly, if it needs to be overridden from the default.

Change-Id: Id39bdd1e0a9fe771b78a053ba73803c3c095f135
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-16 16:26:28 -05:00