-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
73 lines (48 loc) · 2.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
i-mscp-bot - A bot for IRC that answer to some queries
I. Introduction
~~~~~~~~~~~~~~~
The i-mscp-bot is able to join one or more IRC channels and listen to them. Then, the
connected users can query the bot about any ticket or changeset from Trac.
For now, the bot is able to answer two queries:
1. Tickets:
If you type '#60' on IRC where 60 is the ticket number, then the bot will answer by
providing some information about the ticket such as the summary, the owner, reporter
Also, if you type '#last' , the bot will answer by providing same information but for
the last ticket.
2. Changeset:
If you type 'r4600' on IRC where 4600 is a specific revision, the bot will answer by
providing the link to the changeset. Also if you type 'rlast' the link to the last
changeset will be returned by the bot.
II. Requirements
~~~~~~~~~~~~~~~~
- PHP >= 5.2
- PHP Curl extension
III. Installation instructions (Debian >= Squeeze)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As root user:
1. Getting latest version:
# cd /usr/local/src
# svn export https://i-mscp.svn.sourceforge.net/svnroot/i-mscp/branches/i-mscp-bot
2. Installing libraries:
# mkdir -p /usr/local/lib/iMSCP
# cp -R ./i-mscp-bot/library /usr/local/lib/iMSCP
3. Installing the bot:
# cp ./i-mscp-bot/i-mscp-bot /usr/local/bin
# chmod a+x /usr/local/bin/i-mscp-bot
4. Make the bot a daemon:
# mkdir -p /usr/local/etc/init.d
# cp ./i-mscp-bot/init.d/i-mscp-bot /usr/local/etc/init.d
# chmod a+x /usr/local/etc/init.d/i-mscp-bot
# ln -s /usr/local/etc/init.d/i-mscp-bot /etc/init.d/i-mscp-bot
# insserv /etc/init.d/i-mscp-bot
5. Starting the bot
# /etc/init.d/i-mscp-bot start
IV. Uninstall intructions (Debian >= Squeeze)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As root user:
# /etc/init.d/i-mscp-bot stop
# rm -Rf /usr/local/lib/iMSCP
# rm /usr/local/bin/i-mscp-bot
# insserv -r /etc/init.d/i-mscp-bot
# rm {/etc/init.d/i-mscp-bot,/usr/local/etc/init.d/i-mscp-bot}
For further help, you can join us on our forum at http://forum.i-mscp.net