Project

Profile

Help

Story #189

Repoview-like functionality for browsing repositories via the web interface

Added by jperrin@centos.org almost 7 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Platform Release:
2.9.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 3
Quarter:

Description

If one browses browses the pulp-server via http(s), they get a directory list of packages. This can take a long time, as apache has to stat every single link in the directory. By adding repoview or similar functionality, this load is greatly reduced, and searching for a specific package becomes quite a bit easier.

It would make this workflow better:

1. install pulp server
2. Sync rhel or centos base repo
3. browse http://pulpserver/pulp/repo/
4. cry at how long it takes for the page to load.

Instead of crying at step 4 the user would receive a simple, clean interface.

Associated revisions

History

#1 Updated by kfiresmith almost 6 years ago

I too would like this functionality "built into" Pulp, even if it's just done by way of documenting how to effectively use repoview alongside pulp repos. All the better if it's simply done via some wrapper function in $(pulp-admin rpm repo publish run) that creates repoview views if not there already and refreshes them if they already exist.

#2 Updated by bmbouter almost 6 years ago

  • Subject changed from [RFE] repoview-like functionality for browsing repositories via the web interface to Repoview-like functionality for browsing repositories via the web interface

#3 Updated by bmbouter almost 6 years ago

  • Description updated (diff)
  • Priority changed from Low to Normal

#4 Updated by ehelms@redhat.com over 5 years ago

Since there is no voting plugin enabled, consider this a +1 from myself and the Katello project. With the new lazy sync view, we miss being able to see stats such as date modified and a cleaner browsing experience for yum repos.

#5 Updated by mhrivnak over 5 years ago

  • Sprint/Milestone set to 21
  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#6 Updated by jcline@redhat.com over 5 years ago

  • Checklist item Call out to repoview after a publish is finished if configured added
  • Checklist item Add --repoview flag to pulp-admin (which implies --generate-sqlite) added
  • Checklist item Tweak the content.wsgi app to serve index.html if it's present in a directory added
  • Checklist item Add a release note added
  • Project changed from Pulp to RPM Support
  • Sprint/Milestone deleted (21)

I've moved this to the RPM project since repoview is RPM-specific. I'd love us to have a good general solution for static indexes of any repository type, but repoview is super cool, looks great, and provides much more than just an index, so our rpm plugin should use it.

It would be pretty straight-forward (I think) to make use of repoview to optionally generate the static view. I say optionally because repoview needs SQLite databases, which are not generated by default. I'm not certain why it only works with SQLite, but maybe we could contribute to upstream at some point to make it work with XML as well!

#7 Updated by jcline@redhat.com over 5 years ago

  • Sprint/Milestone set to 21

#8 Updated by ttereshc over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#9 Updated by ttereshc over 5 years ago

  • Checklist item Call out to repoview after a publish is finished if configured set to Done
  • Checklist item Add --repoview flag to pulp-admin (which implies --generate-sqlite) set to Done
  • Checklist item Tweak the content.wsgi app to serve index.html if it's present in a directory set to Done
  • Checklist item Add a release note set to Done
  • Status changed from ASSIGNED to POST

#10 Updated by kfiresmith over 5 years ago

This is seriously awesome. Thanks ttereshc and jcline!

#11 Updated by ttereshc over 5 years ago

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

#12 Updated by ttereshc over 5 years ago

  • Platform Release set to 2.9.0

#13 Updated by semyers over 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#14 Updated by bmbouter almost 4 years ago

  • Sprint set to Sprint 3

#15 Updated by bmbouter almost 4 years ago

  • Sprint/Milestone deleted (21)

#16 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF