<MichaelRaskin>
We are losing qyliss, understanding what the hell is Google doing is not a good sign
<qyliss>
Now, since there's only one tag per release number, that buildspec is not for disambiguation I think, but so that you can easily tell which buildspec is which release
<qyliss>
This is corroborated by the fact that V 80, which is not out yet, but does have builds, doesn't have a corresponding tag.
<MichaelRaskin>
It's a foreign key to some huge SVN repo!
<qyliss>
release-R79-12607.B is cfb7db44eb9e5a0bca9a22bfb985252ef74ab251
<qyliss>
So hyperfekt, it's the tags you want to use
<hyperfekt>
so the latest stable build currently released to a device is 77.0.3865.105
<qyliss>
hyperfekt: that web page doesn't load for me
<hyperfekt>
you sure? it takes a loong while
<qyliss>
500 from the API
<qyliss>
or the CSV url or whatever
<qyliss>
Okay I can load it with curl
<hyperfekt>
lmao that have python script to find a buildspec for a version
<qyliss>
hyperfekt: you mean they have one?
<hyperfekt>
oh i was looking at chromium versions not cros versions, just got up, still a bit slow
<hyperfekt>
okay so the release-R77-12371.B tag is the latest stable
<hyperfekt>
i guess we would check for the current stable chromium version, find out its tag and that should do the job, theoretically
<qyliss>
That should be easy enough to script
<MichaelRaskin>
And what is the status of R79 then?
<hyperfekt>
which is a sensible setup for the chromium repo to have but them having that was not an assumption i was willing to make
<qyliss>
MichaelRaskin: R79 is dev channel
<MichaelRaskin>
Ah
<MichaelRaskin>
So there will be another, later R79?
<qyliss>
guessing so
<hyperfekt>
yeah, i presume the latest build in a major version is the relase in a channel attached to that version, and they just keep piling builds on top
<qyliss>
But we can at least write a script to get the tag version from a stable version
<qyliss>
hyperfekt: how do you feel about a patch to your PR to finish it up?
<hyperfekt>
the other thing to do is to make the patch applied to crosvm pretty
<hyperfekt>
as in compile time instead of run time env var
<hyperfekt>
if you wanna do the updater i'll look into how that is done in rust
<hyperfekt>
you found an api to get the major version of the stable channel yet? i don't wanna tie it to chromium getting updated or the maintainer having to enter it manually
<qyliss>
hyperfekt: yeah, that site you linked is I assume specific to Chromium OS
<qyliss>
Since it's called cros- whatever
<hyperfekt>
okay so we filter that csv by stable, sort, use that as tag
<hyperfekt>
that's cleaner than looking for a tag for a major version in the repo anyway
<qyliss>
Yeah
<qyliss>
lmao the CSV is malformed
<qyliss>
Acer Chromebook 15 (CB5-571, C910) is a field
<qyliss>
they don't quote it
<hyperfekt>
that's why i was looking for an API, this site doesn't seem to be meant for actual consumption lol
<qyliss>
But this works well enough
<qyliss>
hyperfekt: they link to the CSV!!
<qyliss>
So it must be meant for consumption of some sort
<MichaelRaskin>
Well, CSV that doesn't even load every time…
<hyperfekt>
^ this :/
<MichaelRaskin>
Well-formedness of the _last_ field in CSV is not _that_ relevant
<hyperfekt>
but it speaks to the care taken to provide that interface and thus the likelihood of it breaking on us
<qyliss>
I doubt it's gonna break
<qyliss>
It's at least going to be stably broken
<qyliss>
And if it breaks, that's not a huge deal
<qyliss>
We can find some new way
<MichaelRaskin>
I also think that care to follow output format spec and care to update when upstream behaviour changes are completely unrelated, so we have no idea if something is going to break
MichaelRaskin has quit [Quit: MichaelRaskin]
<hyperfekt>
ugh anyone here already know how gerrit works? i'm not so keen on submitting this patch lol
<qyliss>
I've used gerrit before
<Shell>
iirc you push things to refs/for/<branch> and it creates a branch/gerrit page with your commits?
<qyliss>
And there's usually a wrapper to do it for you in Google's repo
pie_ has joined #spectrum
<hyperfekt>
pushed the crosvm pr with the nicer patch