Update import paths for github.com/devfile/api to github.com/devfile/api/v2 #4346
Labels
area/dependency
Issues or PRs related to dependency changes. This label is also used on all Dependabot PRs
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/task
Issue is actionable task
priority/High
Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
We've recently updated the module path for the github.com/devfile/api Go module to now be
github.com/devfile/api/v2
, to enable us to release tagged versions of the Go module that match the Devfile schema's version (e.g. module version v2.0.0 for a 2.0.0 schema version). Some discussion on why this was needed can be found here.This doesn't need to be done immediately, but once a new version of the devfile api is pulled into odo, the import paths for the Devfile API package that odo uses will need to be updated to change instances of
import github.com/devfile/api/pkg...
in odo toimport github.com/devfile/api/v2/pkg...
. (e.g. in https://github.com/openshift/odo/blob/adaa1b44e8de5ab0aa0d357294174f8efb8bdd24/pkg/odo/cli/storage/create.go#L7 and https://github.com/openshift/odo/blob/526ce0af8ce506ea4709595a5a9abb160ea3abe1/pkg/url/status_test.go#L8, among other instances)The text was updated successfully, but these errors were encountered: