Update copyright and readme
This commit is contained in:
parent
764f81a823
commit
487a15f1b0
33
README.rst
33
README.rst
@ -2,3 +2,36 @@ git-os-job
|
|||||||
==========
|
==========
|
||||||
|
|
||||||
git plugin to show the OpenStack job log for a commit
|
git plugin to show the OpenStack job log for a commit
|
||||||
|
|
||||||
|
What is git-os-job?
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
The OpenStack_ project stores the logs for all of the test jobs
|
||||||
|
related to a commit on http://logs.openstack.org organized by the
|
||||||
|
commit hash. To review the logs after a job runs, most developers
|
||||||
|
start with the message jenkins leaves on gerrit, and click through to
|
||||||
|
the log files. Not all jenkins jobs are triggered by or related to a
|
||||||
|
gerrit review, though (e.g, release tags).
|
||||||
|
|
||||||
|
git-os-job makes it easy to find those logs by finding the hash of the
|
||||||
|
commit and using it to build the right URL. It will then either print
|
||||||
|
the URL or open a web browser directly.
|
||||||
|
|
||||||
|
Examples
|
||||||
|
--------
|
||||||
|
|
||||||
|
Look at the jobs related to the ``HEAD`` commit, usually in a
|
||||||
|
development branch that has been submitted to gerrit using git-review_
|
||||||
|
already.::
|
||||||
|
|
||||||
|
$ git os-job
|
||||||
|
|
||||||
|
Look at the jobs related to the previous commit, such as when a
|
||||||
|
development branch has a series of independent changes in it::
|
||||||
|
|
||||||
|
$ git os-job HEAD^1
|
||||||
|
|
||||||
|
Look at the jobs related to a specific commit by tag, such as after
|
||||||
|
submitting a release tag::
|
||||||
|
|
||||||
|
$ git os-job version.tag
|
||||||
|
@ -1,4 +1,17 @@
|
|||||||
#!/usr/bin/env python
|
# Copyright (c) 2013 Doug Hellmann
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ classifiers =
|
|||||||
Programming Language :: Python :: 2
|
Programming Language :: Python :: 2
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Development Status :: 3 - Alpha
|
Development Status :: 5 - Production/Stable
|
||||||
Environment :: Console
|
Environment :: Console
|
||||||
Environment :: OpenStack
|
Environment :: OpenStack
|
||||||
Intended Audience :: Developers
|
Intended Audience :: Developers
|
||||||
|
5
setup.py
5
setup.py
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# Copyright (c) 2013 New Dream Network, LLC (DreamHost)
|
# Copyright (c) 2013 Doug Hellmann
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -17,5 +17,4 @@
|
|||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
|
|
||||||
setuptools.setup(setup_requires=['pbr>=0.5.21,<1.0'],
|
setuptools.setup(setup_requires=['pbr'], pbr=True)
|
||||||
pbr=True)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user