mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
Implement "!bug <number>" command.
svn path=/trunk/; revision=20165
This commit is contained in:
parent
bd0b0b3d09
commit
27f6a74ba6
8 changed files with 89 additions and 6 deletions
|
@ -12,5 +12,6 @@
|
|||
<add key="HresultXml" value="C:\IRC\TechBot\hresult.xml" />
|
||||
<add key="WmXml" value="C:\IRC\TechBot\wm.xml" />
|
||||
<add key="SvnCommand" value="svn co svn://svn.reactos.com/trunk/reactos" />
|
||||
<add key="BugUrl" value="www.reactos.org/bugzilla/show_bug.cgi?id={0}" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace TechBot
|
|||
private string WmXml;
|
||||
private string WinerrorXml;
|
||||
private string SvnCommand;
|
||||
private string BugUrl;
|
||||
private EventLog eventLog;
|
||||
|
||||
public ServiceThread(EventLog eventLog)
|
||||
|
@ -38,6 +39,7 @@ namespace TechBot
|
|||
WmXml = ConfigurationSettings.AppSettings["WmXml"];
|
||||
WinerrorXml = ConfigurationSettings.AppSettings["WinerrorXml"];
|
||||
SvnCommand = ConfigurationSettings.AppSettings["SvnCommand"];
|
||||
BugUrl = ConfigurationSettings.AppSettings["BugUrl"];
|
||||
}
|
||||
|
||||
public void Run()
|
||||
|
@ -55,7 +57,8 @@ namespace TechBot
|
|||
WinerrorXml,
|
||||
HresultXml,
|
||||
WmXml,
|
||||
SvnCommand);
|
||||
SvnCommand,
|
||||
BugUrl);
|
||||
ircService.Run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue