176 Commits

Author SHA1 Message Date
Jeremy Stanley
6027ff6fe9 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I5637374ac8b957e948c2345a883636198cf15e9b
2014-12-05 03:30:40 +00:00
Doug Hellmann
f33adbe00b Update link to docs in README
Update the published link to the documentation in the README file.

Change-Id: I98006a0a47c4abbd4453ed0d05d3d00ba5dc2ea3
2014-10-27 15:15:47 -04:00
Doug Hellmann
a322d615db Bring doc build up to standard
Move the requirements definitions and documentation files to the
standard places used by other OpenStack projects so our doc publishing
jobs will work.

Change-Id: Iea630d827976fe517afacf4e373b3a125efff9c9
2014-10-27 08:37:49 -04:00
Doug Hellmann
5749d5413c Add pbr to dependency list
We use pbr to install stevedore, and because of the way setuptools deals
with install-time requirements we also need to include it as a runtime
dependency to ensure it is installed by pip and not easy_install.

Change-Id: I0a39bb50218a1a7cdb2d42fb474a9b8f6d6ac32a
Closes-Bug: #1384919
1.1.0
2014-10-23 17:41:33 -04:00
OpenStack Proposal Bot
bb43bc4588 Updated from global requirements
Change-Id: Ib2515318ff672edc9dd038d2f80d9f6a9bb60428
2014-10-22 19:17:38 +00:00
Doug Hellmann
82fa3183d9 Add more detail to the README
Change-Id: I7fc38226d922a894d2ae9bef1de54397bec00467
2014-10-16 14:58:21 -04:00
Abhishek Chanda
4f2b64720f Migrate tox to use testr
This patch moves all unit tests to use
testr as the test runner. This means all
tests need to be subclassed from unittest
to be discovered by testr

Change-Id: I9b0e782be87ea2b5db72b56ddad1d239a83e9ee3
Closes-Bug: #1330204
2014-10-09 15:30:08 -07:00
Łukasz Jernaś
4a410fe91a Update repository location in docs
After the move from stackforge the git repository location
in the documentation was no longer up to date.

Change-Id: I7ccb0abe188f4cdebd36b727f6a681aba370af0f
2014-09-09 12:16:17 +02:00
Jenkins
55c88018b1 Merge "warn against sorting requirements" 2014-09-09 06:04:33 +00:00
Jenkins
aef7b30a04 Merge "Work toward Python 3.4 support and testing" 2014-09-09 00:40:55 +00:00
Doug Hellmann
860bd8f8ec Build universal wheels
Build wheels that can be installed under python 2 and 3.

Fixes-Bug: #1363243
Change-Id: Ica67cc894f4c8622b0a5849aa8d62fb1d5009fc4
1.0.0 1.0.0.0a2
2014-09-05 13:13:08 -04:00
Jeremy Stanley
e28939f006 Work toward Python 3.4 support and testing
Change-Id: I6119bb1420d6eb318215a656424f01cca6a3146c
2014-09-03 19:06:10 +00:00
Doug Hellmann
9817db01e2 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
2014-09-03 14:26:27 -04:00
Jenkins
d37b47f532 Merge "Updated from global requirements" 1.0.0.0a1 2014-06-19 19:14:29 +00:00
OpenStack Proposal Bot
bc2d08a175 Updated from global requirements
Change-Id: I2ae513d7d37a709b9c8964e99dc1db591e754d7e
2014-06-17 21:06:14 +00:00
Doug Hellmann
e8e9ca1e96 Fix incorrect image reference in documentation
Link to the correct image for the "API Enforcement" section of the PyCon
2013 essay.

Change-Id: I844e6dcd2dccd9367cc5c49f13b9abfc01b69f4b
2014-06-15 10:52:16 -04:00
Doug Hellmann
d39ef75e58 Fix requirement handling in tox
Move all test dependencies to test-requirements.txt and update
tox.ini to use that and the main requirements file to build the
virtualenv for testing. Remove redundant references to the different
requirements lists in other tox environment stanzas.

Change-Id: I1ff094778369ebfed567ebbb433ef487066f042a
2014-06-15 10:52:11 -04:00
Jenkins
65fc0d2a36 Merge "use six.add_metaclass" 2014-06-14 21:24:25 +00:00
OpenStack Proposal Bot
58ff35c44c Updated from global requirements
Change-Id: I8ba2d8fe0ae0d1c4aa76207e3522f9c487d8cf9d
2014-06-13 22:57:49 +00:00
shuangtai
d9d11fc612 use six.add_metaclass
Using six.add_metaclass instead of "__metaclass__" for Python 3.x
compatibility.

Change-Id: I8bf33fb1770511657587c8f7a33acfcf9a351e79
2014-06-10 14:33:40 +08:00
Jenkins
a0721b4f85 Merge "fix link to entry point docs" 2014-05-23 21:32:39 +00:00
Jenkins
ff1f0fd66e Merge "Updated from global requirements" 2014-05-07 17:58:50 +00:00
Jenkins
53b42310fd Merge "Add doc requirements to venv environ" 2014-05-06 13:30:40 +00:00
OpenStack Proposal Bot
d5fb7a83ba Updated from global requirements
Change-Id: I0ebc484c56dc1578246240ac3499bceda0d871a2
2014-04-30 02:47:27 +00:00
Julien Danjou
3668de2513 driver: raise by default on import failure
When using the DriverManager class, if the driver fails to load, it's
actually better by default to re-raise the exception. It's not something
possible when loading multiple extension, but it's safe to do so with
drivers. This just changes the default behaviour, and it can still be
overridden.

The upside of that change is that when you try to load a driver that
cannot be loaded because of missing dependency, you actually get the
ImportError backtrace on your screen rather than the useless:
  RuntimeError: No 'foo' driver found, looking for 'bar'

which doesn't help at all. And the default mechanism that logs via
LOG.error() doesn't print anything at the screen if the application
didn't configure the logging subsystem.

Change-Id: I67d9e13a07c822c54dd16ac9ae7716747a24dd73
2014-04-25 14:51:45 +02:00
Doug Hellmann
6a37e5fe9e Add doc requirements to venv environ
The venv environ is used to build the documentation, so it
needs to install the doc requirements.

Change-Id: Ice1d5f4e566eade52058dfb7db015aee9cc39909
2014-04-16 08:45:53 -07:00
Jenkins
cde4b1d032 Merge "Import run_cross_tests.sh from oslo-incubator" 2014-04-04 23:28:10 +00:00
Doug Hellmann
f2af694195 Import run_cross_tests.sh from oslo-incubator
Add the script for running unit tests in other
projects so we can establish cross-project gate
jobs.

Depends on https://review.openstack.org/#/c/83411/
and https://review.openstack.org/#/c/83412/

Change-Id: I3d3e25f92ab6337432b54967a381662f32902a6d
2014-04-03 09:03:23 -07:00
Doug Hellmann
9ae8bef22d fix link to entry point docs
Change-Id: I0ec0071becf26f31cf7f44c871f64e08aba534ec
2014-03-31 23:01:47 -04:00
Doug Hellmann
2bbf3eb569 Only log error when no load handler is set
Only log an error from loading a plugin if no load
failure handler callback is provided. Otherwise,
assume the handler will do any logging it wants.

Change-Id: Iac83f3c140067bc3d1996c40c0184e4a0d0b564a
0.15
2014-03-27 10:22:33 -07:00
Doug Hellmann
180b1789e3 Update readme with links to bug tracker and source
This update is based on the oslo-cookiecutter template for the
README for a new library.

Change-Id: I3ee1e22377e1dcca86ca3d5b208abc3c9dea70a9
2014-03-04 09:09:16 -08:00
Doug Hellmann
55f05c84d0 Update .gitreview after moving the repository
Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
2014-02-07 20:40:10 +00:00
Doug Hellmann
73a3a601fa Fix the test manager implementation
Partial-bug: #1273455

Change-Id: I5402d71197979e579a2145f7f775b3e693dccfcc
0.14.1
2014-01-27 17:28:44 -05:00
Doug Hellmann
ed280dab97 prep history for 0.14 release
Change-Id: Ie871fdd8ee4917f3d628913baff742f7a92d92fa
0.14
2014-01-27 15:33:23 -05:00
Doug Hellmann
79c4059234 Make requirements checking optional
Commit 3c2b1df85a88162e086d4f62bf99079432851ba8 hard-coded requirements
checking when a plugin is loaded to be turned off (the previous default
was turned on). This commit adds a parameter so the caller can decide.

Change-Id: I639c1fed7231b8adeab1e3ef9c863763a60bfd0d
2014-01-25 12:07:10 -05:00
Doug Hellmann
8c31425bba Update docstrings
A previous change added an argument to several methods without
updating their docstrings to describe it.

Change-Id: I10c753a2d935c0a4ae87ff9258c91f1530d398db
2014-01-25 12:04:22 -05:00
Jenkins
8a67d41e7a Merge "Allow a on_load_failure_callback to be provided" 2014-01-22 18:39:16 +00:00
Doug Hellmann
3c2b1df85a Remove requirements checking for dependencies
Change-Id: I4128994554a9291d5629e20774b1c5a91c4a58cc
2014-01-17 17:18:14 -05:00
Jenkins
7d1d283c73 Merge "Add venv environment to tox" 2014-01-07 19:09:25 +00:00
Doug Hellmann
f675a2b1b0 fix typo in contrib docs
Change-Id: Iae9aa84f48092b1c0d19d7271f049a9ff786996f
2013-12-20 22:57:40 +00:00
Doug Hellmann
d18038bb1d Add contributing instructions for github mirrors
Change-Id: I78ae4977b7f005e4b47aa736ed4594cd994fd3ca
2013-12-20 22:51:40 +00:00
Joshua Harlow
3eccd4baad Allow a on_load_failure_callback to be provided
When entrypoints are loaded it is sometimes useful
to be able to do more than LOG the failure that could
be emitted from the plugin failing to be constructed,
allowing the manager classes to be provided a callback
that can be called when such extension fails to load
is useful to track these types of failures.

Change-Id: Idc7e55ade6b3f80c348123fbceea64425d7d3508
2013-12-18 10:40:09 -08:00
Doug Hellmann
7fc49b69eb Add venv environment to tox
Some of the stackforge jobs use an environment "venv" to run
commands, like packaging a release.

Change-Id: I3453aaa0c7201d780301447936d26aca8ecfb91f
2013-12-18 16:43:13 +00:00
Julien Danjou
88391bb164 driver: remove useless arg propagate_map_exceptions
Change-Id: Id3cc95ebe26b10d4da1aa978c2c818e199be316e
2013-12-16 13:12:06 -07:00
Doug Hellmann
1ace033015 Move to stackforge
Update URLs in the documentation for the source and
bug tracker.

Add a .gitreview file to make reviews work.

Change the "style" tox env to "pep8" to be consistent with
the check job expectations.

Change-Id: I5dd1e157e11ef597dd22ab2e3f5d1219f0489a7e
2013-12-11 16:43:50 -05:00
Doug Hellmann
6911bd26ea update release announcement file
Change-Id: I474f1b3a47e0e118f5bd0a55866f6ed30e6b09c4
2013-11-25 11:21:15 -05:00
Doug Hellmann
854ee1d15e update release number in history
Change-Id: Ibc6f88ffc1dd375d40b15e3c8c0bb51b6cd44f53
2013-11-25 11:20:03 -05:00
Doug Hellmann
fc897f28ed update history file before release 0.13 2013-11-25 16:11:27 +00:00
Doug Hellmann
f3de811157 deprecate TestExtensionManager
Change-Id: I3b319dc88edac538ebbba1102935d426b8dd5780
2013-11-25 11:03:28 -05:00
Doug Hellmann
cb5db9fb2d clean up docs for DriverManager
Change-Id: I71d96a5feb308efe3803899b1ee7954444dd7761
2013-11-25 11:03:24 -05:00