Add "external-tracker-url" key to projects.yaml linter script

Add "external-tracker-url" key to be accepted in gerrit/projects.yaml
file by validation script. This will allow to have arbitrary URL to be
used in external issues tracker link in Gitea.

Depends-On: I96219f0b4f599aa9a804eb6a21156df78e756dcc
Change-Id: Ie9bc15554ddebc3b43f9ce9d972bf65d2a09da07
This commit is contained in:
Roman Gorshunov 2019-11-18 18:42:03 +01:00
parent cec4261dd0
commit a12121a4f7
1 changed files with 4 additions and 4 deletions

View File

@ -156,10 +156,10 @@ def main():
projects = yaml.safe_load(open(args.infile, 'r')) projects = yaml.safe_load(open(args.infile, 'r'))
VALID_LABELS = ["acl-config", "description", "docimpact-group", VALID_LABELS = ["acl-config", "cgit-alias", "description",
"groups", "homepage", "options", "project", "docimpact-group", "external-tracker-url", "groups",
"upstream", "upstream-prefix", "use-storyboard", "homepage", "options", "project", "upstream",
"cgit-alias"] "upstream-prefix", "use-storyboard"]
VALID_SCHEMES = ['https://', 'http://', 'git://'] VALID_SCHEMES = ['https://', 'http://', 'git://']
DESCRIPTION_REQUIRED = ['openstack', 'openstack-infra', 'openstack-dev', DESCRIPTION_REQUIRED = ['openstack', 'openstack-infra', 'openstack-dev',
'stackforge'] 'stackforge']