Browse Source

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
changes/17/694817/4
Roman Gorshunov 3 weeks ago
parent
commit
a12121a4f7
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tools/check_valid_gerrit_projects.py

+ 4
- 4
tools/check_valid_gerrit_projects.py View File

@@ -156,10 +156,10 @@ def main():

projects = yaml.safe_load(open(args.infile, 'r'))

VALID_LABELS = ["acl-config", "description", "docimpact-group",
"groups", "homepage", "options", "project",
"upstream", "upstream-prefix", "use-storyboard",
"cgit-alias"]
VALID_LABELS = ["acl-config", "cgit-alias", "description",
"docimpact-group", "external-tracker-url", "groups",
"homepage", "options", "project", "upstream",
"upstream-prefix", "use-storyboard"]
VALID_SCHEMES = ['https://', 'http://', 'git://']
DESCRIPTION_REQUIRED = ['openstack', 'openstack-infra', 'openstack-dev',
'stackforge']

Loading…
Cancel
Save