Commit graph

18 commits

Author SHA1 Message Date
Graham Christensen 1326fdbe33
Commit most of the prod config
Include tools for generating the known user
list, and a thing to allow me to keep secrets
out of the main config while still keeping
almost exactly my config in version control
nearby.
2018-01-27 08:15:43 -05:00
Graham Christensen 162cd9a982
Support ofborg comments inline with other text
The old design of the parser treated all whitespace the same and
mandated that `grahamcofborg` (plus the `@`) be the first token in the
text. This allowed for some ridiculous but command calls:

    grahamcofborg build foo
       bar
          baz

This used to become a build instruction for foo, bar, and baz. After
this change, it is just an instruction for building foo. This allows
for comments for people to be intertwined with comments for the bot:

    grahamcofborg build foo

    Let's see what happens!

Before this would unintentionally become a build instruction for
`foo`, `Let's`, `see`, `what`, `happens!`, and is now only going to
build `foo`.

Additionally, this comment would do nothing:

    Let's see what happens!
    grahamcofborg build foo

Or a more real case where people expected this to work:

    /cc grahamc for ^^
    GrahamcOfBorg eval

This will continue to not produce a build instruction, because
grahamcofborg must be the first word of a line:

    foo bar grahamcofborg build foo

Note: I've removed `@`s from all usernames to avoid accidental email.
2017-12-22 09:07:52 -05:00
Graham Christensen 7ca5463991
document how evals are executed, closes #20 2017-12-20 07:01:32 -05:00
Graham Christensen 43dba9c53d
update readme to represent the more true rust bits 2017-12-19 21:46:29 -05:00
Graham Christensen cb9acfd57e
Document how things are building 2017-12-16 08:57:30 -05:00
Graham Christensen a7feee1b1e
clean up the readme 2017-12-01 20:58:05 -05:00
Graham Christensen 7a3b7d0fa0
correct readme 2017-11-24 14:50:45 -05:00
Graham Christensen 441853e724
make the commands linkable 2017-11-24 14:40:53 -05:00
Graham Christensen 20c4d2a302
Add the test command 2017-11-24 14:08:00 -05:00
Graham Christensen 41ea789ccb
document eval more 2017-11-23 14:25:33 -05:00
Graham Christensen 2d9b97e5b8
Add zimbatm 2017-11-23 10:50:03 -05:00
Graham Christensen e23ff2ca3e
document commandss 2017-11-23 08:38:52 -05:00
Graham Christensen dfbd52480e
Update docs 2017-11-20 08:02:47 -05:00
Graham Christensen 47c46468f8
update the reademe 2017-11-11 07:51:24 -05:00
Graham Christensen bf0e76a38e
update README 2017-11-04 12:21:55 -04:00
Graham Christensen 3b3ab44b28
catch proper ExecExceptions 2017-10-29 17:42:23 -04:00
Graham Christensen 1aa4ba0eec
Add darwin support 2017-10-29 17:14:06 -04:00
Graham Christensen 0c7b2f252e
Initial port from my network 2017-10-29 17:10:26 -04:00