Consider moving the Devfile Parser to the top level and update the Parse function also validate #2669
Labels
area/devfile-spec
Issues or PRs related to the Devfile specification and how odo handles and interprets it.
kind/feature
Categorizes issue as a feature request. For PRs, that means that the PR is the implementation
kind/user-story
An issue of user-story kind
Projects
Which functionality do you think we should add?
We can consider moving pkg/devfile/parser and pkg/devfile/versions to a top-level folder since it seems like it could be moved to a separate repo altogether and so should be more decoupled from the odo code. Maybe pkg/parser or pkg/devfile-parser so it will make it easier to separate it out later?
#2629 removed some validation code. Maybe we can add it back to a new package like pkg/devfile/validation that lives within the odo code. I'm thinking for odo we'd want the pkg/devfile/Parse function to still validate but just call the validation from an odo package.
This is based on a previous comment: #2629 (comment)
/kind user-story
/area devfile
/remove kind user-story
The text was updated successfully, but these errors were encountered: