Commit Graph

258 Commits

Author SHA1 Message Date
Ian Wienand c77d387dfd Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I36e7ad4b011f22adbf4d4c3dc7a0727f881161db
2019-03-24 20:33:42 +00:00
Zuul da4a7712c4 Merge "use larger query batch size" 2019-02-07 13:11:25 +00:00
Doug Hellmann 7a8e653b49 use larger query batch size
Change-Id: I5ef5bcc265daf1185df7ffd9957cd2591bf8ea08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-02-07 07:46:04 -05:00
Doug Hellmann 280cf02610 new command to build sql database directly from gerrit
Rather than downloading the review data in one command and then
re-processing it to build a sql database in another, just move
directly from gerrit to sqlite.

Change-Id: I01545ac8e88f40b5b49148571d93fa16463e9624
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-01-07 18:37:34 -05:00
Doug Hellmann 831abc3fde ensure the review id is always a string when building url
Change-Id: If759d20d0681f5f6abf7521da2a1e33b52adecb6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-01-07 18:02:21 -05:00
Doug Hellmann 4e08bbc1d5 move gerrit querying loop somewhere more reusable
Change-Id: Ib41e49fe1e94af56d2a3fef892b55c4526e4f31d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2019-01-07 16:40:58 -05:00
Doug Hellmann fa9c110028 ignore + and - when looking for teams with open patches
+ means done and - means nothing needed to be done

Change-Id: I12bf4d80234a0f49bb3919940646b378e4d12a18
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-12-13 08:45:36 -05:00
Doug Hellmann 2255950637 add option to count command to only show teams with open reviews
Change-Id: I3cb6c1f2464d598b2c12545c894f5c6ffdb103ec
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-12-07 10:23:41 -05:00
Doug Hellmann f5b0d41963 stop tracking zuul imports
the zuul import work is done so we can stop tracking that

Change-Id: I52a2fd2b2d91d4481e2f93ad7b248e900b3ccf86
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-12 09:58:16 -04:00
Doug Hellmann 5b490b410a stop tracking wheel setting changes
Change-Id: I4b1eff5ab370bc3279c55288eee73dc43c9c8a9c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-09 13:54:48 -04:00
Doug Hellmann b56cbe6bb0 report the total number of patches read
Change-Id: Id1d630dc41a7d40f7341dab2ef8241e8cb5cddd0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 17:45:21 -04:00
Doug Hellmann dbbedd2abb disable 'wheel fix' command
Change-Id: Iec38b3645882fb516d9686b2938159e991a5ebf8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 08:18:18 -04:00
Doug Hellmann 7e095f3144 support updating universal wheel flag location
Change-Id: I19cebc0d5c2f8d9b64b57cf85e07d00ac32fc9e5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 06:47:45 -04:00
Doug Hellmann ef2fbbd5b7 count the patches to set the universal wheel flag
Change-Id: I18d8681e706ba217a5012567427dafd5a6566e90
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-03 16:04:59 -04:00
Doug Hellmann 1a6191debc add 'wheel fix' command to set the universal wheel flag in setup.cfg
Change-Id: I38e7c77bbf29c807ae0f3aa7bff0bea5e6f6cfb1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-03 16:04:54 -04:00
Doug Hellmann de3e85e271 command to look at wheel build settings
Report on which repos need to have the flag to build universal wheels.

Change-Id: Ied933596d8f23d60f5456fa9d74302eadf9146ed
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-03 16:04:17 -04:00
Doug Hellmann 78b764a2cd ignore cleanup patches that are merged
Change-Id: Ib0af5b21af70eff23bb9ce0267ca2ecac7e33bd0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-27 14:43:05 -04:00
Doug Hellmann 049d7b384c try to remove python2.7 settings before adding python3
Change-Id: I08d155926e9f4cfea4a6d51debe44fdc9c18a434
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:37:29 -04:00
Doug Hellmann b43191241e handle errors in fix_one()
Change-Id: I1b999f3f20c69ae4a004e3e70b9cb63187f5b702
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:37:22 -04:00
Doug Hellmann 305b39fbc7 tool to fix the tox settings
This is a bit hacky because there isn't a configparser that preserves
comments, so we have to edit the contents of the files as text instead
of using logical operations like configparser.set().

Change-Id: I37c101f8d3f7b17e3b69b8e1981b41f53a0d08e6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:26:26 -04:00
Doug Hellmann 63d0ab45ea include bindep and cover in the output
Change-Id: I2e502c12e1ca80a96bf7a2c4cf9ec0f085342284
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 17:34:33 -04:00
Doug Hellmann 4ba53c0b51 ignore the infra team for now
Change-Id: I82408dd6acb580b3038a0d26b5e0d7a49571a9f3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 17:34:25 -04:00
Doug Hellmann b6fd3ce42d add tool to show incorrect tox settings
Look at the tox settings for the repos and report any that ought to be
using python3 that aren't.

Change-Id: Ia53fef73d67604d86b9a9d1d41364ed2f80cb260
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 17:21:14 -04:00
Doug Hellmann 5822c28d22 tweak definition of 'review'
Change-Id: I2aa413da3395ae68cda39bf97dca5322d02a355f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-19 14:29:31 -04:00
Doug Hellmann 5fd6f60739 count patches with no reviews at all
Change-Id: I69b4fdc80b38b7a76e32d2bde6ecbafcd650050c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-19 09:44:36 -04:00
Doug Hellmann 3f65071438 report zuul work as 'zuul' not 'imports'
Change-Id: Ic7aff42d965a1f23dba5158dd0832d1b00d1737c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-18 09:21:21 -04:00
Doug Hellmann f7f1d148cf show separate counts for each type of patch
Show all of the types of patches proposed by the goal champions and
track the progress of completion separately.

Change-Id: I84eeb09813b37337a7655dc119dfae6f737d3c3a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-17 16:26:55 -04:00
Doug Hellmann 9e75cfe9e3 say 'migrated' not 'done' so teams don't think they are finished
Change-Id: Ia326ffc3f300498decb413f2fa878381d9ae849b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-13 23:57:19 -04:00
Doug Hellmann 10683ac5dc add minimal flag to status report command
Change-Id: I5b5f02cac46c30084b234d86d909f1d6e5cbd3fc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-12 11:25:10 -04:00
Doug Hellmann e594d53b73 ignore loci team
the loci team has no work to do for the migration

Change-Id: Iac72f2d2e31adf9cd14c1a913d6961f31e6fa5e7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-11 18:02:52 -04:00
Doug Hellmann d224ca07a5 count the patches that are failing separately
Change-Id: I4521e2bef0ac8d097d2a441ef12cd6905ee58ee7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-11 08:12:54 -04:00
Doug Hellmann 1ab5f2696b do not track infra team
The infra team is not moving its zuul settings, so there is no point
in tracking it.

Change-Id: I626c91a630eda36137320b52c26e5937160006e4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-05 14:20:14 -04:00
Matt Riedemann fd54f1d2c4 Add the ability to read --project-list file from local path
The import-goal --project-list option currently only supports
URLs but the requests library doesn't support the file:// protocol:

  https://github.com/requests/requests/issues/2732

This change adds the ability to read a file path for --project-list
instead of rely on URL in case you have a locally modified projects.yaml.

Change-Id: I584534fb32f42e5d78941637285623ad96cf79c3
Story: 2003653
Task: 26066
2018-09-04 13:23:47 -04:00
Doug Hellmann 6e3846682a improve --project-list help in import-goal
Change-Id: I1b91c8dcb362c66dab3aa2dd11d975a24934d6c7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-04 13:20:39 +00:00
Doug Hellmann e558932ba7 show total open, proposed, and teams done
Change-Id: I5afcf4088a0b8dfff021fbfcbc4a96b462596585
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-03 11:27:35 -04:00
Doug Hellmann e179e2ad11 remove summary information from patch list
Change-Id: Ib8f7a51c7e66879a5fcfe8043973d48a70785aef
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-31 16:46:01 -04:00
Doug Hellmann 6381d97f80 add UC repos to governance module
Change-Id: I44394ea633926a37a1dbdcb88b880368defd87b9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-30 18:46:40 -04:00
Doug Hellmann 150748adce show the cleanup patches in the patch list output
Change-Id: I3cba5e4117a96c9359643d6ecdb3ee944a8af6d2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-30 18:36:09 -04:00
Doug Hellmann 5dce0349e1 drop transparency wg
The group seems defunct, so focus on the interop group.

Change-Id: I5522866b0ec1641abb66323ace7590193d581529
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-30 18:13:35 -04:00
Doug Hellmann c68c20e2e6 add teams for SIGs and Board
Update the governance data with information about the SIGs and board
working groups.

Change-Id: I00b7d9eb42c859e9e465f67f250f24e15298e6f0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-30 18:13:34 -04:00
Doug Hellmann d21ff30932 show the number of repos for a team
Change-Id: I0201d59b810a79899999b1a1a8f8c4ccc52cf419
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 15:33:34 -04:00
Doug Hellmann 4125c31e74 do not move install-guide-jobs template
The jobs only run on older branches, and the script doesn't correctly
determine that, so just don't move it at all.

Change-Id: I6494afb3c7bb5a69e0c73e28d7ea87e1bead6501
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 14:09:16 -04:00
Doug Hellmann b70541fcf3 show the status for all teams
Update the status report tool to show the status for all teams,
including those that have not yet started.

Change-Id: I5bcd976bca38930cd426cb15e586b3f96b72d729
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 14:04:22 -04:00
Doug Hellmann d737537806 show status as 'done' not 'yes'
Change-Id: Ic75c533916786f79436e0d27e61b0917d676c628
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 12:41:44 -04:00
Doug Hellmann 93e79a38bf process fewer patches looking for zuul imports
Pass the expected subject to gerrit in the query so the result set to
search through for matches is smaller.

Change-Id: I038063e7758092d4eed34c034463e43b2fd34d78
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 12:41:44 -04:00
Doug Hellmann c06ba7360d show champion for each team in status report
Change-Id: I08edac10af3dae91e3df52e2dc1934f0812202fd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 12:31:38 -04:00
Doug Hellmann 2e04243ab3 show more detailed status for each team
Try to discover the cleanup patch for a project and use that to build
a more comprehensive status statement.

Change-Id: Idaaa29f1a3fc345e10a7a8616677394ef460ebab
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 12:15:05 -04:00
Doug Hellmann 95fba88222 add a tool to list task assignments
Change-Id: If2d150c9ec074eae4f56e1dd027e04189b0f2786
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-28 17:56:12 -04:00
Doug Hellmann ff7b39ded5 add tool to assign tasks
The storyboard UI isn't working well for the python3 first goal story
because it has so many comments, so write a command line tool to do
the task assignment.

Change-Id: I845608b7c0c0c95db4c3ad7bd00e609664c28e2b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-28 17:34:45 -04:00
Doug Hellmann 5041e5f3c9 remove name settings from in-tree config files
Projects should not set the repo name in-tree, since that makes it
more difficult to rename the repository.

Change-Id: I782a0a43044082a1a4fa9d1ee5413498fc2cc9d9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-27 17:06:59 -04:00