Commit graph

1421 commits

Author SHA1 Message Date
Graham Christensen 5cd1d0a884
Merge pull request #519 from cole-h/bye-patreon
.github: drop FUNDING.yml
2020-06-18 08:52:21 -04:00
Cole Helbling f2c3dc3fa4
*: fix pedantry 2020-06-17 19:19:57 -07:00
Cole Helbling a605ec0b58
.github: drop FUNDING.yml
The Patreon is now defunct.

This should (hopefully) default to the org-wide FUNDING.yml linking to
the NixOS Open Collective page.
2020-06-17 18:31:41 -07:00
Cole Helbling dc63498a27 ci: released branch, not master
Duh.
2020-06-15 10:06:16 -07:00
Cole Helbling 5f9892a86c ci: remove Travis
Nixpkgs requires Nix 2.2 or greater to evaluate as of
96795314de,
and Travis does not appear to support this version yet, causing CI to
report failures on probably-good PRs. This can be reverted later on down
the line if we decide to have both GitHub Actions and Travis for
redundancy.
2020-06-15 09:52:10 -07:00
Cole Helbling 531e36f3a0 ci: add GitHub Actions 2020-06-15 09:52:10 -07:00
Daiderd Jordan cc18d6626c sort dependencies 2020-05-29 14:52:13 -07:00
Daiderd Jordan fc41460034 update lapin consumer
The Stream implementation for consumers was changed to include the
channel.  Should be the last api change since it's released now.

    impl Stream for Consumer {
        type Item = Result<(Channel, Delivery)>;
    }
2020-05-29 14:52:13 -07:00
Daiderd Jordan 350e2855b2 lapin: 1.0.0-rc6 -> 1.0.0 2020-05-29 14:52:13 -07:00
Daiderd Jordan ec5e59a055 don't request maintainer reviews if many files changed
This either indicates it's most likely either a tree-wide change,
staging-next merge or just a pull request with an incorrect target
branch.  For none of these cases are usually relevant for specific
package maintainers.
2020-05-28 15:07:30 -07:00
Daiderd Jordan ec4decddcc lapin: 1.0.0-beta4 -> 1.0.0-rc6
Turns out this was totally fine.

This reverts commit 16d8b612cb.
2020-05-25 14:31:43 -07:00
Daiderd Jordan 66ed9d1a95
Merge pull request #507 from LnL7/async-std
async-std: 1.6.0 -> 1.5.0
2020-05-25 23:11:22 +02:00
Daiderd Jordan bacdeffd8a
async-std: 1.6.0 -> 1.5.0
Seems to cause an issue with the executors somehow.

    thread 'main' panicked at 'cannot run an executor inside another executor', <::std::macros::panic macros>:2:4
2020-05-25 23:00:20 +02:00
Daiderd Jordan 16d8b612cb Revert "lapin: 1.0.0-beta4 -> 1.0.0-rc6"
This reverts commit 69c0fbb8bb.
2020-05-25 13:38:59 -07:00
Daiderd Jordan e8f0bfabd4
Merge pull request #502 from LnL7/remove-openssl-1.0.2
remove openssl 1.0.2
2020-05-25 22:05:12 +02:00
Daiderd Jordan 9aecc91a09
remove openssl_1_0_2
With rust-amqp gone this isn't referenced anymore.
2020-05-24 23:34:41 +02:00
Daiderd Jordan 3810d18a52
update crates 2020-05-24 23:34:41 +02:00
Daiderd Jordan b9c72fbaf1
hyper-native-tls: 0.2.4 -> 0.3.0
This depends on openssl 0.9.24, which only supports OpenSSL up to 1.1.0,
while the default OpenSSL in nixpkgs is 1.1.1g.
2020-05-24 23:33:08 +02:00
Daiderd Jordan b44b9af757
rust-amqp: remove 2020-05-24 22:22:15 +02:00
Daiderd Jordan 45672f8782
remove rust-amqp implementations
This has all been converted to the lapin implementations.
2020-05-24 22:21:08 +02:00
Daiderd Jordan fd1b7967b1
Merge pull request #501 from LnL7/cargo-update
cargo update
2020-05-24 22:19:28 +02:00
Daiderd Jordan a8b2894b0a
update crates 2020-05-24 22:05:56 +02:00
Daiderd Jordan d053fd20fb
cargo update 2020-05-24 22:05:56 +02:00
Daiderd Jordan 69c0fbb8bb
lapin: 1.0.0-beta4 -> 1.0.0-rc6
CloseOnDrop was removed so channels can be used directly now.
2020-05-24 21:45:47 +02:00
Daiderd Jordan cdf8cbb6e0
Merge pull request #500 from LnL7/lapin-test-binaries
lapin test binaries
2020-05-24 21:43:47 +02:00
Daiderd Jordan 65699e5555
Merge pull request #499 from LnL7/crate2nix
use crate2nix
2020-05-24 20:27:22 +02:00
Daiderd Jordan bf07e6e0c0
make update-crates pure
This works with --pure now so it doesn't depend on having anything
installed outside of the nix-shell shebang anymore.
2020-05-24 20:26:30 +02:00
Daiderd Jordan 29de5c6134
remove carnix 2020-05-24 20:26:30 +02:00
Daiderd Jordan bf41d6c035
enforce Cargo.lock is up to date instead of building 2020-05-24 20:26:30 +02:00
Daiderd Jordan 0a7e29b7d7
generate Cargo.nix with cargo2nix 2020-05-24 20:26:26 +02:00
Daiderd Jordan b464c296ce
convert build faker to easylapin
Another utility used just for testing.
2020-05-24 19:43:39 +02:00
Daiderd Jordan 6014e08415
convert log message generator to easylapin
Just a utility, not used or needed by any of the services.
2020-05-24 19:43:36 +02:00
Daiderd Jordan dcb534e3ae
replace update-carnix.sh
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in
separately.
2020-05-24 13:35:06 +02:00
Daiderd Jordan c7a5d20f52
remove workspace workarounds for carnix 2020-05-24 13:06:50 +02:00
Daiderd Jordan 634e68cb15
nixpkgs: 2020-02-19 -> 2020-05-19
It seems like the latest crate2nix depends on some changes to the rust
infrastructure in nixpkgs.

    error: cannot coerce null to a string, at pkgs/build-support/rust/build-rust-crate/configure-crate.nix:33:4
2020-05-24 12:52:09 +02:00
Daiderd Jordan d9dccbcd3a
Merge pull request #497 from LnL7/relax-ghevent-parsing
relax PullRequestAction parsing
2020-05-23 21:58:27 +02:00
Daiderd Jordan 5e48f5f019
Merge pull request #495 from LnL7/lapin-log-message-collector
convert log-message-collector to easylapin
2020-05-23 21:58:00 +02:00
Daiderd Jordan 2dc4868500
Merge pull request #493 from LnL7/lapin-stats
lapin stats
2020-05-23 21:57:30 +02:00
Daiderd Jordan b6e870f5cb
Update ofborg/src/easylapin.rs
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-05-23 21:41:11 +02:00
Daiderd Jordan e5b9084f05
relax PullRequestAction parsing
Unknown events are fine here, as long as it's a valid event continue and
consider it not interesting instead.

Should alleviate fixes like #496 in the future.
2020-05-23 09:59:39 +02:00
Daiderd Jordan 08717c5cf2
Merge pull request #496 from LnL7/converted-to-draft
handle converted_to_draft events
2020-05-23 00:32:37 +02:00
Daiderd Jordan c59aae73a5
handle converted_to_draft events
This really shouldn't break the evaluation filter.
2020-05-23 00:16:46 +02:00
Daiderd Jordan f652901df2
move prefetch qos to WorkerChannel
This way the log collecter can use a channel with prefetching while the
other workers still consume items one by one.
2020-05-22 21:55:18 +02:00
Daiderd Jordan 51b4c3dbc9
convert log-message-collector to easylapin 2020-05-22 19:30:14 +02:00
Graham Christensen d4c534d170
Merge pull request #494 from LnL7/fix-evaluation-queue
fix evaluation-filter queue
2020-05-22 08:16:54 -04:00
Daiderd Jordan cbaa7785a2
fix evaluation-filter queue
This was a typo.
2020-05-22 14:14:26 +02:00
Daiderd Jordan 41c2899e3c
convert stats to easyamqp 2020-05-21 23:38:20 +02:00
Daiderd Jordan 874bfcd028
Merge pull request #492 from LnL7/lapin-mass-rebuilder
lapin mass rebuilder
2020-05-21 23:37:10 +02:00
Daiderd Jordan b7a8808fc3
Merge pull request #491 from LnL7/lapin-evaluation-filter
lapin evaluation filter
2020-05-21 23:37:00 +02:00
Daiderd Jordan 910330c28d
start span for evaluations in consumer 2020-05-21 21:14:25 +02:00