Home | Trees | Index | Help |
---|
Package svnmailer :: Package notifier :: Module cia_xmlrpc :: Class CIAXMLRPCNotifier |
|
object
--+ |BaseNotifier
--+ | CIAXMLRPCNotifier
Method Summary | |
---|---|
Initialization | |
Adds the actual commit info to the message | |
Adds the generator info to the message | |
Adds the source info to the message | |
Add multiple text elements | |
Adds revision timestamp to the message | |
Returns the name of the author | |
unicode |
Returns the number of changed lines |
unicode |
Returns the action applied to the changed file |
unicode |
Returns the type of the modified file |
unicode |
Returns an URL associated with the changed file |
int |
Returns the number of changed lines for a diff |
Returns a new element containing text to the message | |
unicode |
Returns the stripped path of a change |
DOM object |
Composes the XML message to send |
Delivers the supplied message via XML-RPC | |
Submits notification via XMLRPC to a CIA server | |
Inherited from BaseNotifier | |
str |
Returns the encoding for the specified path and revision |
tuple |
Dump the two revisions of a particular change |
str |
Returns the author of the revision |
Returns the browser generator if any | |
unicode |
Returns the content diff action for a particular change |
str |
Returns the content diff url for a particular change |
str |
Returns the content encoding property for a path/rev |
tuple |
Returns the encodings of the change content (base and current rev) |
svnmailer.differ.* |
Returns the initialized differ |
tuple |
Returns valid diff tokens and tests |
str |
Returns the encoding extracted from svn:mime-type |
str |
Returns the log entry of the revision |
unicode |
Returns the property diff action for a particular change |
unicode or str |
Returns the temporary directory |
svnmailer.util.TempFile |
Returns an open temporary file container object |
int |
Returns the time of the revision in seconds since epoch |
str |
Returns the revision URL |
bool |
Returns if the supplied property seems to be binary |
bool |
Returns if the supplied property value takes just one line |
bool |
Returns if the supplied property name represents an UTF-8 property |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
list | changeset : The changeset to process |
svnmailer.settings._base.GroupSettingsContainer |
config : The current group configuration |
svnmailer.differ.* | differ : The differ object |
Inherited from BaseNotifier | |
svnmailer.main.GroupSet |
_groupset : The groupset to process |
dict | _penc_cache : The (path, rev) -> property encoding cache |
svnmailer.settings._base.BaseSettings |
_settings : The settings to use |
Class Variable Summary | |
---|---|
list |
__implements__ = [<class 'svnmailer.notifier._base.BaseN...
|
Inherited from BaseNotifier | |
tuple | _diffable_tests : Maps generate_diffs list entrys to change
methods |
unicode | ADD : "add" token |
unicode | COPY : "copy" token |
unicode | DELETE : "delete" token |
str | ENC_CONFIG : Magic value, meaning that the content encoding should
be retrieved from the config |
str | ENC_DEFAULT : Magic value to determine if the default encoding
should be displayed |
str | ENC_PROPERTY : The property name, where encodings could be stored |
unicode | MODIFY : "modify" token |
unicode | NONE : "none" token |
unicode | PROPCHANGE : "propchange" token |
Method Details |
---|
__init__(self,
config,
groupset)
Initialization
|
_addBody(self, doc)Adds the actual commit info to the message
|
_addGenerator(self, doc)Adds the generator info to the message
|
_addSource(self, doc)Adds the source info to the message
|
_addTextElements(self, parent, *elems)Add multiple text elements
|
_addTimeStamp(self, doc)Adds revision timestamp to the message
|
_getAuthorName(self)Returns the name of the author @return: The name @rtype: unicode |
_getDiffLineCount(self)Returns the number of changed lines It counts the number of minus lines and the number of plus lines and returns the greater value.
|
_getFileAction(self, change)Returns the action applied to the changed file
|
_getFileType(self, change)Returns the type of the modified file
|
_getFileUri(self, change)Returns an URL associated with the changed file
|
_getTagCount(self, diff_out)Returns the number of changed lines for a diff
|
_getTextElement(self, doc, name, value, attr=None)Returns a new element containing text to the message
|
_stripPath(self, path)Returns the stripped path of a change
|
composeCIAXMLMessage(self)Composes the XML message to send (a commit message according to the CIA schema)
|
deliverRPCMessage(self, doc)Delivers the supplied message via XML-RPC
|
run(self)Submits notification via XMLRPC to a CIA server
|
Instance Variable Details |
---|
changesetThe changeset to process
|
configThe current group configuration |
differThe differ object
|
Class Variable Details |
---|
__implements__
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:18 2005 | http://epydoc.sf.net |