Project

Profile

Help

Story #6578

closed

Provide HTTP header with SHA sum of the content

Added by lzap@redhat.com over 4 years ago. Updated almost 3 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1886":https://github.com/pulp/pulpcore/issues/1886


Hello,

Lukáš from Satellite engineering here. We struggle for many years with (re)downloading of initram and kernel from kickstart trees. We need to redownload them every provisioning to find if something changed (new Anconda). I tried to play around with HTTP ETag header but it looks like the best fit for our case (naming downloaded file in unique way) would be if Pulp (or Apache) could report file checksum via HTTP header (SHA or anything pretty much) or any kind of unique id that is associated with the contents.

This way we could do HTTP HEAD to get unique identifier of the kickstart files to:

  1. See if the content has changed and it needs to be redownloaded.
  2. Generate unique file name to store the files in the TFTP directory.

Is this something that could be implemented?

Actions #2

Updated by bmbouter over 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Actions #3

Updated by dkliban@redhat.com almost 4 years ago

  • Tracker changed from Task to Story
Actions #4

Updated by pulpbot almost 3 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF