Page MenuHomePhabricator

Add CI to all operations/dumps/* repositories and archive obsolete ones
Closed, DeclinedPublic

Description

There are 6 operations/dumps/* repositories in Gerrit that do not have CI. Some are probably obsoletes and could be marked archived, others surely could use some CI jobs to be added to them.

List of missing repositories.

RepositoryStatusComments
operations/dumps/dcat donePHP and i18n
operations/dumps/htmlLATERJavaScript. Canonical repo is https://github.com/wikimedia/htmldumper
operations/dumps/html/deployLATEREmpty, archive or delete?
operations/dumps/mwbzutils???C
operations/dumps/scapTODOScap configuration
operations/dumps/statusapi donePython, initial change is https://gerrit.wikimedia.org/r/#/c/335007/ . tox/flake8: https://gerrit.wikimedia.org/r/#/c/392037/

Nov 16th 2017, granted CI permission to submit patches on operations/dumps and its child.

Event Timeline

My thoughts on CLI for these repos

  • dcat: YES
  • html: leave for now, it's not obsolete but nor do I have time to fix anything in there if it's broken, which I expect it is.
  • html/deploy: skip for now etc.
  • scap: YES
  • statusapi: leave for now, it's not obsolete but no time etc. There's a changeset in gerrit for it that won't get cleaned up and merged any time soon...

Change 390993 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] operations/dumps/dcat: npm for jsonlint/banana

https://gerrit.wikimedia.org/r/390993

Change 390994 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/dumps/dcat@master] Add linters for i18n json files

https://gerrit.wikimedia.org/r/390994

Change 390998 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] operations/dumps/dcat: composer for php linting

https://gerrit.wikimedia.org/r/390998

Change 390999 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/dumps/dcat@master] Add PHP linter

https://gerrit.wikimedia.org/r/390999

hashar triaged this task as Medium priority.Nov 13 2017, 1:55 PM
hashar updated the task description. (Show Details)

Are there other requirements which should be checked at the same time? E.g. presence of a LICENSE/COPYING file, CODE_OF_CONDUCT.md, assuming these are now requirements of gerrit repos.

Change 390993 merged by jenkins-bot:
[integration/config@master] operations/dumps/dcat: npm for jsonlint/banana

https://gerrit.wikimedia.org/r/390993

In Gerrit, I have granted CI permission to submit patches on operations/dumps and its child.

Change 390994 merged by jenkins-bot:
[operations/dumps/dcat@master] Add linters for i18n json files

https://gerrit.wikimedia.org/r/390994

Change 390998 merged by jenkins-bot:
[integration/config@master] operations/dumps/dcat: composer for php linting

https://gerrit.wikimedia.org/r/390998

Change 390999 merged by Hashar:
[operations/dumps/dcat@master] Add PHP linter

https://gerrit.wikimedia.org/r/390999

html: leave for now, it's not obsolete but nor do I have time to fix anything in there if it's broken, which I expect it is.
html/deploy: skip for now etc.

The Gerrit repo operations/dumps/html seems to be maintained on https://github.com/wikimedia/htmldumper now. So I am tempted to just mark it read-only.

operations/dumps/html/deploy is empty. I guess we can just delete it.

operations/dumps/statusapi has pending change https://gerrit.wikimedia.org/r/#/c/335007/ . I guess I can amend it and add the basic tox / flake8 boiler plate to it and have CI to run tox.

Change 392037 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/dumps/statusapi@master] Add tox and pass flake8

https://gerrit.wikimedia.org/r/392037

Change 392427 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] operations/dumps/statusapi add tox

https://gerrit.wikimedia.org/r/392427

Change 392427 merged by jenkins-bot:
[integration/config@master] operations/dumps/statusapi add tox

https://gerrit.wikimedia.org/r/392427

Can be done later if there is any interest.