Package trac :: Package versioncontrol :: Module api :: Class DbRepositoryProvider

Class DbRepositoryProvider

source code

    object --+    
             |    
core.Component --+
                 |
                DbRepositoryProvider

Component providing repositories registered in the DB.
Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
get_repositories(self)
Retrieve repositories specified in the repository DB table.
source code
 
get_admin_commands(self) source code
 
get_reponames(self) source code
 
add_repository(self, reponame, dir, type_=None)
Add a repository.
source code
 
add_alias(self, reponame, target)
Create an alias repository.
source code
 
remove_repository(self, reponame)
Remove a repository.
source code
 
modify_repository(self, reponame, changes)
Modify attributes of a repository.
source code

Inherited from core.Component: __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Component: implements

Class Variables
  repository_attrs = ('alias', 'description', 'dir', 'hidden', '...
Properties

Inherited from object: __class__

Class Variable Details

repository_attrs

Value:
('alias',
 'description',
 'dir',
 'hidden',
 'name',
 'sync_per_request',
 'type',
 'url')