Skip to content

Restructure Parser Packages and Rename devfile/parser  #193

@adisky

Description

@adisky

Is your task related to a problem? Please describe.

As the current code is imported from odo, It is following the same structure here

if we want to consume the parser functions, we need to do import github.com/devfile/parser/pkg/devfile/parser which looks redundant.

Describe the solution you'd like

  • Rename devfile/parser to devfile/library
    devfile/parser ----> `devfile/library

  • Reconsider the structure, a rough idea

devfile/library
- pkg/                   // all we want to expose as library
     - parser/
     - validate/
     - generator/
     - utils/
- tests/
- utils/                // internal utils
- vendor/

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.

    Type

    No type

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions