122 Commits

Author SHA1 Message Date
Monty Taylor
020c2e347b Updated .gitreview location
Change-Id: I1ff9ee274dfa2edf906e2b530e33ac5e27f8591f
2012-12-16 10:40:40 -08:00
Clark Boylan
fb041565da Remove dangerous dbQuery method.
Running DB queries over an SSH connection got gerrit gsql requires a lot
of overhead to do sanely. Remove this method to avoid abuse and the need
to support it. gerritlib users should use a dbapi implementation for the
DB backing gerrit to perform DB queries directly.

Change-Id: I4f9449b5546a3714a79172c57ea6086c7707f86a
0.2.5
2012-12-04 14:31:50 -08:00
Clark Boylan
793098f8dc Add owner option to createGroup.
Add owner option to createGroup that will set the owner group of a new
group. Default to no owner (new group will be self owned).

Change-Id: I9843280756eb57c35d6301a2e6f720767a7c986f
0.2.4
2012-12-02 10:06:19 -08:00
Monty Taylor
b6a67cb705 Remove sitepackages=true
We only need this for things that have non-virtualenv-able deps.

Change-Id: I383fb390690fde3faa998bd41f17580f6a4a0b12
2012-11-23 16:37:55 -08:00
Clark Boylan
4238a42eda Fix gerrit create-project option order.
If the require change ID option was set the gerritlib create project
method would put the require change ID option between --name and the new
project's name. This failed to execute on Gerrit properly. Fix the
ordering of the options so that --name is inserted with the project's
name.

Change-Id: I68ff45fe5815f228fcc707abfe6d0d6147f7dac1
0.2.3
2012-11-15 10:11:44 -08:00
Monty Taylor
f8e6f03258 Ignore versioninfo file.
Change-Id: I502fab510495fa0421acdd61d3af662f9d8608a2
0.2.2
2012-11-13 09:03:20 -08:00
Monty Taylor
52a662521d Add createGroup and require_change_id option.
Change-Id: I221030431075485b1eafd8510b402fefa0d9517d
2012-11-13 09:03:15 -08:00
Jenkins
93212a33be Merge "Add create and list projects calls." 0.2.1 2012-11-11 02:55:30 +00:00
Monty Taylor
f79060343b Add create and list projects calls.
Change-Id: Idc71411dfc63a074d828782d9afe2ff7d15534ac
2012-11-10 18:52:13 -08:00
Clark Boylan
38749dfb1e Add Gerrit DB query method to gerritlib.
Sometimes you need to query the Gerrit DB directly instead of using the
Gerrit query abstraction layer. Add api method to communicate directly
to the DB.

Change-Id: I3ef3173cbe62741bb9d37f49abda1cf0eacbceff
0.2.0
2012-11-09 13:38:21 -08:00
Erik Dalén
900136ec1e Supply port to GerritWatcher
Fix if gerrit is running on non default port

Change-Id: Ifdc29a106eb07cdf514811be3293cd97a5f80068
2012-11-05 14:21:30 -05:00
James E. Blair
15895e831e Fix description.
Change-Id: I6f966a3c781b35eaeb019943c896e12633429ac3
0.1.0
2012-07-24 13:19:47 -07:00
Jenkins
8557854d55 Merge "Add Apache2 license file to the project." 2012-07-19 16:35:59 +00:00
Clark Boylan
86a69ed1e5 Add Apache2 license file to the project.
Project had been missing the full text of the Apache2 license. Add
this file.

Change-Id: Icb33680459cde8596b73c5954a57a3a9cd1fda7d
2012-07-11 14:36:15 -07:00
Clark Boylan
3f74a198c8 Add a project wide .gitignore.
Add a .gitignore file to the project. Ignore: .pyc, build/*, and
tox/venv stuff.

Change-Id: I66ca2b023a555e520dd4f5f7e2a24a9624a934f2
2012-07-11 21:03:32 +00:00
Clark Boylan
eeeaadf66c Add setup.py to project.
Add a setup.py for the gerritlib project. This incorporates
openstack.common.setup/version as well for versioning. This change
also adds a tox.ini file and its lists of dependencies to gerritlib.
This was not done in a separate commit as tox depends on setup.py and
setup depends on tox for gate tests.

Change-Id: I101471e836802b1c38796d8d3c570ce5f00c793e
2012-07-11 13:00:12 -07:00
James E. Blair
4da6ce52fd Add gitreview 2012-07-09 15:17:04 -07:00
James E. Blair
5909d0cc00 Add start actions.
Add the ability to specify a report to gerrit on start.  This
can be used to clear the verified column.

Fixes bug #1012730.

Change-Id: I8dd2a60c3a16a8fa0046675437c750948af99577
2012-06-13 17:15:19 -07:00
James E. Blair
a41dd7df9d Use paramiko for stream-events.
The hope is that error detection/recovery will be more robust.

Change-Id: I28d51a9d977943ba94c9674123de95a1ab742f05
2012-06-05 14:04:59 -07:00
James E. Blair
c2b38030d5 Remove stray print statements.
Add tox.ini with pep8 section.

Fix pep8 errors.

Change-Id: I6c171104359b16bcb130fdd56697d0663d8ec562
2012-05-30 12:48:57 -07:00
James E. Blair
b8646dab67 Fix logic error in reporting
Change-Id: I0444353eb753387fd792605371ad25ffe0e8990e
2012-05-30 11:59:58 -07:00
James E. Blair
3303eb8382 Initial commit. 2012-05-29 14:49:32 -07:00