Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12514 → Rev 12513

/tools/mrscribe/Svnwatch/config.py
26,6 → 26,10
# registry as appropriate.
from supybot.questions import expect, anything, something, yn
conf.registerPlugin('Svnwatch', True)
# output('The default SVN xml URI is https://www.postnewspapers.com.au/cgi-bin/xmllog')
# if yn('Would you like to specify a SVN xml URI?'):
# xmluri = something('SVN XML URI?')
# conf.supybot.plugins.Svnwatch.set(xmluri)
 
Svnwatch = conf.registerPlugin('Svnwatch')
# This is where your configuration variables (if any) should go. For example:
34,8 → 38,9
conf.registerGlobalValue(Svnwatch, 'batchSize', registry.PositiveInteger(3,
"""Determines the upper limit on the number of reports that will be output
at a time."""))
conf.registerGlobalValue(Svnwatch, 'xmluri',
registry.String("", """The uri for the exported SVN XML source."""))
#conf.registerGlobalValue(Svnwatch, 'xmluri',
# registry.String("https://www.postnewspapers.com.au/cgi-bin/xmllog",
# """The uri for the exported SVN XML source."""))
conf.registerGlobalValue(Svnwatch, 'fetchPeriod',
registry.PositiveInteger(60, """Indicates how many seconds the bot will
wait between retrieving new svn commit information."""))