mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
New metadata 1.0 (#22587)
Changes to the metadata format were approved here: https://github.com/ansible/proposals/issues/54 * Update documentation to the new metadata format * Changes to metadata-tool to account for new metadata * Add GPL license header * Add upgrade subcommand to upgrade metadata version * Change default metadata to the new format * Fix exclusion of non-modules from the metadata report * Fix ansible-doc for new module metadata * Exclude metadata version from ansible-doc output * Fix website docs generation for the new metadata * Update metadata schema in valiate-modules test * Update the metadata in all modules to the new version
This commit is contained in:
parent
2be3418a81
commit
eb1214baad
1038 changed files with 4298 additions and 3219 deletions
|
@ -75,9 +75,8 @@ def metadata_schema(deprecated):
|
|||
return Schema(
|
||||
{
|
||||
Required('status'): [valid_status],
|
||||
Required('version'): '1.0',
|
||||
Required('supported_by'): Any('core', 'community', 'unmaintained',
|
||||
'committer')
|
||||
Required('metadata_version'): '1.0',
|
||||
Required('supported_by'): Any('core', 'community', 'curated')
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue