| 14 May 2022 |
| Florian | W3F changed their display name from Florian | W3F to Florian | OoO -> 29.5.. | 11:55:50 |
| 15 May 2022 |
| dadada changed their display name from dadada (er/they) to dadada / Tim. | 13:19:12 |
@ulrikstrid:matrix.org | Some maybe stupid questions:
* How do I make docker/VM images available after a run?
* How can I upload my cache to cachix/S3 after a run? | 14:03:05 |
cransom | you can use runCommand to push paths to a cache. if you look around for references to hydra-build-products in nixpkgs, you'll see how to create links for downloads in hydra. | 16:49:58 |
@ulrikstrid:matrix.org | In reply to @casey:hubns.net you can use runCommand to push paths to a cache. if you look around for references to hydra-build-products in nixpkgs, you'll see how to create links for downloads in hydra. Thank you 🙏 | 16:53:59 |
| 16 May 2022 |
| @0b11:matrix.org joined the room. | 04:23:39 |
| @0b11:matrix.org changed their display name from 0b01010011 to 0x53. | 04:26:08 |
| @cgroves:matrix.org left the room. | 13:19:04 |
| @lina:monero.social left the room. | 18:15:46 |
| 17 May 2022 |
| kranium joined the room. | 12:22:43 |
@ulrikstrid:matrix.org | Getting this error: Use of uninitialized value in split at /nix/store/g3lg8z40x6m0l81h3fjkvg6gd2h9wv3m-hydra-0.1.20220502.7c133a9/libexec/hydra/lib/Hydra/Plugin/GithubPulls.pm line 33. which seems to be this line: https://github.com/NixOS/hydra/blob/b41818e067c7d3925171bcfaeb854015d5b64ff1/src/lib/Hydra/Plugin/GithubPulls.pm#L33 | 19:40:06 |
@ulrikstrid:matrix.org | How can I debug/Fix this? I'm not a good perl developer :P | 19:40:23 |
mei 🌒& | one would guess $res->header("Link") is null (I have never used perl before) | 19:45:19 |
mei 🌒& | * one would guess $res->header("Link") is null (I have never written perl before) | 19:45:32 |
das_j | In reply to @ckie:ckie.dev one would guess $res->header("Link") is null (I have never written perl before) it's actually undef, making it appear that no Link header was returned | 19:50:21 |
mei 🌒& | i did say i've never written perl before (^: | 19:50:46 |
mei 🌒& | does perl have a null though? | 19:50:55 |
das_j | no, just undef | 19:51:00 |
das_j | … or does it? | 19:51:04 |
mei 🌒& | vsauce music | 19:51:12 |
das_j | In reply to @janne.hess:helsinki-systems.de it's actually undef, making it appear that no Link header was returned if that's a valid case (and the integration doesn't break when no Link is returned) you can just do `split ',', ($res->header("Link") // ""); | 19:51:30 |
das_j | In reply to @janne.hess:helsinki-systems.de it's actually undef, making it appear that no Link header was returned * if that's a valid case (and the integration doesn't break when no Link is returned) you can just do `split ',', ($res->header("Link") // "");` | 19:51:34 |
das_j | * if that's a valid case (and the integration doesn't break when no Link is returned) you can just do split ',', ($res->header("Link") // ""); | 19:51:42 |
das_j | DB<2> print STDERR (undef // "lal");
lal
DB<3> print STDERR ("abc" // "lal");
abc
| 19:52:17 |
das_j | In reply to @janne.hess:helsinki-systems.de if that's a valid case (and the integration doesn't break when no Link is returned) you can just do split ',', ($res->header("Link") // ""); probably without the parenthesis but it makes it a lot more readable | 19:52:44 |
| 18 May 2022 |
| Jhu joined the room. | 06:46:51 |
@ulrikstrid:matrix.org | Thank you das_j that seems to have worked! :) And now I finally figured out the last pieces to get GitHub PRs working with flakes | 12:05:44 |
@ulrikstrid:matrix.org | Should I open a PR with your change or do you want to do it? 🤔 | 12:06:16 |
das_j | No, feel free. I don't use the plugin at all | 12:14:58 |
das_j | * Feel free to do it. I don't use the plugin at all | 12:15:12 |