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
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
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
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
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
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
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>
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
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
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
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