<samueldr>
lazyborg: any trickery you know off the top of your head to know if the current build is failing on a platform, mostly thinking hydra endpoint api or web
<gchristensen>
hehe
<gchristensen>
I think lnl has some bash alias for it
<samueldr>
hope they share next morning :)
<samueldr>
it would be interesting to see the transition state on ofborg builds (failure → failure, success → failure, failure → success) compared to hydra, don't know if it's something hard :/
<samueldr>
and how some people share *everything* about their configs :D
<samueldr>
thanks!
<gchristensen>
:D
<samueldr>
hmm, interesting things, but not sure there is directly something mapping an attribute to a state... all look like they either take urls to hydra things or already known things like job IDs(?)
<ekleog>
gchristensen: looking to reopen https://github.com/NixOS/ofborg/pull/164 , is `scratch` / `scratch-pr` the new correct branch to use? (sorry for not managing to get back to it yet)
<{^_^}>
ofborg#164 (by Ekleog, 15 weeks ago, closed): Make ofborg able to (un)label issues and PRs
<LnL>
yesterday I was complaining about type errors in rust, today I'm trying to get something that even slightly resembles that in python
<gchristensen>
:D
<ekleog>
>>> 1 + "2" ← TypeError: unsupported operand type(s) for +: 'int' and 'str'
<ekleog>
^ free type error for you :D
orivej has quit [Ping timeout: 240 seconds]
<LnL>
we use mypy, but the library we use for serializable structs is implemented using __getattr__
<LnL>
so I an ok, instead of state.backend_state # error: "State" has no attribute "backend_state"
globin has quit [Ping timeout: 260 seconds]
<infinisil>
Idea: Have ofborg do a thumbs up on the build request comment when it received it
<gchristensen>
I think that is a great idea!
orivej has joined #nixos-borg
orivej has quit [Ping timeout: 256 seconds]
globin has joined #nixos-borg
<globin>
gchristensen: deployed btw
<gchristensen>
yay, thank you globin!
orivej has joined #nixos-borg
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-borg
<{^_^}>
[ofborg] @imalsogreg opened pull request #217 → add imalsogreg to known-users list → https://git.io/fN74r
FRidh has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 240 seconds]
<LnL>
gchristensen: do you use rls?
<gchristensen>
I haven't
<gchristensen>
I'd like to ...
<LnL>
let me know if you have a way to install it, it just exits for me
<gchristensen>
I might have gotten it once from rustup?
<LnL>
I'm in this weird state right now where I'm using 3 different versions of vim depending on the project
<gchristensen>
ouch
<LnL>
luckily it's no problem to have 3 versions with different plugins installed with nix :)
<gchristensen>
:D
<gchristensen>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<LnL>
aha, that's better
<gchristensen>
hmm?
<LnL>
ale ignores rust tests by default
<gchristensen>
ohh
* LnL
writes some tests...
orivej has joined #nixos-borg
<{^_^}>
[ofborg] @LnL7 opened pull request #218 → buildresult: replace serialization with an enum to simplify compatibility → https://git.io/fN5Uz
<gchristensen>
WOW!
<gchristensen>
LnL!
<LnL>
looks like I need to fix some rust<1.27.0 errors tho
<LnL>
and I couldn't get partial tagging to work
<gchristensen>
we could update to 1.27
<LnL>
I think it's an easy fix, was wondering why it didn't complain
<LnL>
oh right, we only keep a single version :/
<gchristensen>
oh?
<LnL>
for rust, I can use rust_1_26
<LnL>
can't
<gchristensen>
:(
<LnL>
Pattern matching for Cargo's include/exclude fields is changing and file `test-srcs/make-pr.sh` WILL be included in a future Cargo version.