Project

Profile

Help

Story #1512

closed

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

Added by jcline@redhat.com over 8 years ago. Updated about 5 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.

Actions #1

Updated by mhrivnak over 8 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
Actions #2

Updated by jcline@redhat.com about 8 years ago

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

Updated by jcline@redhat.com about 8 years ago

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

Added by Jeremy Cline about 8 years ago

Revision 5aa23403 | View on GitHub

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

Added by Jeremy Cline about 8 years ago

Revision 5aa23403 | View on GitHub

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

Actions #4

Updated by Anonymous about 8 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by rbarlow about 8 years ago

  • Platform Release set to 2.8.0
Actions #6

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from MODIFIED to 5
Actions #7

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #8

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF