BOTMETA migrated_to should be namespace.collection (#64029)

This commit is contained in:
John R Barker 2019-12-03 19:20:58 +00:00 committed by GitHub
parent 88d8cf8197
commit 322a4dc691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
.github/BOTMETA.yml vendored
View file

@ -27,7 +27,7 @@
# ignored - these people should never be notified
# deprecated - this file is deprecated but probably not yet renamed
# keywords - used to identify this file based on the issue description
# migrated_to - Location on Galaxy,
# migrated_to - If this has been migrated to Galaxy, in the form collection.namespace
# see https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html
# support - used for files without internal ANSIBLE_METADATA, see
# https://github.com/ansible/ansible/labels?q=support for full list

View file

@ -40,7 +40,7 @@ def main():
'maintainers': Any(list_string_types, *string_types),
'migrated_to': All(
Any(*string_types),
Match(r'^https://galaxy.ansible.com/'),
Match(r'^\w+\.\w+$'),
),
'notified': Any(list_string_types, *string_types),
'supershipit': Any(list_string_types, *string_types),