[76001] contrib/mpbot/trac.rb
and.damore at macports.org
and.damore at macports.org
Tue Feb 15 09:05:39 PST 2011
Revision: 76001
http://trac.macports.org/changeset/76001
Author: and.damore at macports.org
Date: 2011-02-15 09:05:38 -0800 (Tue, 15 Feb 2011)
Log Message:
-----------
added email address, added paste and team to help functions, minor changes
Modified Paths:
--------------
contrib/mpbot/trac.rb
Modified: contrib/mpbot/trac.rb
===================================================================
--- contrib/mpbot/trac.rb 2011-02-15 15:32:11 UTC (rev 76000)
+++ contrib/mpbot/trac.rb 2011-02-15 17:05:38 UTC (rev 76001)
@@ -5,7 +5,7 @@
# services related to MacPorts trac systemfor the #macports channel
# on freenode.net, created from PortPlugin by James D. Berry
#
-# By Andrea D'Amore
+# By Andrea D'Amore <and.damore at macports.org>
#
# $Id: $
@@ -16,14 +16,19 @@
def help(plugin, topic="")
case topic
when "ticket"
- return "ticket <ticket no.> => show http link for ticket # <ticket no.>"
+ return "ticket <ticket no.> => show http link for ticket <ticket no.>"
when "faq"
return "faq => show FAQs' URL"
+ when "paste"
+ return "paste => show direct pastebin link for #macports channel "
when "guide"
- return "guide [chunked] => show The Guide's URL. Don't Panic."
+ return "guide [chunked] => show The Guide's URL. Don't Panic."
+ when "team"
+ return "team => show link to team page on wiki"
else
- return "trac module provides: !ticket, !faq, !guide"
+ return "trac module provides: !ticket, !faq, !paste, !guide, !team"
end
+
end
def ticket(m, params)
@@ -32,7 +37,7 @@
url = "https://trac.macports.org/ticket/"+number
m.reply "#{url}"
else
- m.reply "Use either #1234 or 1234 for ticket number"
+ m.reply "Use either #1234 or 1234 syntax for ticket number"
end
end
@@ -41,7 +46,7 @@
end
def paste(m, params)
- m.reply "Paste texts more than 3 rows using: http://paste.lisp.org/new/macports"
+ m.reply "Paste more than 3 rows using: http://paste.lisp.org/new/macports"
end
def guide(m, params)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110215/009611f7/attachment.html>
More information about the macports-changes
mailing list