Commit Graph

14 Commits

Author SHA1 Message Date
Clark Boylan f6757510c1 Add launchpadlib as a dep
This adds launchpadlib as a dep to jeepyb so that our assemble script
can install it alongside all the other jeepyb deps when building Gerrit
images. This way we don't need to install python3-launchpadlib anymore
and can use our base python images with Gerrit.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/870118
Change-Id: I94fb9c7f16aa6c12840b54dac5e272950b4dea0c
2023-01-17 15:21:45 -08:00
Jeremy Stanley db3a718fcc Bump gerritlib requirement to 0.10.0
With the recent upgrade of OpenDev's Gerrit deployment to 3.2, it
became apparent that group creation/detection in manage-projects
stopped working due to a behavior change with the Gerrit
command-line API. This was fixed in gerritlib 0.10.0 so we now
require at least that version.

Change-Id: I34dec9b661d08b9987000d41008367d03be74465
Depends-On: https://review.opendev.org/782603
2021-03-26 12:44:46 +00:00
Andreas Jaeger 4294e878db Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:32:12 +01:00
Steve Kowalik 19497db325 Updated from global requirements
The requirements and test-requirements for jeepyb are horribly outdated,
update them. Since this also includes a few things that aren't in
global-requirements, add them back manually after running the update
script.

Change-Id: Idbf4a23830ad9497f61d6b261bb23d222b4746b9
2015-11-13 11:12:07 +11:00
Colleen Murphy d8f0d3a6d6 Switch from MySQL-python to PyMySQL
For the same reason nodepool switched[1], let's switch jeepyb too.

[1] http://git.openstack.org/cgit/openstack-infra/nodepool/commit/?id=63e5297f7e56bd2f8ca8c16e1f1b032f6c6f5ab8

Change-Id: I3afeaebeb8416388d5866fc3994357935079c97d
2015-10-14 14:03:57 -07:00
Steve Kowalik f2b4ec1659 Add a register-zanata-projects script
Currently, projects in Transifex are set up by hand, which requires
infrastructure members log into its admin interface and add projects.
With Zanata, we can do much better, so add a script that will parse
projects.yaml, and create any projects that are required.

This grew out of Ic28d5dcfdd471dccbe406955a85dbc6f5d7335d1, but moves
the configuration for the project from translate: true to underneath
options to match things like direct-release.

Change-Id: Id78a590ea07b886afc0c98e309ff6df45f2240bf
2015-08-03 11:51:39 +10:00
Longgeek f47149e5e5 Update global requirements
Change-Id: I7a62ff9b0d4c618b9f3af4874896fa16092b3eec
2014-06-28 23:19:13 +08:00
Clark Boylan 4f47cb014d Don't require psycopg2 to operate.
Jeepyb optionally supports postgres via psycopg2 but it isn't required
for base operation. Remove the requirement so that jeepyb can be
installed on existing jeepyb installs without needing to add libpq-dev
everywhere.

Users wishing to use postgres with jeepyb should install psycopg2 in
addition to jeepyb.

Change-Id: Ibe383a27bf826af02b9ad1764d224d654d195519
2014-05-29 14:07:54 -07:00
Paul Belanger 1b9f594e17 Add PostgreSQL database support for gerritdb
This adds a dependency at the operating system level for:

    You need to install postgresql-server-dev-X.Y for building a
    server-side extension or libpq-dev for building a client-side
    application.

Change-Id: I9e17d2e11c2f73f12730bf5d7f27b31cedd7cbd9
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
2014-05-07 19:48:54 +00:00
Fengqian Gao 5eb59d3e10 Keep py3.X compatibility for urllib
Use six.moves.urllib instead of urllib

Partial-Bug: #1280105

Change-Id: Ieace55f7ca0189e40f268a43431ce63130e267be
2014-02-25 16:26:52 +08:00
Clark Boylan faec77b53e Fix pbr and hacking requirements.
There were pbr version conflicts due to the old version of hacking that
we had pinned here. Pin newer pbr and hacking to unstick the tests for
jeepyb and to make it clear why this happens in the future.

Change-Id: I75a1f6f956880f2bec8a182782b17e5055315e75
2014-02-04 22:16:06 +00:00
Monty Taylor dd9520792a Do github last
github project creation is really only a convenience, but API errors
cause other things to get borked from time to time. Move the interaction
with github to the very end, after we've done all of the things that
exist in our own backyard. Additionally, if we create the project in
github, it's possible we did it later on, so go ahead and trigger a
replication

Change-Id: I51572afe41f7ec9977ea7c17a90bd4df49b9a0f1
Closes-bug: #1242569
2013-12-02 11:13:53 -08:00
James E. Blair eab92611c3 Add options to manage-projects
It has a command line arg parser.  With --help.

It can be told to only process one project.

It can output verbose debugging information.

It can save its temp directory so it can be examined later by an
operator.

Change-Id: Ide6d68590e0bf89efef720542bd1730533428160
2013-08-30 10:01:26 -07:00
Monty Taylor 061919f212 Modernize to curent build standards
Migrate to pbr, flake8 and hacking. Clean up hacking warnings. Rename
requirements files. Remove cruft from tox.ini.

Change-Id: Ide78ad47de7f275240f729a2bc02745063b084ac
Reviewed-on: https://review.openstack.org/31439
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-07-02 16:49:29 +00:00