Simon Quigley
4748fdd48c
Make sure we're actually POSTing.
7 years ago
Simon Quigley
2e9c24fcb8
Use prod, not staging.
7 years ago
Simon Quigley
f91111a180
Add support for commenting on bugs.
7 years ago
Simon Quigley
1b4fd5e19e
Change to /irc.
7 years ago
Konrad Krawiec
329a0293f3
Use the logging library instead of print statements.
...
Summary: Convert Lugito to use the logging library rather than print statements.
Test Plan: I tested the bot with a random freenode channel - it works without any issues.
Differential Revision: https://phab.lubuntu.me/D2
7 years ago
Simon Quigley
adcfa174e3
Re-implement the previous commit in a much better way.
7 years ago
Simon Quigley
fa063eec73
Add link highlighting for IRC.
7 years ago
Simon Quigley
dfa8d3deba
Refine the output.
7 years ago
Simon Quigley
60937be7c6
Fix obvious typo.
7 years ago
Simon Quigley
785aff3af7
Add (untested) IRC integration code.
7 years ago
Simon Quigley
89776971c2
Add very preliminary support for task info.
7 years ago
Simon Quigley
85fd5846f5
Consolidate variable names.
7 years ago
Simon Quigley
0eb0144ad7
while True, not while 1.
7 years ago
Simon Quigley
fcfa7e76e0
Lubuntu Team is a bit more clear.
7 years ago
Simon Quigley
2338e394aa
Add a delay so we aren't spamming the channel.
7 years ago
Simon Quigley
3c7448284a
!= None isn't needed; you can just do e.g. "if foo:".
7 years ago
Konrad Krawiec
9020af538a
Improve the logic.
...
Summary: Bot now connects to the IRC server only once, responds to ping requests, and reconnects in case of failure.
Test Plan: Test in prod
Reviewers: tsimonq2
Reviewed By: tsimonq2
Subscribers: tsimonq2
Differential Revision: https://phab.lubuntu.me/D1
7 years ago
Simon Quigley
1c1cc3f828
Move the "who" code to a central location.
7 years ago
Simon Quigley
552a52b777
Add an untested rework of the way IRC messages are assembled, and add initial support for commits.
7 years ago
Simon Quigley
c82c7fc555
Print the commit name too.
7 years ago
Simon Quigley
b7d3569bc7
Add very preliminary support for commits.
7 years ago
Simon Quigley
8d888dea87
Add another comment.
7 years ago
Simon Quigley
4748c9cc88
The IRC message shouldn't be sent if there's nothing to send.
7 years ago
Simon Quigley
5a633cead3
Rework of things for improved functionality.
7 years ago
Simon Quigley
f941220d8c
Make printing a little bit more verbose.
7 years ago
Simon Quigley
263d4ec192
Move the task creation detection code above the comment detection code, and don't run the latter if the former is true.
7 years ago
Simon Quigley
643cec641d
Make sure we break the loop when we know that it's a comment, rather than continuing and eventually making the condition false.
7 years ago
Simon Quigley
977cec1c37
Improve the logic a little bit.
7 years ago
Simon Quigley
b72c57bb89
Fix syntax error.
7 years ago
Simon Quigley
9242371342
Add (untested) code for new tasks.
7 years ago
Simon Quigley
0dfac21dd9
The prod channel should be #lubuntu-devel, not my testing channel.
7 years ago
Simon Quigley
3ca9d8ffe1
We never used the task title code; remove it.
7 years ago
Simon Quigley
5f3f2e083a
Initial commit.
7 years ago