diff options
| author | 2010-05-30 18:23:32 +0200 | |
|---|---|---|
| committer | 2010-05-30 19:33:04 +0200 | |
| commit | 4b3e3362f5e21b3a635371d2a72fd8177ec11747 (patch) | |
| tree | 6188e5473d455de223a6a173aaa376e50429cba5 | |
| parent | 92b2b34ccfd908295f8e93aa4728ad8eaa18bda0 (diff) | |
disable tweeting on default and document tweet options in manpage
| -rw-r--r-- | doc/mini-dinstall.1 | 21 | ||||
| -rwxr-xr-x | mini-dinstall | 4 |
2 files changed, 23 insertions, 2 deletions
diff --git a/doc/mini-dinstall.1 b/doc/mini-dinstall.1 index 3a06252..7a70cb1 100644 --- a/doc/mini-dinstall.1 +++ b/doc/mini-dinstall.1 @@ -177,6 +177,24 @@ Style of the email body. Valid values are the same as for the .RE .RE .TP +.B tweet_server +server to push tweets. Possible values are \fItwitter\fR or \fIidentica\fR +.TP +.B tweet_user +username to login on tweet server +.TP +.B tweet_password +password to login on tweet server +.TP +.B tweet_template +Style of the tweet body. Valid values are the same as for the +\fBmail_subject_template\fR option. Default is: +.RS +.PP + Installed %(source)s %(version)s to %(distribution)s +.RE +.RE +.TP .B trigger_reindex In daemon mode, whether or not to recreate the Packages and Sources files after every upload. If you disable this, you probably want to enable @@ -246,6 +264,9 @@ versions of the same packages are uploaded. Defaults to false. .B mail_on_success Whether to mail on successful installation. Defaults to true. .TP +.B tweet_on_success +Whether to tweet (e.g. on twitter/identi.ca) on successful installation. Defaults to false. +.TP .B max_retry_time The maximum amount of time to wait for an incomplete upload before rejecting it. Specified in seconds. Defaults to two days. diff --git a/mini-dinstall b/mini-dinstall index d80074c..5df6b1b 100755 --- a/mini-dinstall +++ b/mini-dinstall @@ -54,7 +54,7 @@ logfile_name = 'mini-dinstall.log' configfile_names = ['/etc/mini-dinstall.conf', '~/.mini-dinstall.conf'] use_dnotify = 0 mail_on_success = 1 -tweet_on_success = 1 +tweet_on_success = 0 default_poll_time = 30 default_max_retry_time = 2 * 24 * 60 * 60 default_mail_log_level = logging.ERROR @@ -376,7 +376,7 @@ class DistOptionHandler: self._optionmap['chown_changes_files'] = ['bool', 1] self._optionmap['keep_old'] = ['bool', None] self._optionmap['mail_on_success'] = ['bool', 1] - self._optionmap['tweet_on_success'] = ['bool', 1] + self._optionmap['tweet_on_success'] = ['bool', 0] self._optionmap['archive_style'] = ['str', None] # Release file stuff self._optionmap['generate_release'] = ['bool', 0] |
