Skip to content

Add current validation performed by the server #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,26 @@ colors`_ are supported too:

* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>

Validation
----------

When submitting a recipe, several checks are automatically executed to validate
the recipe:

* YAML files suffix must be `.yaml`, not `.yml`;
* YAML files must be valid;
* JSON files must be valid;
* Aliases are only supported in the main repository, not the contrib one;
* Aliases must not be already defined by another package;
* All versions listed in `version_aliases` and the main version should be valid;
* Version defined in the directory must be the oldest amongst those defined in `version_aliases`;
* The package must exist on Packagist;
* The package must have at least one version on Packagist;
* The package must have an MIT or BSD license;
* The package must be of type "symfony-bundle" if a bundle is registered in the manifest;
* The package must have a registered bundle in the manifest if type is "symfony-bundle";
* The package does not only register a bundle for all environments.

Full Example
------------

Expand Down