- Project tools
-
-
- How do I...
-
| Category |
Featured projects |
| scm |
Subversion,
Subclipse,
TortoiseSVN,
RapidSVN
|
| issuetrack |
Scarab |
| requirements |
xmlbasedsrs |
| design |
ArgoUML |
| techcomm |
SubEtha,
eyebrowse,
midgard,
cowiki |
| construction |
antelope,
scons,
frameworx,
build-interceptor,
propel,
phing
|
| testing |
maxq,
aut
|
| deployment |
current |
| process |
ReadySET |
| libraries |
GEF,
Axion,
Style,
SSTree
|
| Over 500 more tools... |
|
Welcome to the new Tigris! There have been some changes to the administration of mail lists. Project and list owners should check out the Discussion Services release notes.
Class Controller
- Known Subclasses:
-
CvsController,
SvnController
A base implementation for SCM-specific controllers to extend; mostly
does the generic Views handling.
| Method Summary |
| |
__init__(self,
config,
argv,
stdin)
Initializes the controller's model and saves the references to argv
and stdin |
| |
addRepoPrefix(self)
Return whether the name of the CVS module/SVN repo should prefix all of the
directory paths |
| |
matchWithRepoPrefix(self)
Return whether the name of the CVS module/SVN repo should be used in matching
the greatest common directory to modules |
| |
process(self)
Starts the SCM-agnostic process of building the model and executing
the views |
| |
_executeViews(self)
Executes the views for each module that matches the commit's base
directory |
| |
_populateModel(self)
Builds the model for the commit |
| |
_stopProcessForNow(self)
Return whether to continue with executing the views or stop the process |
| Class Variable Summary |
str |
TMPDIR = 'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'
|
__init__(self,
config,
argv,
stdin)
(Constructor)
Initializes the controller's model and saves the references to argv
and stdin
-
- Parameters:
config -
a commitmessage.util.CmConfigParser
created by commitmessage.main
argv -
the command line arguments, as gathered by
commitmessage.main
stdin -
where to stream responses to
|
addRepoPrefix(self)
-
- Returns:
-
whether the name of the CVS module/SVN repo should prefix all
of the directory paths
|
matchWithRepoPrefix(self)
-
- Returns:
-
whether the name of the CVS module/SVN repo should be used in
matching the greatest common directory to modules
|
process(self)
Starts the SCM-agnostic process of building the model and executing
the views
-
|
_executeViews(self)
Executes the views for each module that matches the commit's base
directory
-
|
_populateModel(self)
Builds the model for the commit
This should be overridden by concrete controllers with their
implementation-specific logic for populating the model.
-
|
_stopProcessForNow(self)
-
- Returns:
-
whether to continue with executing the views or stop the
process
Gives CVS a chance to kill the current process and wait for
the next one as it has to build up data between discrete
per-directory executions.
|
TMPDIR
-
- Type:
-
str
- Value:
'C:\\DOCUME~1\\stephen\\LOCALS~1\\Temp'
|
|
|