CHANGES
=======
+4.1.1
+-----
+
+* trivial: Fix file permissions
+* trivial: Remove 'tools/releasenotes\_tox.sh'
+* Add docstring from LocalManifestMaker.add\_defaults
+
4.1.0
-----
Metadata-Version: 2.1
Name: pbr
-Version: 4.1.0
+Version: 4.1.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Project-URL: Documentation, https://docs.openstack.org/pbr/
-Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
+Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
+Project-URL: Documentation, https://docs.openstack.org/pbr/
Description: Introduction
============
Metadata-Version: 2.1
Name: pbr
-Version: 4.1.0
+Version: 4.1.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Project-URL: Documentation, https://docs.openstack.org/pbr/
-Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
+Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
+Project-URL: Documentation, https://docs.openstack.org/pbr/
Description: Introduction
============
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/unreleased.rst
-tools/integration.sh
-tools/tox_releasenotes.sh
\ No newline at end of file
+tools/integration.sh
\ No newline at end of file
self.filelist.process_template_line(template_line)
def add_defaults(self):
+ """Add all the default files to self.filelist:
+
+ Extends the functionality provided by distutils to also included
+ additional sane defaults, such as the ``AUTHORS`` and ``ChangeLog``
+ files generated by *pbr*.
+
+ Warns if (``README`` or ``README.txt``) or ``setup.py`` are missing;
+ everything else is optional.
+ """
option_dict = self.distribution.get_option_dict('pbr')
sdist.sdist.add_defaults(self)
-#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
-#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
+++ /dev/null
-#!/usr/bin/env bash
-
-rm -rf releasenotes/build
-
-sphinx-build -a -E -W \
- -d releasenotes/build/doctrees \
- -b html \
- releasenotes/source releasenotes/build/html
-BUILD_RESULT=$?
-
-UNCOMMITTED_NOTES=$(git status --porcelain | \
- awk '$1 ~ "M|A|??" && $2 ~ /releasenotes\/notes/ {print $2}')
-
-if [ "${UNCOMMITTED_NOTES}" ]
-then
- cat <<EOF
-
-REMINDER: The following changes to release notes have not been committed:
-
-${UNCOMMITTED_NOTES}
-
-While that may be intentional, keep in mind that release notes are built from
-committed changes, not the working directory.
-
-EOF
-fi
-
-exit ${BUILD_RESULT}
[testenv]
usedevelop = True
-whitelist_externals = bash
install_command = pip install {opts} {packages}
passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE
deps =
[testenv:releasenotes]
basepython = python3
-commands = bash -c {toxinidir}/tools/tox_releasenotes.sh
+commands =
+ rm -rf releasenotes/build
+ sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html
[testenv:cover]
basepython = python3