Commit graph

366 commits

Author SHA1 Message Date
Graham Christensen cf3941741b
Tag added/removed packages on PRs
If packages (by name attribute and architecture) are present in the
first eval and absent in the second eval, mark it as having cleanup.

If packages (by name attribute and architecture) are absent in the
first eval and present in the second eval, mark it as having a new
package.

Note, though, that the generic "has cleanup" tag is too generic to
automatically remove it if ofborg thinks it isn't true.

Closes #63
2018-02-09 22:23:37 -05:00
Graham Christensen 55e869e539
Provide a list of attribute names which changed, closes #54 2018-02-09 21:22:52 -05:00
Graham Christensen f9a9a33285
ignore nix patches 2018-02-09 19:33:29 -05:00
Graham Christensen c51f5fed7f
fixup patch to not trace 2018-02-09 19:31:11 -05:00
Graham Christensen 666596b251
Merge remote-tracking branch 'origin/released' into next 2018-02-09 19:11:02 -05:00
Graham Christensen d46e0b7b0f
Merge pull request #69 from samueldr/feature/irc-notice
Adds a `message_type` field to `MessageFromIRC`.
2018-02-09 19:08:43 -05:00
Samuel Dionne-Riel bb406624d8 Changes message_type to an Enum. 2018-02-09 12:58:03 -05:00
Samuel Dionne-Riel 23081ad5d5 Adds a message_type field to MessageFromIRC.
The `message_type` allows switching to `notice` type messages.

It defaults to `privmsg` and any other (string) values will have the
same effect than using `privmsg`.

No code should need to be updated after this change.
2018-02-08 22:36:42 -05:00
Graham Christensen c5fef482ec
Use the patched carnix output for faster builds 2018-02-08 15:18:21 -05:00
Graham Christensen d466b9d3b7
Use a patched carnix emission with a smarter include 2018-02-08 15:17:43 -05:00
Graham Christensen 5f9bc10a2d
Update nixpkgs 2018-02-08 13:57:10 -05:00
Graham Christensen 6a4ef7bbb2
Merge pull request #64 from Mic92/carnix-0.6.5
rebuild with carnix 0.6.5
2018-02-08 13:53:47 -05:00
Graham Christensen 70b55fba42
evaluator: bump the initial heap size to 4g 2018-02-08 10:07:23 -05:00
Graham Christensen 03a2d8427a
Support specifying initial heap size for evaluations 2018-02-08 10:06:10 -05:00
Graham Christensen c0aa1c39d2
supernets.org is super spammy 2018-02-08 10:05:15 -05:00
Graham Christensen 65001469c4
Allow edolstra and ericson to call ofborg as trusted users 2018-02-08 10:05:07 -05:00
Jörg Thalheim 97d4481131 bump nixpkgs: rust should work on aarch64 again 2018-02-08 10:15:24 +00:00
Jörg Thalheim 1184d71999 rebuild crate expressions with carnix 0.6.5 2018-02-08 10:15:24 +00:00
Graham Christensen c1bfe1b01c
Don't attempt to build a job with zero defined attrs 2018-02-03 20:26:51 -05:00
Graham Christensen 28d2d3c28d
Only auto-schedule jobs if there is at least one job... duh. 2018-02-03 20:21:10 -05:00
Graham Christensen 99cf7f87d1
update hubcaps to properly fix #46 2018-02-03 18:58:51 -05:00
Graham Christensen 29b5035fdf
Merge pull request #62 from FRidh/paths
Extra paths for tags
2018-02-03 14:16:17 -05:00
Frederik Rietdijk 8398a19a3d remove trailing comma's 2018-02-03 20:14:38 +01:00
Frederik Rietdijk 20d5104aa8 Extra paths for tags 2018-02-03 19:58:07 +01:00
Graham Christensen 52cbd7d67a
Merge pull request #61 from peti/patch-2
Configure auto-tagging for Haskell
2018-02-03 13:22:54 -05:00
Peter Simons 278adec6ce
Configure auto-tagging for Haskell 2018-02-03 19:21:21 +01:00
Graham Christensen 5f12e4b29c
auto-tag erlang 2018-02-03 12:57:03 -05:00
Graham Christensen 231d2f15cc
Merge pull request #60 from NixOS/dont-auto-build-wips
Dont auto build wips
2018-02-03 12:54:25 -05:00
Graham Christensen 55bf2742c9
Tighten up when ofborg considers a PR WIP 2018-02-03 12:47:08 -05:00
Graham Christensen 42d1bb3099
Clarify when packages will and will not be built 2018-02-03 12:41:56 -05:00
Graham Christensen cf52e6dfec
check labels for WIP too 2018-02-03 12:33:26 -05:00
Graham Christensen a0f3e4e3b6
If a PR has wip in the title, don't build it anywhere 2018-02-03 12:24:20 -05:00
Graham Christensen a2d29c0de7
Merge pull request #59 from NixOS/auto-tag-topic-issue-56
Auto tag topic issue 56
2018-02-03 12:17:18 -05:00
Graham Christensen 4359033f30
Use the ... form of a range specifier 2018-02-03 11:27:20 -05:00
Graham Christensen de179794cb
Tag PRs based on paths they touch 2018-02-03 11:27:09 -05:00
Graham Christensen a9182ea325
Add a PathsTagger for PR tagging based on modified paths 2018-02-03 11:02:19 -05:00
Graham Christensen e13b64f1b8
checkout: make a function for listing files changed 2018-02-03 11:02:14 -05:00
Graham Christensen cb42c4fa08
rustfmt 2018-02-03 10:59:29 -05:00
Graham Christensen cda4fa9e77
Merge pull request #58 from NixOS/automatically-schedule
Automatically schedule builds for trusted users
2018-02-03 10:04:01 -05:00
Graham Christensen f37e249ad7
fixup: pass acl to the mass rebuild worker 2018-02-03 09:44:16 -05:00
Graham Christensen c39e2a6865
Document the automatic building of PRs 2018-02-03 09:40:47 -05:00
Graham Christensen a0575eeac5
Cap the auto-scheduled builds to 10 2018-02-03 09:40:47 -05:00
Graham Christensen b2655cac5b
Test the fetching of commit messages, return a list of messages instead of a big string of messages 2018-02-03 09:40:47 -05:00
Graham Christensen 5e4360e6af
Autoschedule builds from trusted users 2018-02-03 09:40:42 -05:00
Graham Christensen eaeb97f596
Merge pull request #57 from NixOS/cleanup-outpath-parsing
Parse the results of the out paths sooner
2018-02-03 08:05:16 -05:00
Graham Christensen ac63df2a24
Try to guess things to build from the commit message in the mass rebuilder 2018-02-03 08:03:07 -05:00
Graham Christensen 41ab5d5e88
Parse the results of the out paths sooner
Prior, the OutPath just returned a file
containing a bunch of data, leaving it up to
consumers to parse it as needed.

Now, parse the data in to a hashmap of (name,
arch) => out path and return structured data.
2018-02-03 07:54:02 -05:00
Graham Christensen dd2bac70d5
Fixup writetoline / log message collector warnings 2018-02-03 07:49:09 -05:00
Graham Christensen aebecc2e0a
Merge pull request #55 from LnL7/keep-path
Keep PATH when running nix commands
2018-02-02 17:07:59 -05:00
Daiderd Jordan 7659f4f85a
Keep PATH when running nix commands
The documentation of std::process::Command mentions that setting PATH on
the command itself will influence the search path lookup. This seems to
interact differently with clear_env depending on the platform.

Fixes "No such file or directory" error on darwin.
2018-02-02 22:51:08 +01:00