diff options
author | Will Thames <will@thames.id.au> | 2017-12-17 03:23:54 +1000 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-12-16 09:23:54 -0800 |
commit | 5f29cd5e6053de29251944b34b7dddc8d1cece75 (patch) | |
tree | 06748af0f6a7ef11a7b070e390eda9c06e5d2c8a /docs/docsite/rst/dev_guide/testing_validate-modules.rst | |
parent | a130549ead73c2d56cfcfb02a5be2ff5b206a8cb (diff) | |
download | ansible-5f29cd5e6053de29251944b34b7dddc8d1cece75.tar.gz |
Add validation test for new copyright (#32919)
* Update validation test for new copyright
Ensure new modules without the new copyright header fail
validation
Ensure existing modules without copyright in top 20 lines fail
* Add documentation of 108 error
Create label in developing modules documentation so that
the validation page can point to it
* Ensure new style copyright header passes test!
Diffstat (limited to 'docs/docsite/rst/dev_guide/testing_validate-modules.rst')
-rw-r--r-- | docs/docsite/rst/dev_guide/testing_validate-modules.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docsite/rst/dev_guide/testing_validate-modules.rst b/docs/docsite/rst/dev_guide/testing_validate-modules.rst index 1c8ee2f86a..625c1ed265 100644 --- a/docs/docsite/rst/dev_guide/testing_validate-modules.rst +++ b/docs/docsite/rst/dev_guide/testing_validate-modules.rst @@ -69,6 +69,7 @@ Errors 106 Import found before documentation variables. All imports must appear below ``DOCUMENTATION``/``EXAMPLES``/``RETURN``/``ANSIBLE_METADATA`` 107 Imports should be directly below ``DOCUMENTATION``/``EXAMPLES``/``RETURN``/``ANSIBLE_METADATA`` + 108 GPLv3 license header should be the :ref:`short form <copyright>` for new modules .. --------- ------------------- **2xx** **Imports** |