Project

Profile

Help

Task #1302

Story #1150: As a user, I can lazily fetch repositories

Track whether unit has downloaded content.

Added by jortel@redhat.com about 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

We need to track whether a unit has its associated content downloaded (or not). We need to add a property to the ContentUnit model object. Something like: downloaded (boolean). The set_content() method can set this property to TRUE. This property needs to default to FALSE be added to the indexes.

Do we need to add a migration for this?


Checklist

Associated revisions

Revision 916a2a01 View on GitHub
Added by jortel@redhat.com almost 6 years ago

ref #1302 - add downloaded field to file content unit.

Revision 916a2a01 View on GitHub
Added by jortel@redhat.com almost 6 years ago

ref #1302 - add downloaded field to file content unit.

History

#1 Updated by jcline@redhat.com about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jcline@redhat.com

#2 Updated by jortel@redhat.com almost 6 years ago

  • Assignee changed from jcline@redhat.com to jortel@redhat.com

#3 Updated by jortel@redhat.com almost 6 years ago

  • Status changed from ASSIGNED to POST

#4 Updated by jortel@redhat.com almost 6 years ago

  • Checklist item deleted (Migration for existing units.)
  • Checklist item Add the downloaded property set to Done
  • Checklist item Update set_content() to set to TRUE set to Done
  • Checklist item Add to indexes set to Done

#5 Updated by ipanova@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED

#6 Updated by jortel@redhat.com almost 6 years ago

  • Status changed from MODIFIED to POST

Moving back to POST because it's been merged to the lazy-content feature branch but not yet merged to a build branch.

#7 Updated by jcline@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by rbarlow over 5 years ago

  • Status changed from MODIFIED to 5
  • Platform Release set to 2.8.0

#9 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF