Commit Graph

98 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
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 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 8bc009d8f7 script to submit patches with wheel flag
We may not need this after all, but check it in for posterity.

Change-Id: Ie9568a3e56e1267ddd16b35d4cdcb782478b9906
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 07:08:38 -04:00
Doug Hellmann f83cb4d58b separate propose script for the tox settings changes
Change-Id: I3e3c9cccc288ffb098f4e20a8c32c2601523a374
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-29 11:22:34 -04:00
Doug Hellmann 372dc41782 make branch handling smarter
Look at the branches that actually exist in the repository rather than
assuming all of the branch names. This lets us handle the charms team
repos, which have numerical branches.

Change-Id: I9ebd90eb716fb26db7aa09edff0de663872c5964
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-11 16:37:04 -04:00
Doug Hellmann a30563f78e make propose.sh submit the project-config patch
This saves one manual step.

Change-Id: I3f34deaa86a4b93163d1e1ee79ab1b178cec64da
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-09 11:35:50 -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 98b0a3cd08 do not require a task id in update_project_config.sh
It's easy enough to look up the value and I'm using the script by
itself a lot to fill in missing patches.

Change-Id: I11a2f19c05cfb4fa8498e5aa6ecff4d377884d9e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 12:49:41 -04:00
Doug Hellmann 2f1795c973 fix commit message when adding python 3.5 jobs
Change-Id: Ifaf0485661371359503f7007365da98eadb5b14e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-29 08:55:10 -04:00
Doug Hellmann b45cf2f5b6 add script for listing patches for all teams
Change-Id: I85262f84164bde00410ddda736d40a7033045dd8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-23 09:35:41 -04:00
Doug Hellmann 71c0184ca1 correct the directory where we test for .zuul.yaml to exist
Change-Id: Idb4e5b9841c7a266e0226ddf41d8472dddd05c8e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-22 14:15:45 -04:00
Doug Hellmann 3a1c8453e0 error out if we cannot create the tox env
Change-Id: I549e640ef665861d4454f8a3d618af8498120d38
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-22 11:51:00 -04:00
Doug Hellmann aeeab41568 error if we cannot get the virtualenv
Change-Id: Ie06513a0227da75ea870d7010571f60568774519
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-22 11:49:10 -04:00
Doug Hellmann dd2ed54f93 fix team name for board repos
Change-Id: I2315fce2bcbe9f66493dd96902fdeefe84a254b9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-22 11:25:13 -04:00
Doug Hellmann 916baa152f move refstack repos from team to board
Change-Id: I48d339168ebebcf03f037ea2efd6a992c594a16d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-22 08:40:48 -04:00
Doug Hellmann 67cf4af3d7 remove the documentation and sahara teams from the list
They have completed their work.

Change-Id: I518dbb0d7c6fd437a2a9778fe15a0d96beac441e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-21 17:48:44 -04:00
Doug Hellmann cef254a8ba deal with case where no changes are needed in project-config
Change-Id: Ib62f8d3098dd105f8a0eace2a8ba685fd6115abc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-21 17:47:54 -04:00
Doug Hellmann b50c1f6854 try to prevent duplicate runs
Change-Id: I3d8155ba280a1f5df4f751c4ad616d71057649e9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-21 15:30:30 -04:00
Zuul 230d766742 Merge "fix title messages" 2018-08-21 14:54:14 +00:00
Doug Hellmann 320df62c7f fix title messages
Change-Id: If66dca623ea6feca28da385120cc2f5ae32ce3e9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-21 09:20:23 -04:00
Zuul 59685725f9 Merge "support older git without -C option" 2018-08-21 03:22:08 +00:00
Doug Hellmann edaedfafaa support older git without -C option
Older versions of git do not support the -C option, so switch from
using that to using pushd/cd where appropriate.

Change-Id: Iee0a95f2a790206e9f2caaa47c60ec8273272eea
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-20 17:56:40 -04:00
Goutham Pacha Ravi 47c0766b0a Ignore blank lines when counting changes
Fix the line counting in tools/python3-first/propose.sh
to ignore blank lines when counting the number
of changes being proposed.

TrivialFix

Change-Id: I8dfd7a2ecfa32169aafa1ea7456fb39e67ba36d7
2018-08-20 19:30:47 +00:00
Doug Hellmann af91a50d2b fix show.sh for team names with spaces
Change-Id: I7f6bed0d4be9ca5cf1afd71b77f02919311e5185
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-20 13:12:53 -04:00
Doug Hellmann e92a3d9482 fix name of operations-guide repo
Change-Id: I86320bce6a3e8d6ecf4414dc524bd32cf0825680
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-20 09:26:41 -04:00
Doug Hellmann 6c47b6c1ec add script to count the patches to be presented for all teams
Change-Id: I0cc193d40c0fa4111378deff2c8e9c56d2809379
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-19 16:15:33 -04:00
Doug Hellmann 90c2d8002c make do_all.sh faster
With the improved error handling, do_all.sh is finding errors. Rather
than starting from scratch each time it is run, allow the caller to
just remove the team that has failed most recently and run it
again. Teams that exist are skipped, saving time in finding more errors.

Change-Id: I091765d397afecd5980dae8d389e07119cd2ac8e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-19 11:02:46 -04:00
Doug Hellmann 9d54a1224f create script for infra team
Treat the infra team as a special case because we want to ignore the
project-config repo.

Change-Id: I5eda83126ed4dd5aa5497df1de005f11ecdbdf8e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 15:34:40 -04:00
Doug Hellmann a58052ddad pass the branch in to 'jobs update'
Not all of our repositories have a .gitreview file, so go ahead and
pass the branch name in to the script that updates it since we know
the branch in advance anyway.

Change-Id: Ieab71b3b690ad0949ef96a311a8a60d6f8a0c6b7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 12:47:30 -04:00
Doug Hellmann 66e0e625df api-sig repo is owned by a sig, not tc
Change-Id: I35d54df81351c38f81b322d48826adf1d4ca7e04
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 11:02:17 -04:00
Doug Hellmann 101e6e1b9e add operation docs sig repo
Change-Id: Icbc7bd5c12633d5a806e7a7000223cba752bea34
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 11:01:14 -04:00
Doug Hellmann 9618a719f8 script to add python 3.5 jobs
Some of the repositories still only have 2.7 jobs.

Change-Id: I0d56810482fe99a051ef1ced079f05dff7b22a35
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:54:34 -04:00
Doug Hellmann dcb813c089 add script to process all repos
This is really most useful for testing. We do not want to use it to
prepare the real patches.

Change-Id: I864cd4f2263c33f09509dc6171b016ae7eaa2682
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:44:37 -04:00
Doug Hellmann f6586c822e add script to process SIG repos
Change-Id: I2d0215eae78bd0ddd70fa596cb6b49928985bce4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:39:30 -04:00
Doug Hellmann c9a4115343 add script to handle board repos
Change-Id: I0a163fc210361e0aa01c17ed228438e360935502
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:28:26 -04:00
Doug Hellmann b8a22eef91 add script for processing user committee repos
Change-Id: Iea9bc42ebe439cd049d98283411acf46d000d302
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:28:26 -04:00
Doug Hellmann a3f8c08295 add script to prep changes for TC-owned repos
Change-Id: I8360c914c485e8c561985cec4e73287fc391e08e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:28:26 -04:00
Doug Hellmann f9b0373605 support passing a list of repos to do_team.sh
This lets us work with teams where extracting a list of repos from the
governance data is not automated.

Change-Id: I7b35ac9b7031df0d503b7056eb4625fad62d73dd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:27:59 -04:00
Doug Hellmann 3c45fc8571 ignore failure to commit
If we fail to commit that means there were no changes and we should continue.

Change-Id: I96611b4693b965069bb44dd0972f48a33cb5eab4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-18 10:27:40 -04:00
Zuul 640e1a01db Merge "Change a echo line" 2018-08-18 13:29:22 +00:00
Doug Hellmann 6263953264 prune dead branches on clone
When we clone the repo, if we got a version from a local cache we may
need to prune dead branches.

Change-Id: I94e5856a3f21a4fe069b3450427514bc82d18614
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-17 10:44:59 -04:00
Doug Hellmann 9a66c18e4e improve error handling
Use error code 2 to indicate that we are exiting a program without
doing any work. This leaves error code 1 to mean that the program
actually had an error, and we can check for those errors and report
them.

Add --debug and -v flag where missing in calls to python3-first app.

Change-Id: Ia6f39dc8eee3505ac573670a9e44ae225ed48334
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-17 10:44:00 -04:00
Nguyen Hai 179d10d1c7 Change a echo line
Press enter instead of return.

Change-Id: Ie6a5c63c87e6a2df358a1cd966d5d93e6caa654d
2018-08-17 14:53:51 +09:00
Doug Hellmann 2747a7d6c8 fix propose.sh for teams with spaces in the name
Change-Id: I985d76a48a2f8f9bedd0c4bb184647ab6f87c50f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-15 11:57:05 -04:00
Doug Hellmann 090bc60588 add lib-forward-testing-python3
When a project has lib-forward-testing, add lib-forward-testing-python3.

Change-Id: Ifd57f23eb6568d49a52a081bf7e75fdc40bec0ca
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-12 10:12:34 -04:00
Doug Hellmann d4e2faabd5 force the target branch when proposing
Some of the repos do not have the .gitreview files merged yet, so we
have to be explicit about the branch to which we are proposing the change.

Change-Id: I359db161da8532739d00e5a6384993639adb3edb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-10 20:16:48 -04:00
Doug Hellmann fe61b11878 show changes in project-config for easier review
Change-Id: Ib9061b93fb580dc3cbc6cf1c91e078bd196493d5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-08 16:05:42 -04:00
Doug Hellmann f6293fac7c warn about cosmetic changes to YAML files
Change-Id: Ia0e164bdb2a93b3a0c604d2132baddd28507af4a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-08 15:54:11 -04:00
Doug Hellmann 7864d83537 add py36 unit test jobs as part of updating master
Change-Id: I5ce5e08f1f38a04024b1011304c8b711ff788458
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-07 16:13:25 -04:00