Project

Profile

Help

Story #4180

closed

As a user, Pulp will serve Pulp's static content natively without extra configuration

Added by bmbouter over 5 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 47
Quarter:

Description

This was originally discussed on this mailing list thread:

https://www.redhat.com/archives/pulp-dev/2018-October/msg00034.html

Problem

Users have to deploy a webserver and configure it if they want to deploy Pulp with any static media. This is a barrier to usage.

Solution

Adopt "whitenoise" as a dependency and have Pulp auto-configured to collect and serve static media with it. The static media can line in a place like: /var/lib/pulp/static/

Actions #1

Updated by bmbouter over 5 years ago

  • Tags Pulp 3 RC Blocker added

I think this is an RC blocker. I'm adding the tag so we can review at the next RC blocker checkin.

Actions #2

Updated by dkliban@redhat.com over 5 years ago

  • Description updated (diff)
  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #3

Updated by bmbouter over 5 years ago

  • Sprint set to Sprint 47
Actions #4

Updated by dkliban@redhat.com over 5 years ago

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

Added by dkliban@redhat.com over 5 years ago

Revision aa79d05c | View on GitHub

Problem: static files are not available on user installs

Solution: collect static files before releasing to PyPI

This patch adds the 'whitenoise' middleware that serves static content for Pulp. 'whitenoise' is configured to serve static content found in pulpcore/app/static directory. This means that after installing pulp, the user will need to run the 'pulp-manager collectstatic' command to get all the static content into the directory.

closes #4180 https://pulp.plan.io/issues/4180

Added by dkliban@redhat.com over 5 years ago

Revision aa79d05c | View on GitHub

Problem: static files are not available on user installs

Solution: collect static files before releasing to PyPI

This patch adds the 'whitenoise' middleware that serves static content for Pulp. 'whitenoise' is configured to serve static content found in pulpcore/app/static directory. This means that after installing pulp, the user will need to run the 'pulp-manager collectstatic' command to get all the static content into the directory.

closes #4180 https://pulp.plan.io/issues/4180

Actions #5

Updated by dkliban@redhat.com over 5 years ago

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

Added by dkliban@redhat.com over 5 years ago

Revision f9dfe969 | View on GitHub

Adds 'collectstatic' task to the configuration of Pulp

re #4180 https://pulp.plan.io/issues/4180

Added by dkliban@redhat.com over 5 years ago

Revision f9dfe969 | View on GitHub

Adds 'collectstatic' task to the configuration of Pulp

re #4180 https://pulp.plan.io/issues/4180

Added by bmbouter about 5 years ago

Revision d0af336f | View on GitHub

Whitenoise should not write to python dir

When running the whitenoise command it was writing to the python path which it should not be able to do.

https://pulp.plan.io/issues/4180 closes #4180

Added by bmbouter about 5 years ago

Revision d0af336f | View on GitHub

Whitenoise should not write to python dir

When running the whitenoise command it was writing to the python path which it should not be able to do.

https://pulp.plan.io/issues/4180 closes #4180

Actions #8

Updated by bmbouter about 5 years ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by daviddavis almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #10

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)
Actions #11

Updated by bmbouter over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF