Add a command to install the extension media of an extension

Review Request #7627 — Created Sept. 13, 2015 and submitted

Information

Djblets
master

Reviewers

Previously, there was no way to install the media of an extension
outside if its intsall procedure. Now there is a management command,
install-extension-media, that will install the extension media of an
extension. This behaviour can be forced (e.g., if the extension is
already installed) with the --force option. Either a single
extension's media will be installed (if --extension-id is provided),
or the extension media of all extensions will be installed.

Installed the extension media for a single extension and all enabled
extensions. Verified --force forces installation.

Description From Last Updated

Col: 9 E123 closing bracket does not match indentation of opening bracket's line

reviewbotreviewbot

Col: 1 W293 blank line contains whitespace

reviewbotreviewbot

Col: 13 E303 too many blank lines (2)

reviewbotreviewbot

Missing a period. Also, should be "ID".

chipx86chipx86

Typo. Should be "of".

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/extensions/manager.py
        djblets/extensions/management/commands/install-extension-media.py
    
    Ignored Files:
        djblets/extensions/management/commands/__init__.py
        djblets/extensions/management/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/extensions/manager.py
        djblets/extensions/management/commands/install-extension-media.py
    
    Ignored Files:
        djblets/extensions/management/commands/__init__.py
        djblets/extensions/management/__init__.py
    
    
  2. Show all issues
    Col: 9
     E123 closing bracket does not match indentation of opening bracket's line
    
  3. Show all issues
    Col: 1
     W293 blank line contains whitespace
    
  4. Show all issues
    Col: 13
     E303 too many blank lines (2)
    
  5. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/extensions/manager.py
        djblets/extensions/management/commands/install-extension-media.py
    
    Ignored Files:
        djblets/extensions/management/commands/__init__.py
        djblets/extensions/management/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/extensions/manager.py
        djblets/extensions/management/commands/install-extension-media.py
    
    Ignored Files:
        djblets/extensions/management/commands/__init__.py
        djblets/extensions/management/__init__.py
    
    
  2. 
      
chipx86
  1. Awesome :) Thanks for taking care of this! Two trivial things.

  2. Show all issues

    Missing a period. Also, should be "ID".

  3. djblets/extensions/manager.py (Diff revision 2)
     
     
    Show all issues

    Typo. Should be "of".

  4. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.8.x (7ebad99)
Loading...