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

feat(pkger): extend tasks with ability to define and rename it #17353

Merged
merged 2 commits into from
Mar 19, 2020

Conversation

jsteenb2
Copy link
Contributor

@jsteenb2 jsteenb2 commented Mar 19, 2020

closes: #17233

@jsteenb2 jsteenb2 requested a review from a team as a code owner March 19, 2020 16:43
@jsteenb2 jsteenb2 requested review from imogenkinsman and removed request for a team March 19, 2020 16:43
pkger/models.go Outdated
@@ -1897,6 +1898,13 @@ func (t *task) Labels() []*label {
}

func (t *task) Name() string {
if displayName := t.displayName.String(); displayName != "" {
Copy link
Contributor

@kelwang kelwang Mar 19, 2020

Choose a reason for hiding this comment

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

we should make an abstract struct for this. something like a basePkger

Copy link
Contributor

@kelwang kelwang left a comment

Choose a reason for hiding this comment

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

just a small suggestion

@jsteenb2 jsteenb2 force-pushed the 17233/pkger_resource_uniq_by_name branch 5 times, most recently from cb99c7f to 22ed9ea Compare March 19, 2020 17:28
@jsteenb2 jsteenb2 force-pushed the 17233/pkger_resource_uniq_by_name branch from 22ed9ea to b78ec52 Compare March 19, 2020 17:29
@jsteenb2 jsteenb2 merged commit 74dd839 into master Mar 19, 2020
@jsteenb2 jsteenb2 deleted the 17233/pkger_resource_uniq_by_name branch March 19, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pkger resources are unique by name in pkg
2 participants