Project

Profile

Help

Story #7765

Pulp3 published content change

Added by chtaylo2 about 1 month ago. Updated 4 days ago.

Status:
NEW
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

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!

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
250
250

History

#1 Updated by chtaylo2 4 days 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

Please register to edit this issue

Also available in: Atom PDF