Project

Profile

Help

Task #2848

closed

remove tag and name field on the Manifest model

Added by ipanova@redhat.com almost 5 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.14.0
Target Release - Docker:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 22
Quarter:

Description

Manifest model contains 2 fields name and tag which needs to be removed because they are misleading, we have a separate collection Tag to deal with that.

There can be situation when an image manifest can have several tags. Imagine the tags are : foo, bar, latest.

We would be able to save in DB just one record of the image manifest and it will have in the tag field 'foo'.
Meanwhile we will have 3 records in the Tag model.

When user will try into search for manifests with tag latest he would be able to query Manifest model and look at tag field which is lying. We even say so in docs, which is wrong, we would need to update the docs as well and encourage user to search through tags http://docs.pulpproject.org/plugins/pulp_docker/user-guide/recipes.html#tagging-a-manifest

1. remove tag and name field on the manifest model
2. write a migration which would remove those fields for present data in db

Actions #1

Updated by ttereshc almost 5 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0

Added by ipanova@redhat.com almost 5 years ago

Revision 5cde929f

As a user I can sync manifest lists.

closes #2384 https://pulp.plan.io/issues/2384

Actions #2

Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from NEW to POST
  • Assignee set to ipanova@redhat.com
  • Sprint/Milestone set to 41
Actions #3

Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by pcreech almost 5 years ago

  • Platform Release set to 2.14.0
Actions #5

Updated by pcreech almost 5 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by pcreech almost 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #7

Updated by bmbouter about 4 years ago

  • Sprint set to Sprint 22
Actions #8

Updated by bmbouter about 4 years ago

  • Sprint/Milestone deleted (41)
Actions #9

Updated by bmbouter about 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF