Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
collection_requirements.rst: change part related to naming (#105)
Browse files Browse the repository at this point in the history
* collection_requirements.rst: change part related to naming

* add suggestion

* add new paragraph

* Update collection_requirements.rst

Co-authored-by: Sandra McCann <[email protected]>

* fix

Co-authored-by: Sandra McCann <[email protected]>
  • Loading branch information
Andersson007 and samccann authored Aug 13, 2020
1 parent d9a6043 commit f792dee
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions collection_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,25 @@ Versioning and deprecation
* We recommend to announce your policy of releasing, versioning and deprecation to contributors and users in some way. For an example of how to do this, see `the announcement in community.general <https://github.com/ansible-collections/community.general/issues/582>`_. You could also do this in the README.


Repository management
=====================

Repository name
---------------
Naming
======

For collections under ansible-collections the repository SHOULD be named ``NAMESPACE.COLLECTION``.

`Namespace limitations <https://galaxy.ansible.com/docs/contributing/namespaces.html#galaxy-namespace-limitations>`_ lists requirements for namespaces in Galaxy.

For collections created for working with a particular entity, they should contain the entity name, for example ``community.mysql``.

We should avoid:
For corporate maintained collections, the repository can be named ``COMPANY_NAME.PRODUCT_NAME``, for example ``ibm.db2``.

We should avoid FQCN / repository names:

* too long FQCN names: try to make it compact but clear
* nested namespaces if this is not really necessary, especially namespaces with repetitive parts
* which are unnecessary long: try to make it compact but clear
* contain the same words / collocations in ``NAMESPACE`` and ``COLLECTION`` parts, for example ``my_system.my_system``


Repository management
=====================

Branch name and configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit f792dee

Please sign in to comment.