Skip to content

Remove WriteJsonDevfile() from library writer #521

@yangcao77

Description

@yangcao77

Which area/kind this issue is related to?
/area library

Issue Description

The WriteJsonDevfile() function was copied from Odo, but nobody has ever used it.
https://github.com/devfile/library/blob/bb25787c897caf982fde9c3507ac27177b406267/pkg/devfile/parser/writer.go#L14

We have never encourage the use of devfile.json file, and it is not documented as a valid devfile usage.
This function should be removed to prevent from further confusion.

Metadata

Metadata

Assignees

Labels

area/libraryCommon devfile library for interacting with devfiles

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions