Project

Profile

Help

Story #1179

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

As a developer I can receive headers while using download_one()

Added by bmbouter about 5 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Platform Release:
Target Release - Nectar:
1.4.4
Groomed:
No
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:

Description

While using download_one() a developer should be able to receive the headers that were delivered with the download. These headers should be able to be given the developer as soon as nectar receives them and before any data is written to the download request.

On possible implementation would be to add the ability to register a callback which will pass the headers as arguments as soon as they are known. The developer could register this callback before initiating the download request. Another approach may be to store the headers in the download request but this needs to be done in a structured way and must be available before the data is written to the download request.


Checklist


Related issues

Blocks Pulp - Task #1195: Develop the pulp-streamerCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 3010bf62 View on GitHub
Added by ipanova@redhat.com about 5 years ago

As a developer I can receive headers while using download_one()

re #1179 https://pulp.plan.io/issues/1179

History

#1 Updated by bmbouter about 5 years ago

  • Parent task set to #1150

#2 Updated by bmbouter about 5 years ago

  • Blocks Task #1195: Develop the pulp-streamer added

#3 Updated by mhrivnak about 5 years ago

  • Sprint Candidate changed from No to Yes

#4 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Target Release - Nectar set to master

#5 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from ASSIGNED to POST

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

  • Checklist item changed from [ ] Implement the ability to have the headers accessible before data is written, [ ] Add docs on the usage of this feature, [ ] Once merged this needs to be built scratch built in Koji, [ ] Update Pulp 2.8.0 so that it carries this new version of Nectar to [x] Implement the ability to have the headers accessible before data is written, [x] Add docs on the usage of this feature, [ ] Once merged this needs to be built scratch built in Koji, [ ] Update Pulp 2.8.0 so that it carries this new version of Nectar

#7 Updated by ipanova@redhat.com about 5 years ago

  • Checklist item changed from [ ] Once merged this needs to be built scratch built in Koji to [x] Once merged this needs to be built scratch built in Koji

#8 Updated by ipanova@redhat.com about 5 years ago

  • Checklist item changed from [ ] Update Pulp 2.8.0 so that it carries this new version of Nectar to [x] Update Pulp 2.8.0 so that it carries this new version of Nectar

#9 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from POST to MODIFIED

#10 Updated by ipanova@redhat.com about 5 years ago

  • % Done changed from 0 to 100

#11 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from MODIFIED to POST

#12 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED

#13 Updated by rbarlow over 4 years ago

  • Target Release - Nectar changed from master to 1.4.4

#14 Updated by rbarlow over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#15 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF