| 1 |
* split kgb-bot into manageable modules |
| 2 |
* start a real test bot for automated tests |
| 3 |
- this is now possible via eg/start-test-bot-[12] and 'TEST_KGB_BOT_RUNNING=1 |
| 4 |
make test' |
| 5 |
even if useful for local testing the results aren't verified via t/*.t |
| 6 |
* write tests for CVS client |
| 7 |
|
| 8 |
* watch file broken; depending on the UA, alioth replies with |
| 9 |
"406 Not Acceptable" |
| 10 |
|
| 11 |
* admin/sync -- needs a plan |
| 12 |
Plan A |
| 13 |
====== |
| 14 |
- we need a system which would allow individual instances' admins to update |
| 15 |
some central configuration store, which is both encrypted and signed. |
| 16 |
- that central store could be fetched by the bots regularly, the signature |
| 17 |
verified, and then the changes applied. |
| 18 |
- the central storage could be on alioth, but the signing should be done |
| 19 |
remotely somehow (who wants to upload her secret hey to alioth? :)) |
| 20 |
there could be a tool that automates the signing process (download from |
| 21 |
alioth, start $EDITOR or add config from command line, sign, upload) |
| 22 |
- the bots need to be given a keyring with trusted keys, whose signatures |
| 23 |
they recognise |
| 24 |
|
| 25 |
Pros: |
| 26 |
- powerful |
| 27 |
- possible addition/modification and removal of project |
| 28 |
- full encryption end-to-end |
| 29 |
Cons: |
| 30 |
- GPG integration in the bot |
| 31 |
- complex configuraion retrieval |
| 32 |
- changes need time to propagate |
| 33 |
- non-trivial creation of changes |
| 34 |
|
| 35 |
Plan B |
| 36 |
====== |
| 37 |
- bots recognize a new message for adding projects |
| 38 |
the message is accompanied with a hash over its contents, the timestamp of |
| 39 |
the sender, and a shared secret (uses the current json protocol |
| 40 |
implementation, but with another secret) |
| 41 |
- any of the admins wanting to add project would run a tool which connects |
| 42 |
with all the bots sending them the signed message |
| 43 |
|
| 44 |
Pros: |
| 45 |
- relatively simple |
| 46 |
- instant update |
| 47 |
Cons: |
| 48 |
- no encryption |
| 49 |
- only addition of projects (can be addressed by creating another message |
| 50 |
for project deletion, and assuming that messages for existing projects |
| 51 |
replace their configuration) |
| 52 |
|
| 53 |
Plan C |
| 54 |
====== |
| 55 |
- do nothing. We managed somehow to maintain the service by hand, only with |
| 56 |
kgb-add-project |
| 57 |
|
| 58 |
Pros: |
| 59 |
- requires no effort |
| 60 |
Cons: |
| 61 |
- requires small effort (×3) every now and then |
| 62 |
|
| 63 |
* (wishlist) Immplement a command to make the bot re-join #channels. |