Skip to content

adding constant for annotation#1424

Merged
knative-prow-robot merged 3 commits into
knative:masterfrom
matzew:adding_constants_for_annotations
Jun 22, 2020
Merged

adding constant for annotation#1424
knative-prow-robot merged 3 commits into
knative:masterfrom
matzew:adding_constants_for_annotations

Conversation

@matzew
Copy link
Copy Markdown
Member

@matzew matzew commented Jun 18, 2020

Signed-off-by: Matthias Wessendorf mwessend@redhat.com

fixes #1407

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 18, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 18, 2020
Copy link
Copy Markdown

@devguyio devguyio 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 question , why call it annotation and not label?

Comment thread apis/duck/register.go Outdated
const (
GroupName = "duck.knative.dev"

// AddressableDuckVersionAnnotation is the annotation we use to declare
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think it's a label?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agree, "Label" is a more term.

@devguyio
Copy link
Copy Markdown

/assign

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@matzew matzew force-pushed the adding_constants_for_annotations branch from e26516b to 38ca94e Compare June 18, 2020 13:41
@devguyio
Copy link
Copy Markdown

devguyio commented Jun 18, 2020

/lgtm

Waiting for more feedback from people who're more familiar with the code base

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 18, 2020
@matzew
Copy link
Copy Markdown
Member Author

matzew commented Jun 22, 2020

@mattmoor @vaikas mind taking a looksie here ? thanks!

Comment thread apis/duck/register.go Outdated
Comment thread apis/duck/register.go Outdated
Co-authored-by: Antoine Cotten <hello@acotten.com>
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2020
Co-authored-by: Antoine Cotten <hello@acotten.com>
Copy link
Copy Markdown
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2020
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor, matzew

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

The pull request process is described here

Details 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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2020
@knative-prow-robot knative-prow-robot merged commit 98f8a94 into knative:master Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add constants for supported duck labels and annotations

6 participants