Add registries, which can be used to keep track of unique objects

Review Request #7780 — Created Nov. 26, 2015 and submitted — Latest diff uploaded

Information

Djblets
release-0.10.x

Reviewers

Registries are wrappers around Python's set class that provides the
additional constraints:
1. All registered members must have a core set of attributes
(defined per registry).
2. The values for these attributes must be unique across all members.

A guide on writing registries has been added to the documentation.

  • Ran unit tests.
  • Built and viewed the docs.