From a60feeb3c1e5a6a6c96bee49bec98f0a5f5b7ca8 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Mon, 17 Feb 2020 16:26:47 -0500 Subject: [PATCH] Specify lowercase only for Galaxy namespaces (#67485) * specify lowercase only for galaxy namespaces * doh... include meta file --- docs/docsite/rst/dev_guide/developing_collections.rst | 2 +- lib/ansible/galaxy/data/collections_galaxy_meta.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/dev_guide/developing_collections.rst b/docs/docsite/rst/dev_guide/developing_collections.rst index 9b4d21fd161..2a5b4686308 100644 --- a/docs/docsite/rst/dev_guide/developing_collections.rst +++ b/docs/docsite/rst/dev_guide/developing_collections.rst @@ -339,7 +339,7 @@ Next, try using the local collection inside a playbook. For examples and more de Publishing collections ---------------------- -You can publish collections to Galaxy using the ``ansible-galaxy collection publish`` command or the Galaxy UI itself. +You can publish collections to Galaxy using the ``ansible-galaxy collection publish`` command or the Galaxy UI itself. You need a namespace on Galaxy to upload your collection. See `Galaxy namespaces `_ on the Galaxy docsite for details. .. note:: Once you upload a version of a collection, you cannot delete or modify that version. Ensure that everything looks okay before you upload it. diff --git a/lib/ansible/galaxy/data/collections_galaxy_meta.yml b/lib/ansible/galaxy/data/collections_galaxy_meta.yml index c3c34372528..75137234fa4 100644 --- a/lib/ansible/galaxy/data/collections_galaxy_meta.yml +++ b/lib/ansible/galaxy/data/collections_galaxy_meta.yml @@ -10,7 +10,7 @@ description: - The namespace of the collection. - This can be a company/brand/organization or product namespace under which all content lives. - - May only contain alphanumeric characters and underscores. Additionally namespaces cannot start with underscores or + - May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with underscores or numbers and cannot contain consecutive underscores. required: yes type: str