Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#15080 closed (fixed)

collectstatic with fabric example should use -v0 to speed it up

Reported by: hvdklauw Owned by: nobody
Component: Documentation Version: 1.3-beta
Severity: Keywords: staticfiles, collectstatic, fabric
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I found out that using collectstatic through fabric makes for a very slow process.
The reason is that collectstatic by default outputs all the files it's collecting, which fabric has to pipe, which makes it very slow.

The fix is simple: pass a -v0
Also a --noinput should be added because fabric doesn't support the interactivity till 1.0 is released.

I think the documentation should reflect this

Attachments (2)

15080.diff (474 bytes) - added by hvdklauw 4 years ago.
Added the -v0 and --noinput to the example
15080.2.diff (475 bytes) - added by hvdklauw 4 years ago.
Forgot a space

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by hvdklauw

Added the -v0 and --noinput to the example

Changed 4 years ago by hvdklauw

Forgot a space

comment:1 Changed 4 years ago by hvdklauw

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 4 years ago by russellm

  • Component changed from Contrib apps to Documentation
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 4 years ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

(In [15229]) Fixed #15080 - Add -v0 to collectstatic fabric example. Thanks hvdklauw.

comment:4 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top