Skip to content

Conversation

@dalanlan
Copy link
Contributor

part of #12151
remove job from tag
Signed-off-by: Simei He hesimei@zju.edu.cn

@dalanlan
Copy link
Contributor Author

ping @tiborvass
plz kindly have a check :)

graph/tag.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we call it just Tag?

@dalanlan
Copy link
Contributor Author

@LK4D4 Fixed now:)

@LK4D4
Copy link
Contributor

LK4D4 commented Apr 18, 2015

@dalanlan Is tests already in integration-cli?

@dalanlan
Copy link
Contributor Author

Yep @LK4D4
See also Console Output
[PASSED]: tag - busybox -> testfoobarbaz
[PASSED]: tag - busybox's image ID -> testfoobarbaz
[PASSED]: tag - busybox invalid repo names --> must not work
[PASSED]: tag - busybox with invalid repo:tagnames --> must not work
[PASSED]: tag - tag valid prefixed repo
[PASSED]: tag - busybox with an existed tag name without -f option --> must not
[PASSED]: tag - busybox with an existed tag name with -f option work
[PASSED]: tag - tag official names

graph/tag.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth even keeping this file around any more? The only value I see here is the name Tag() instead of Set() - which better aligns with what an end user sees. Perhaps we could remove this file and rename tags.go's Set() to Tag() - since its just a wrapper for SetLoad().
@LK4D4 what do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense!

@duglin
Copy link
Contributor

duglin commented Apr 18, 2015

Aside from my one minor comment, it looks good.

@dalanlan
Copy link
Contributor Author

@duglin @LK4D4
updated :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I see the other 2 tests in integration-cli, but I'm not sure I see this one. Do you see it?

Copy link
Member

Choose a reason for hiding this comment

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

@duglin It's in there in the containers_api test.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not seeing it - must be blind. Got a URL?

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, it's in the run tests now, and there is a PR to move it to API tests...
https://github.com/docker/docker/blob/master/integration-cli/docker_cli_run_test.go#L3500

Copy link
Contributor

Choose a reason for hiding this comment

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

ok thanks

@duglin
Copy link
Contributor

duglin commented Apr 19, 2015

Please squash the commits down to one.
Aside from my on question about the test, it looks good.

Signed-off-by: Simei He <hesimei@zju.edu.cn>
@cpuguy83
Copy link
Member

LGTM

1 similar comment
@duglin
Copy link
Contributor

duglin commented Apr 19, 2015

LGTM

duglin added a commit that referenced this pull request Apr 19, 2015
@duglin duglin merged commit b1d8ae3 into moby:master Apr 19, 2015
@dalanlan dalanlan deleted the remove_job_from_tag branch April 21, 2015 11:24
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.

6 participants