Project

Profile

Help

Story #7765

closed

Pulp3 published content change

Added by chtaylo2 over 3 years ago. Updated over 2 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/1940":https://github.com/pulp/pulpcore/issues/1940


In Pulp2, yum_distributor created a directory tree structure under “/var/lib/pulp/published/yum/https/repos/”. This allowed exposing this directory via directory indexing and while this allowed for custom pages, more importantly, allowed easy page navigation and viewing file dates.

In Pulp3, manual https navigation of content is dynamically generated using gunicorn and only shows the file names.

Would like to request the web browsing portion include similar features as in directory indexing:

1.) Parent Directory Navigation 2.) File date - I'd recommend the date the file was imported into the system 3.) Size of the file 4.) Stretch goal - sorting like available in directory indexing

I've attached a couple screenshots from Pulp2 as references.

Thanks!


Files

repo_indexing.png (177 KB) repo_indexing.png chtaylo2, 10/28/2020 09:43 PM
rpm_indexing.png (129 KB) rpm_indexing.png chtaylo2, 10/28/2020 09:43 PM
Actions #1

Updated by chtaylo2 over 3 years ago

Ideally, pulling the timestamp and size_package from rpm_package:

pulp=# select name, size_package, time_file from rpm_package where name LIKE '%kernel-doc%';
    name    | size_package | time_file
------------+--------------+------------
 kernel-doc |     20349196 | 1589288074
Actions #2

Updated by pulpbot over 2 years ago

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

Also available in: Atom PDF