Skip to content

Add Validation of package#97

Merged
ruflin merged 1 commit intoelastic:masterfrom
ruflin:validate-package
Sep 10, 2019
Merged

Add Validation of package#97
ruflin merged 1 commit intoelastic:masterfrom
ruflin:validate-package

Conversation

@ruflin
Copy link
Collaborator

@ruflin ruflin commented Sep 10, 2019

To make sure the registry only serves valid packages, packages should be validated during build time. For this a Package.Validate() error method was added. For not it is simple and only checks for title and description but more checks should be added in the future.

The packages which were not valid were updated.

To make sure the registry only serves valid packages, packages should be validated during build time. For this a `Package.Validate() error` method was added. For not it is simple and only checks for title and description but more checks should be added in the future.

The packages which were not valid were updated.
@ruflin
Copy link
Collaborator Author

ruflin commented Sep 10, 2019

@jsoriano I expect we will also be able to use this as part of a validation step in elastic/integrations#3 Might also become part of this "magical" binary ;-)

@ruflin ruflin merged commit 1489213 into elastic:master Sep 10, 2019
@ruflin ruflin deleted the validate-package branch September 10, 2019 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant