Skip to content

imagerepos broken for multiple tags w/ same imageid #1154

Closed

Description

@bparees

This commit: 361cdea#diff-5471a801fd55d5af2f431056b6d24254

appears to have made it such that you can't push two different tags for the same image...(ie tag an image as "test" and then later push a prod tag for that same image).

You can see here that my repo does not contain the prod tag, and the json for what is being pushed does contain the prod tag, yet it gets rejected as being identical:
https://gist.github.com/bparees/5235b5bbccad7a78a44d

@smarterclayton @ncdc

Activity

  1. smarterclayton commented on Feb 26, 2015

    @smarterclayton
    Contributor

    We should definitely let you tag it multiple times, just not create it (filter out duplicates). Creating one that already exists and is identical should be "success"

    On Feb 25, 2015, at 6:32 PM, Ben Parees [email protected] wrote:

    This commit: 361cdea#diff-5471a801fd55d5af2f431056b6d24254

    appears to have made it such that you can't push two different tags for the same image...(ie tag an image as "test" and then later push a prod tag for that same image).

    You can see here that my repo does not contain the prod tag, and the json for what is being pushed does contain the prod tag, yet it gets rejected as being identical:
    https://gist.github.com/bparees/5235b5bbccad7a78a44d

    @smarterclayton @ncdc

    —
    Reply to this email directly or view it on GitHub.

  2. ncdc commented on Feb 26, 2015

    @ncdc
    Contributor

    I have a fix for this

  3. ncdc commented on Feb 26, 2015

    @ncdc
    Contributor

    It's part of a larger refactoring effort, however. I'll try to submit a PR today.

  4. smarterclayton commented on Feb 26, 2015

    @smarterclayton
    Contributor

    Do we need larger refactors right before beta2? The answer can be yes if the arguments are good enough :)

    On Feb 26, 2015, at 5:58 AM, Andy Goldstein [email protected] wrote:

    It's part of a larger refactoring effort, however. I'll try to submit a PR today.

    —
    Reply to this email directly or view it on GitHub.

  5. ncdc commented on Feb 26, 2015

    @ncdc
    Contributor

    I've got a small PR to fix this coming right up in a few minutes :-)

  6. added 3 commits that reference this issue on Feb 26, 2015
    1038039
    ed8199d
    a9c9d5f
  7. added a commit that references this issue on Feb 26, 2015
    1f7365b
  8. added a commit that references this issue on Feb 27, 2015
    be9da9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions