Add an EntryPointRegistry

Review Request #7813 — Created Dec. 17, 2015 and submitted

Information

Djblets
release-0.10.x

Reviewers

This patch adds a EntryPointRegistry (migrated from Review Board) that
populates a registry from Python entry points. A new mixin has been
added for registries that overrides the default get behaviour to no
longer raise exceptions.

This patch also ensures that no non-lazy ugettext calls are made at
import time.

The documentation has been updated to reflect these new changes.

  • Ran unit tests
  • Built the docs and viewed them. The links worked.
Description From Last Updated

I know it's not the Queen's English, but we should use "behavior" here.

daviddavid
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
  2. 
      
brennie
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
  2. 
      
david
  1. 
      
  2. Show all issues

    I know it's not the Queen's English, but we should use "behavior" here.

  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
  2. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/registries/registry.py
        djblets/registries/mixins.py
    
    Ignored Files:
        docs/djblets/guides/registries/writing-registries.rst
        docs/djblets/coderef/index.rst
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (7620411)