Commit graph

232 commits

Author SHA1 Message Date
Graham Christensen 58b34d662f
Send a message when a build starts, and associate a uuid ('attempt-id') with the build run to help log consumers understand builder failures 2018-01-20 11:42:27 -05:00
Graham Christensen e2696fbe5f
Write a test on the build job 2018-01-20 08:38:51 -05:00
Graham Christensen 47f3ba4bef
Send log messages 2018-01-19 21:59:54 -05:00
Graham Christensen 67869640ec
cherry-pick BuildLogMsg 2018-01-19 20:59:34 -05:00
Graham Christensen fc0e89ce01
Add a rudimentary test on the building of a PR 2018-01-19 20:59:34 -05:00
Graham Christensen 3979a82b71
Delete test.rs 2018-01-19 20:59:34 -05:00
Graham Christensen b94a4577fc
Convert the builder to use a notifyworker 2018-01-19 20:59:33 -05:00
Graham Christensen 44f4bca820
Move the tell'ing in to an Actions class 2018-01-19 20:59:33 -05:00
Graham Christensen 83909fb35d
tick basic events for mass rebuilder 2018-01-19 20:59:33 -05:00
Graham Christensen 9fcb621b48
Stats support maybe 2018-01-19 20:59:33 -05:00
Graham Christensen 960e9766d4
fixup signatures 2018-01-19 20:59:24 -05:00
Graham Christensen f717f7f962
Experiment with ticks via tell 2018-01-19 20:59:24 -05:00
Graham Christensen 0923e45ef8
Add a test worker, seems to be able to publish only 2 messages per second due to the broken underlying library 2018-01-19 20:59:24 -05:00
Graham Christensen bd5fa9bcc0
Add a worker that can return things during run time 2018-01-19 20:59:24 -05:00
Graham Christensen e4db4e8a2f
Create an asynccmd for running Commands in the background 2018-01-19 20:53:36 -05:00
Graham Christensen ffc7119362
Merge pull request #40 from NixOS/notify-logged-disintegration
Extracting common improvements from the two build log PRs
2018-01-19 11:39:32 -05:00
Graham Christensen 56f0701b80
Note about the comment parser and the x86_64-linux limit on tests 2018-01-19 11:15:37 -05:00
Graham Christensen 2135dd3941
Ignore local rust-amqp checkouts 2018-01-19 11:14:00 -05:00
Graham Christensen 2a4f56fd96
Update rust-amqp to handle rabbitmq write-heavy workloads better 2018-01-19 11:14:00 -05:00
Graham Christensen b29650ffed
ofborg/nix.rs: Create Command's separately and add some rudimentary tests 2018-01-19 11:13:55 -05:00
Graham Christensen df5f44f61c
Merge branch 'next' into released 2018-01-14 15:02:27 -05:00
Graham Christensen 722a7aaa9e
Merge pull request #37 from samueldr/patch-2
Shortens FAQ entry for !notfound
2018-01-10 20:57:28 -05:00
Samuel Dionne-Riel bf2f5d7dd1
Shortens FAQ entry for !notfound 2018-01-10 20:03:00 -05:00
Graham Christensen b17005eabb
fix tests being run for aarch64 and linuxon linux 2018-01-10 19:56:18 -05:00
Graham Christensen 4a84900dee
check in the ban bot 2018-01-10 19:55:57 -05:00
Graham Christensen bc5c1ba69b
Split to / from message formats for the bot 2018-01-10 19:55:05 -05:00
Graham Christensen 5c06fc3d26
Merge pull request #34 from samueldr/released
factoids: Makes other FAQ entires URL cleaner.
2018-01-10 19:42:02 -05:00
Graham Christensen a40460ca5d
Merge pull request #33 from samueldr/patch-1
factoids: The !unfree link is now less scary
2018-01-10 19:41:48 -05:00
Graham Christensen bd531a9a72
Merge branch 'released' into patch-1 2018-01-10 19:41:42 -05:00
Graham Christensen 08cdb8712e
Merge branch 'released' into patch-1 2018-01-10 19:41:24 -05:00
Graham Christensen 092d3a3b1e
Merge pull request #32 from makefu/patch-4
add !notfound
2018-01-10 19:41:01 -05:00
Samuel Dionne-Riel bc478c119a
factoids: Makes other FAQ entires URL cleaner.
Self-explanatory, the previous anchor links may also have broken easily.
2018-01-06 23:21:53 -05:00
Samuel Dionne-Riel 7a2ba85288
factoids: The !unfree link is now less scary 2018-01-06 23:06:48 -05:00
Felix Richter 478490b3c5
add !notfound 2018-01-03 14:17:10 +01:00
Graham Christensen ec4d16c21f
Merge pull request #31 from makefu/patch-1
Add !unfree
2017-12-28 08:41:40 -05:00
Felix Richter d1b558327b
Add !unfree 2017-12-28 14:14:08 +01:00
Graham Christensen a34c8cda97
Teach ircbot about tofu 2017-12-26 12:02:03 -05:00
Graham Christensen 8071ae5e60
Update amqp across the repo 2017-12-26 12:01:53 -05:00
Graham Christensen 0ba321b7e4
Update just amqp 2017-12-26 11:55:20 -05:00
Graham Christensen a417c92b52
Revert "Update rust-amqp to properly propagate connection errors"
This reverts commit d0b0d6c110.
2017-12-26 11:54:38 -05:00
Graham Christensen 4839b0bd40
Revert "rust-amqp: update , try thath fix again"
This reverts commit 6ec6cb6e9f.
2017-12-26 11:54:32 -05:00
Graham Christensen 6ec6cb6e9f
rust-amqp: update , try thath fix again 2017-12-26 11:31:47 -05:00
Graham Christensen f67dd5e9b4
Merge branch 'released' into next 2017-12-26 11:24:33 -05:00
Graham Christensen d0b0d6c110
Update rust-amqp to properly propagate connection errors 2017-12-26 11:20:00 -05:00
Graham Christensen 7043101511
Update rust-amqp to properly propagate connection errors 2017-12-26 11:19:39 -05:00
Graham Christensen 90a25627a6
Add the security framework on darwin to the nix-shell 2017-12-25 20:38:27 -05:00
Graham Christensen 36896492eb
Merge pull request #28 from grahamc/comment-parser
Support ofborg comments inline with other text
2017-12-22 09:30:56 -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 4dea8198a0
Replace index.phpwith next.php 2017-12-21 08:28:48 -05:00
Graham Christensen 67094db9bd
Trigger user errorss 2017-12-21 08:28:06 -05:00