Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add supportURL and provider in metadata, update some description #601

Merged
merged 3 commits into from
Sep 7, 2021

Conversation

yangcao77
Copy link
Contributor

Signed-off-by: Stephanie yangcao@redhat.com

What does this PR do?:

This PR adds provider & supportURL as optional fields in devfile metadata, to allow to include provider and support information of stacks/samples

This PR also updated some description to fix #522 and #536

Which issue(s) this PR fixes:

#539
Fixes #522
Fixes #536

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

  • Open new test/doc issues under the devfile/api repo
  • Check each criteria if:
  • There is a separate tracking issue. Add the issue link under the criteria
    or
  • test/doc updates are made as part of this PR
  • If unchecked, explain why it's not needed

How to test changes / Special notes to the reviewer:

Signed-off-by: Stephanie <yangcao@redhat.com>
@yangcao77 yangcao77 force-pushed the 539-add-provider-and-supportURL branch from 17549c8 to 087ec3d Compare August 30, 2021 18:05
Copy link
Member

@johnmcollier johnmcollier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me. Left one comment/suggestion.

@@ -109,7 +109,8 @@ type GitLikeProjectSource struct {
// +optional
CheckoutFrom *CheckoutFrom `json:"checkoutFrom,omitempty"`

// The remotes map which should be initialized in the git project. Must have at least one remote configured
// The remotes map which should be initialized in the git project.
// Projects must have at least one remote configured while StarterProjects can only have at most one remote configured.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this comment be added to the StarterProject and Project structs as well (over ProjectSource maybe)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYM? should it already included? since StarterProject/Projects.ProjectSource references GitLikeProjectSource

Signed-off-by: Stephanie <yangcao@redhat.com>
@yangcao77 yangcao77 force-pushed the 539-add-provider-and-supportURL branch from 6b5d4d7 to 1536acc Compare September 3, 2021 20:36
@openshift-ci openshift-ci bot removed the lgtm label Sep 3, 2021
pkg/apis/workspaces/v1alpha2/import_reference.go Outdated Show resolved Hide resolved
pkg/devfile/header.go Outdated Show resolved Hide resolved
Signed-off-by: Stephanie <yangcao@redhat.com>
Copy link
Contributor

@amisevsk amisevsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@openshift-ci
Copy link

openshift-ci bot commented Sep 7, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amisevsk, johnmcollier, yangcao77

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yangcao77 yangcao77 merged commit 96ab67b into devfile:main Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants