ChanServ changed the topic of #freedesktop to:
muhomor has joined #freedesktop
muhomor has quit [Remote host closed the connection]
muhomor has joined #freedesktop
ximion has quit []
chomwitt has joined #freedesktop
i-garrison has joined #freedesktop
danvet has joined #freedesktop
slomo_ has joined #freedesktop
chomwitt has quit [Ping timeout: 480 seconds]
zzag[m] has joined #freedesktop
zzag has left #freedesktop [#freedesktop]
immibis has quit [Ping timeout: 480 seconds]
rbrune has joined #freedesktop
jcristau has quit [Remote host closed the connection]
chomwitt has joined #freedesktop
jcristau has joined #freedesktop
ximion has joined #freedesktop
xexaxo has quit [Ping timeout: 480 seconds]
thaller is now known as Guest1764
thaller has joined #freedesktop
Guest1764 has quit [Ping timeout: 480 seconds]
rbrune has quit [Remote host closed the connection]
rbrune has joined #freedesktop
xexaxo has joined #freedesktop
chomwitt has quit [Ping timeout: 480 seconds]
aleksander has joined #freedesktop
chomwitt has joined #freedesktop
Seirdy has quit [Ping timeout: 480 seconds]
Seirdy has joined #freedesktop
rbrune has quit [Quit: Leaving]
danvet has quit [Ping timeout: 480 seconds]
danvet has joined #freedesktop
chomwitt has quit [Ping timeout: 480 seconds]
rbrune has joined #freedesktop
chomwitt has joined #freedesktop
nroberts has joined #freedesktop
ximion has quit []
<slomo_> the CI image registry needs to be kicked again :) https://gitlab.freedesktop.org/vivia/gst-plugins-rs/-/jobs/14333330
<daniels> done
<karolherbst> daniels: do you know who was involved in the patchwork git hooks we used in mesa once?
<karolherbst> I kind of want to clean up the patchwork queue we have for nouveau and at least filter all the patches out which already landed
<karolherbst> and it would be nice to have a tool which I could run once and get rid of at least some of those
<karolherbst> I suspect it was a server side git hook
<karolherbst> which did it for mesa on pushes to the repo
Haaninjo has joined #freedesktop
<karolherbst> ohh. I actually have access
<karolherbst> post-receive.d/00-post-receive :)
<karolherbst> found it
<karolherbst> ehh.. it runs server side
<daniels> that's the one indeed
<karolherbst> now I am kind of scared to use it :D
<daniels> I think you'd be the only person who'd notice tbf
<karolherbst> I kind of hoped there would be an API to use or something :/
<karolherbst> daniels: yeah... so my plan was to find lost patches and apply them
<karolherbst> enough patches there to figure out how to do gitlab for the kernel
<karolherbst> maybe I run it between two kernel releases first and see how that goes
<daniels> well, pwclient does just speak REST under the hood
<karolherbst> ohh
<karolherbst> and how does it authenticate?
<karolherbst> I guess some config file on the server?
ceyusa has joined #freedesktop
<daniels> unfortunately it's username+pass, no tokens
<karolherbst> sure, but the script doesn't contain that info :P
<karolherbst> but if I can use pwclient locally that would be cool
<daniels> it just uses pwclient
<daniels> and indeed you can
<karolherbst> okay
<karolherbst> ahh, cool
<karolherbst> thanks
<karolherbst> but I guess I need to download patchwork or so
<karolherbst> daniels: do you know which version we are using on the server?
<karolherbst> the directory kind of moved, so don't know where the installation lives atm
<daniels> a massive fork of a really old version, but you should be able to pip3 --user install pwclient
<karolherbst> now what to dow ith hash=$(git show $1 | python $PWDIR/parser.py --hash)
<karolherbst> oh wow.. that looks completely different than the upstream one I found
<daniels> yeah, just a bit ...
<daniels> it was forked a long time ago, and quite violently, when upstream were dead
<daniels> then new upstream decided they wanted things to be very different to the intel version
<karolherbst> ahh
ybogdano has joined #freedesktop
<karolherbst> okay.. seems to work gneerally, just tried it without credentials for now
<karolherbst> and I might restrict it to drm commits
<karolherbst> reduces the amount of patches to check by 90%
<karolherbst> nouveau commits first then :)
<karolherbst> daniels: okay, thanks for all the help. Hopefully with that I am able to find lost patches and apply them later :)
<daniels> np!
<daniels> git-pw is your friend there
<karolherbst> might even gitlab CI it :D
<daniels> I'm sure they'll all apply cleanly
<karolherbst> ehh
<karolherbst> for now I just wget the mbox file and used git am ...
<karolherbst> ehh
<karolherbst> dim I meant
<karolherbst> might script it away though :)
muhomor has quit [Remote host closed the connection]
muhomor has joined #freedesktop
ybogdano has quit [Ping timeout: 480 seconds]
ybogdano has joined #freedesktop
<karolherbst> "I: 10 patch(es) updated to state Accepted." \o/
<karolherbst> mhh
<karolherbst> patchwork somehow didn't care
<karolherbst> "Error updating patch: <class 'Exception'>:No permissions to edit this patch" ahh ...
<karolherbst> daniels: what do I need to do to get those permissions?
<karolherbst> account name would be karolherbst2
<karolherbst> (I am sure I had other accounts, but somehow lost access to them or so.. my email pointed toward that one)
<daniels> karolherbst: try now?
<karolherbst> looks better
<karolherbst> nice
<karolherbst> top 8
<karolherbst> two commit failed for.. whatever reasons
<karolherbst> "xmlrpc.client.Fault: <Fault 1: "<class 'IndexError'>:list index out of range">" ...
<karolherbst> maybe hash doesn't exist or something
<karolherbst> okay cool
<karolherbst> that helps
<karolherbst> let's run it on a few older releases :D
<karolherbst> and limited to nouveau patches
<karolherbst> but this is slow :(
<karolherbst> also.. I can't limit it to drivers/gpu/drm/nouveau/ because a lot of patches don't touch nouveau :/ oh well
<karolherbst> I guess in 2022 I will have all the patches marked as updated
<karolherbst> eh.. Accepted
demarchi has quit [Ping timeout: 480 seconds]
dev[m] has quit [Ping timeout: 480 seconds]
heftig[m] has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
ewlsh[m] has quit [Ping timeout: 480 seconds]
ngcortes has joined #freedesktop
icecream95 has quit [Ping timeout: 480 seconds]
ybogdano has joined #freedesktop
gkiagia has quit [Ping timeout: 480 seconds]
x[m] has quit [Ping timeout: 480 seconds]
Sheogorath[m] has quit [Ping timeout: 480 seconds]
pendingchaos_ has joined #freedesktop
pendingchaos has quit [Ping timeout: 480 seconds]
tintou has quit [Ping timeout: 480 seconds]
immibis has joined #freedesktop
pendingchaos_ is now known as pendingchaos
yasin-f[m] has quit [Ping timeout: 480 seconds]
xexaxo has quit [Ping timeout: 480 seconds]
autistic79 has quit [Read error: Connection reset by peer]
autistic79 has joined #freedesktop
i-garrison has quit []
i-garrison has joined #freedesktop
ximion has joined #freedesktop
xexaxo has joined #freedesktop
ignapk[m] has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
ybogdano has joined #freedesktop
lyudess has joined #freedesktop
Lyude has quit [Ping timeout: 480 seconds]
<karolherbst> I actually thought this could end up being a server side perf nightmare, but if the hasher crunches through a " 11 files changed, 266481 insertions(+)" patch...
ybogdano has quit [Ping timeout: 480 seconds]
alanc has joined #freedesktop
ybogdano has joined #freedesktop
jstein has joined #freedesktop
Seirdy_ has joined #freedesktop
Seirdy has quit [Ping timeout: 480 seconds]
Seirdy_ has quit []
Seirdy has joined #freedesktop
<karolherbst> daniels: do we have the rest API enabled?
ngcortes has quit [Read error: Connection reset by peer]
<karolherbst> pwclient isn't helpful enough :(
<ajax> pwclient uses the rest api, non?
<karolherbst> I had to use the xmlrpc endpoint
<ajax> i sit corrected
<karolherbst> but I don't think the pwclient is even able to do what I need
<karolherbst> soo...
<karolherbst> we have patches added to multiple projects
<karolherbst> having the same hash
<karolherbst> and if we check by hash we only get one patch id :)
<karolherbst> but I need all of them
<karolherbst> otherwise I might set a patch in the dri-devel project as Accepted, but all "copies" in other projects are still in New state
<karolherbst> which.... doesn't help
<karolherbst> ohh.. there is actually a by_project_hash variant not all servers have.. itneresting
ybogdano has quit [Ping timeout: 480 seconds]
scorpion2185[m] has quit [Ping timeout: 480 seconds]
<karolherbst> nice
<karolherbst> hacked up pwclient
<karolherbst> thta's more like it
<karolherbst> but this solves a different issue :D
<karolherbst> I think resolving by project actually works.. I just found duplicates which weren't merged yet
anholt_ has quit [Quit: Leaving]
ybogdano has joined #freedesktop
danvet has quit [Ping timeout: 480 seconds]
chomwitt has quit [Ping timeout: 480 seconds]
slomo_ has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
<karolherbst> ohh as a side effect of my local hacking, I don't touch other projects at all, speeding up the process
<karolherbst> yay
ybogdano has joined #freedesktop
anholt has joined #freedesktop
<robclark> karolherbst: btw, if you come up with something that works, I'd be interested as well to clean up freedreno pw queue
<karolherbst> robclark: I have :)
<karolherbst> already cleaned up 20% of the patches by finding duplicates
<karolherbst> in total even more
<karolherbst> just fixing the final list of paths to check and make a full sweep for nouveau
<karolherbst> and see how much will be left
<robclark> cool.. I don't have time right now, but later in the week I'll try it to clean up fd patchwork
<karolherbst> without my changes only one was accepted
ybogdano has quit [Ping timeout: 480 seconds]
<karolherbst> the only problem left I know of is updates series patchwork fails to detect as such where some patches change and have a different hash
<karolherbst> but I don't think I have a way to automate this :)
ybogdano has joined #freedesktop
<karolherbst> robclark: but if you want I can also run it for you, just need to know the range of commits. I will figure out how to make all of the changes etc.. available, but patching pwclient seems like ana nnoying endavour for now :/
ybogdano has quit [Ping timeout: 480 seconds]
<robclark> karolherbst: stick patched pwclient and other scripts in a git tree somewhere?
<karolherbst> yeah.. probably
<karolherbst> I... just didn't clone pwclient but messed up the pip installed files directly :D
<karolherbst> robclark: I want to use it for gitlab ci anyway though
<robclark> yeah, using it in ci would be nice
<robclark> although not sure how the credentials part would work
<karolherbst> protected variables?
<karolherbst> but yeah...
ngcortes has joined #freedesktop
ybogdano has joined #freedesktop
MrCooper has quit [Read error: Connection reset by peer]
MrCooper has joined #freedesktop
demarchi1 has joined #freedesktop
rbrune has quit [Ping timeout: 480 seconds]
dev[m] has joined #freedesktop
ybogdano has quit [Ping timeout: 480 seconds]
ybogdano has joined #freedesktop
heftig[m] has joined #freedesktop
jstein has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
MrCooper_ has joined #freedesktop
Haaninjo has quit [Quit: Ex-Chat]
MrCooper has quit [Ping timeout: 480 seconds]
MrCooper__ has joined #freedesktop
MrCooper_ has quit [Remote host closed the connection]