Skip to content
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

Golang library for validating package against specs #5

Closed
wants to merge 70 commits into from
Closed

Golang library for validating package against specs #5

wants to merge 70 commits into from

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jul 30, 2020

This PR is replaced by #10.

This PR creates a go module that provides an API for validating a package against the appropriate specification version. The API is as follows:

import "github.com/elastic/package-spec/code/go/pkg/validator"

validationErrs := validator.ValidateFromPath("/path/to/package/root/folder")

where validationErrs will implement the error interface type.

Resolves #4.

Author TODO

  • Implement scaffolding
  • Implement folder structure validation
  • Implement file content validation

@ycombinator ycombinator mentioned this pull request Jul 31, 2020
7 tasks
@ycombinator ycombinator closed this Aug 6, 2020
@ycombinator
Copy link
Contributor Author

Replaced by #10.

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.

Create golang library for validating packages against specs
2 participants