| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Current implementation only works properly for the latest tag.
Change it so we can build documentation at any revision.
Change-Id: I8cc0e3ef449d8f861411ca86ba676a0f9c89009f
|
|
|
|
|
|
|
|
| |
pbr provides better version handling, and automates the release
notes and list of authors. This means we have to spend less time
manually updating things.
Change-Id: Ie79d706ec7a177f437b6bb0e38a9bded8bc4bb9e
|
|
|
|
|
|
|
|
| |
- It has dependencies on several other modules.
- It is too strict. It should be enough to run pyflakes.
Change-Id: I17d1c3390e5530e2b2a86d680d9816a29f272707
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To set up the environment properly, the host system needs to have the
virtualenv and pip packages already installed. Add top level rules to
make sure the necessary executables exist.
When building the `sdist` target there is a check to make sure that the
git workspace does not have any untracked or modified files. This can
cause the build to fail if the environment was set up with an old
version of virtualennv which does not include bundled versions of the
`distribute` and `setuptools` packages, and downloads them into the
working directory.
Add a new target `valid-virtualenv` which will fail the build if the
version of virtualenv is older than expected. Add this target as a
dependency of the `sdist` target to force source distribution builds
to be done with an explicitly versioned virtualenv.
Change-Id: I1a78e8859512696005ab9d6dd790cfc5256dc2e3
|
|
|
|
|
|
|
| |
The `ddist` target packages the generated API documentation into
a zip archive file suitable for uploading to PyPI.
Change-Id: Ib94f445d03bdb45e817355ef1ad0d8119e10a0d9
|
|
|
|
|
|
|
|
|
|
|
| |
The `sdist` target invokes `python setup.py sdist` which builds the
source distribution .tar.gz file for the current release.
The build will fail if the package version specified in the module
is not the same as the tag at the current HEAD, or if the current
HEAD is not tagged with a properly formatted value.
Change-Id: Ib09f0b1a82f5ae49458f63d8fbeb9bb8bdd1cb2d
|
|
|
|
|
|
|
| |
The `valid-git-status` target will fail the build if the git status
is not clean, i.e. if there are any modified or untracked files.
Change-Id: I158049ee7c730ce2d1ec6acd946c908bc556dcae
|
|
|
|
|
|
|
|
|
|
| |
The `valid-tag` target will fail the build if the commit at the current
HEAD does not have a tag that matches the pattern "1.2.3".
This will be used later when we add the target to build the package
release.
Change-Id: I9dfd2bf906a2ec9697bd88386d987c7f1708e4a7
|
|
|
|
|
|
|
|
|
|
| |
Documentation is generated in html format into the docs folder.
The idea is that with further commits we can automatically generate
and package the documentation into a zip file that can be published
to the package index.
Change-Id: Ia5719bda59b6224fc05e2021e9054e29990ad22a
|
|
|
|
|
|
|
| |
Packages required for testing are now installed via a separate build
target which is a dependency of the main packages installation target.
Change-Id: I62393e1c7f8a8ff3bf95f3ac3090e43817fbed79
|
|
|
|
|
|
|
| |
Initialisation of the virtualenv is now a separate target, which
is a dependency of the package installation target.
Change-Id: I37cc6a13bb3874439393b75b8926f2288700d692
|
|
|
|
| |
Change-Id: If111bce388b42fc9ad484c4f268b56ad7546dc5d
|
|
|
|
|
|
|
|
|
|
| |
Note: the latest version of PEP-257 is 0.2.2 but the latest available
on PyPI is 0.2.0 which does not exit with error if the check fails.
The dependency should be updated after the latest version has been
published.
Change-Id: Iae3bfeab685d9f92af528156cbc8c957a98f5adb
|
|
|
|
|
|
|
|
|
|
| |
Now the `requirements.txt` file only lists the packages that are needed
to install and run the pygerrit module.
The packages that are only needed for testing are moved to a separate
file `test_requirements.txt`
Change-Id: I169ec2501cacd86644430a57225eead4d705b76f
|
|
|
|
|
|
|
|
|
|
| |
The `clean` target removes unnecessary *.pyc files, the build
and distribution folders, and the virtual environment.
Make the `test` target depend on `clean`, to ensure that we
always test in a newly created environment.
Change-Id: Iab8fb4a83cd14671c5a6bd0ac029c12349c1aa3b
|
|
|
|
| |
Change-Id: I3b4689d7d459d739ff3c9d9c8d801effa2b7a48f
|
|
|
|
| |
Change-Id: Ic1ce3f97439b58174c3897e1eff3b67dc105b81a
|
|
The Makefile installs all necessary dependencies in a virtual
environment, and then runs the unit tests.
Change-Id: I16c6b68f4c47fab936eb44438c61b7d0bf24b328
|