Skip to content

registryURL should a valid URL not just hostname #386

Closed
devfile/library
#76
@kadel

Description

@kadel

This discussion came up during the demo.

registryURL as name suggest should be URL. As such it should aways have a form as proto://host/path.

There are examples that show registryURL: registry.devfile.io and with the current implementations, this is valid.
Becaue it autmativalyy asumes http as proto. This is implemented in getDevfileFromRegistry function

registry.devfile.io is not a valid URL and it should not be a valid value for registryURL .
The correct and value in this case should be registryUrl: "https://registry.devfile.io"

Metadata

Metadata

Assignees

Labels

area/libraryCommon devfile library for interacting with devfiles

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions