Skip to content

Removes the feature to pull all image aliases. - #10571

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

crosbymichael merged 1 commit into
moby:masterfrom
jessfraz:8689-remove-all-aliases

Conversation

@jessfraz

@jessfraz jessfraz commented Feb 4, 2015

Copy link
Copy Markdown
Contributor

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 <[email protected]> (github: jfrazelle)
@dmp42

dmp42 commented Feb 4, 2015

Copy link
Copy Markdown
Contributor

LGTM
Does open the door for major optimizations on v1.

@jessfraz

jessfraz commented Feb 5, 2015

Copy link
Copy Markdown
Contributor Author

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

tianon commented Feb 5, 2015

Copy link
Copy Markdown
Member

/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

tianon commented Feb 5, 2015

Copy link
Copy Markdown
Member

@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

jessfraz commented Feb 5, 2015

Copy link
Copy Markdown
Contributor Author

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 [email protected]
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

jessfraz commented Feb 5, 2015

Copy link
Copy Markdown
Contributor Author

you can see the original PR was #8193

On Wed, Feb 4, 2015 at 4:16 PM, Jessica Frazelle [email protected] 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 [email protected]
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

jessfraz commented Feb 5, 2015

Copy link
Copy Markdown
Contributor Author

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 [email protected] wrote:

you can see the original PR was #8193

On Wed, Feb 4, 2015 at 4:16 PM, Jessica Frazelle [email protected] 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 [email protected]
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

jessfraz commented Feb 5, 2015

Copy link
Copy Markdown
Contributor Author

ok i reopened it

On Wed, Feb 4, 2015 at 4:23 PM, Sebastiaan van Stijn <
[email protected]> 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

bobrik commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

🚢

@bobrik

bobrik commented Feb 5, 2015

Copy link
Copy Markdown
Contributor

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

bobrik commented Feb 16, 2015

Copy link
Copy Markdown
Contributor

@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