Skip to content

Removes the feature to pull all image aliases.#10571

Merged
crosbymichael merged 1 commit intomoby:masterfrom
jessfraz:8689-remove-all-aliases
Feb 16, 2015
Merged

Removes the feature to pull all image aliases.#10571
crosbymichael merged 1 commit intomoby:masterfrom
jessfraz:8689-remove-all-aliases

Conversation

@jessfraz
Copy link
Copy Markdown
Contributor

@jessfraz jessfraz commented Feb 4, 2015

It didn't work on v2 anyways. And an image with a lot of aliases was slow to
fetch.

Closes #8689

It didn't work on v2 anyways. And an image with a lot of aliases was slow to
fetch.

Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <princess@docker.com> (github: jfrazelle)
@dmp42
Copy link
Copy Markdown
Contributor

dmp42 commented Feb 4, 2015

LGTM
Does open the door for major optimizations on v1.

@jessfraz
Copy link
Copy Markdown
Contributor Author

jessfraz commented Feb 5, 2015

ping @tianon bc i know you liked this feature but we may as well be consistent

@thaJeztah
Copy link
Copy Markdown
Member

😢 but fair. Does this also prevent docker from querying all the tags from the registry? That was the reason this came up again.

@tianon
Copy link
Copy Markdown
Member

tianon commented Feb 5, 2015

/me sheds some tears 😢

If we're not getting it in v2 though, let's remove it for sure.

@thaJeztah
Copy link
Copy Markdown
Member

/me shares hanky with @tianon

@tianon
Copy link
Copy Markdown
Member

tianon commented Feb 5, 2015

@thaJeztah no -- @jfrazelle coded this feature up originally just because we were already receiving the data for all tags, regardless of only having pulled one, so it was trivial to implement

@thaJeztah
Copy link
Copy Markdown
Member

Yes, that was what I thought at the time, but #10563 mentions that because of this all tags are queried in the registry. Reading this change again, doesn't seem to solve that?

@jessfraz
Copy link
Copy Markdown
Contributor Author

jessfraz commented Feb 5, 2015

It allows the registry team to implement some enhancements so maybe we
don't get data on all tags anymore, the feature however did not originally include
that, I could look into how to possibly remove it but am not as familiar

On Wed, Feb 4, 2015 at 4:12 PM, Tianon Gravi notifications@github.com
wrote:

@thaJeztah https://github.com/thaJeztah no -- @jfrazelle
https://github.com/jfrazelle coded this feature up originally just
because we were already receiving the data for all tags, regardless of only
having pulled one, so it was trivial to implement


Reply to this email directly or view it on GitHub
#10571 (comment).

@jessfraz
Copy link
Copy Markdown
Contributor Author

jessfraz commented Feb 5, 2015

you can see the original PR was #8193

On Wed, Feb 4, 2015 at 4:16 PM, Jessica Frazelle jess@docker.com wrote:

It allows the registry team to implement some enhancements so maybe we
don't pull all tags anymore, the feature however did not originally include
that, I could look into how to possibly remove it but am not as familiar

On Wed, Feb 4, 2015 at 4:12 PM, Tianon Gravi notifications@github.com
wrote:

@thaJeztah https://github.com/thaJeztah no -- @jfrazelle
https://github.com/jfrazelle coded this feature up originally just
because we were already receiving the data for all tags, regardless of only
having pulled one, so it was trivial to implement


Reply to this email directly or view it on GitHub
#10571 (comment).

@jessfraz
Copy link
Copy Markdown
Contributor Author

jessfraz commented Feb 5, 2015

We were pulling information on all tags regardless of the feature being
implemented. Just to clear that up.

On Wed, Feb 4, 2015 at 4:17 PM, Jessica Frazelle jess@docker.com wrote:

you can see the original PR was #8193

On Wed, Feb 4, 2015 at 4:16 PM, Jessica Frazelle jess@docker.com wrote:

It allows the registry team to implement some enhancements so maybe we
don't pull all tags anymore, the feature however did not originally include
that, I could look into how to possibly remove it but am not as familiar

On Wed, Feb 4, 2015 at 4:12 PM, Tianon Gravi notifications@github.com
wrote:

@thaJeztah https://github.com/thaJeztah no -- @jfrazelle
https://github.com/jfrazelle coded this feature up originally just
because we were already receiving the data for all tags, regardless of only
having pulled one, so it was trivial to implement


Reply to this email directly or view it on GitHub
#10571 (comment).

@thaJeztah
Copy link
Copy Markdown
Member

Perhaps #10563 shouldn't be closed then (it may have to be re-worded), because that is about hitting the registry to fetch all tags and images in the repository (which won't be solved by this PR)

@jessfraz
Copy link
Copy Markdown
Contributor Author

jessfraz commented Feb 5, 2015

ok i reopened it

On Wed, Feb 4, 2015 at 4:23 PM, Sebastiaan van Stijn <
notifications@github.com> wrote:

Perhaps #10563 #10563 shouldn't
be closed then (it may have to be re-worded), because that is about hitting
the registry to fetch all tags and images in the repository (which won't be
solved by this PR)


Reply to this email directly or view it on GitHub
#10571 (comment).

@thaJeztah
Copy link
Copy Markdown
Member

Thanks! Just to prevent it getting out of sight

@bobrik
Copy link
Copy Markdown
Contributor

bobrik commented Feb 5, 2015

🚢

@bobrik
Copy link
Copy Markdown
Contributor

bobrik commented Feb 5, 2015

It would be awesome to see this in 1.5.0.

@tiborvass tiborvass modified the milestones: 1.5.1, 1.6.0 Feb 6, 2015
@tiborvass tiborvass added the UX label Feb 6, 2015
@jessfraz
Copy link
Copy Markdown
Contributor Author

ping @icecrime @crosbymichael :D

@crosbymichael
Copy link
Copy Markdown
Contributor

LGTM

crosbymichael added a commit that referenced this pull request Feb 16, 2015
Removes the feature to pull all image aliases.
@crosbymichael crosbymichael merged commit 9ea20f2 into moby:master Feb 16, 2015
@jessfraz jessfraz deleted the 8689-remove-all-aliases branch February 16, 2015 18:33
@bobrik
Copy link
Copy Markdown
Contributor

bobrik commented Feb 16, 2015

@jfrazelle is it going to be included in 1.5.1?

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.

"docker pull library-image:tag" doesn't pull all aliases

8 participants