Project

Profile

Help

Network maintenance. Planio will be observing two scheduled maintenance windows this Tuesday, March 2 and Wednesday, March 3 from 02:00 UTC until 06:00 UTC each in order to perform maintenance on access routers in our primary datacenter. Your account might observe short downtimes during these periods up to several minutes at a time.

Story #1512

As a user, I can explore a yum repository via a browser

Added by jcline@redhat.com about 5 years ago. Updated almost 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

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

Description

Since we've moved to serving all our files with mod_xsendfile and passing all requests to the content WSGI application, the web browser experience is not good. Error pages are vague (for 4XX HTTP codes) and there is no directory indexes. This is not required for the repositories to work, but is a very nice thing to have.

I'm not sure if Django provides easy ways to do directory indexes, but adding better error pages should be straight-forward. The content WSGI app is contained in platform's server/pulp/server/content/web/ directory.

Associated revisions

Revision 5aa23403 View on GitHub
Added by Jeremy Cline about 5 years ago

Create a simple directory index for the content.wsgi app.

In the past we were able to use Apache's directory index feature. However, for lazy content we pass the request through to the content WSGI application and are unable to use this feature. This introduces a simple template that lists the directories and files within a requested directory, as well as clear HTTP 404 and HTTP 500 error pages.

closes #1512

Revision 5aa23403 View on GitHub
Added by Jeremy Cline about 5 years ago

Create a simple directory index for the content.wsgi app.

In the past we were able to use Apache's directory index feature. However, for lazy content we pass the request through to the content WSGI application and are unable to use this feature. This introduces a simple template that lists the directories and files within a requested directory, as well as clear HTTP 404 and HTTP 500 error pages.

closes #1512

History

#1 Updated by mhrivnak about 5 years ago

  • Tracker changed from Issue to Story
  • Subject changed from With the content WSGI app, exploring a repository via a browser is no fun. to As a user, I can explore a yum repository via a browser
  • Priority changed from Normal to High
  • Groomed set to Yes
  • Sprint Candidate set to Yes

#2 Updated by jcline@redhat.com about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jcline@redhat.com

#3 Updated by jcline@redhat.com about 5 years ago

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

#4 Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED

#5 Updated by rbarlow about 5 years ago

  • Platform Release set to 2.8.0

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

  • Status changed from MODIFIED to 5

#7 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter almost 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF