<danielrf[m]>
My script is under `mk-repo-file.py`
<danielrf[m]>
It relies on a lightly forked version of `repo` that provides a new `dumpjson` command that outputs the parsed manifest information we need
<danielrf[m]>
`my-repo-file.py` then takes that json output and appends `sha256`s from nix-prefetch-git
<danielrf[m]>
I thought I should let you all know in case there is any interest
<danielrf[m]>
It looks like you only need information for certain subprojects instead of the entire repo in spectrum--while I need the entire repo
<danielrf[m]>
but there might be some code we could share in the future if you ever find yourself needing something more than the existing `update.py` script
cole-h has quit [Quit: Goodbye]
<qyliss>
danielrf[m]: that script actually exists in upstream Nixpkgs, and it would maybe be cool to pull it into its own seperate thing and collaborate there?
<qyliss>
It's crosvm.updateScript in upstream Nixpkgs.
<qyliss>
Although I'd be hesitant to rely on a modified repo -- what do you need that for?
nicoo has quit [Remote host closed the connection]
nicoo has joined #spectrum
inf has joined #spectrum
cole-h has joined #spectrum
<danielrf[m]>
qyliss: it's not strictly necessary--but I've found it easier to rely on the upstream project to do any parsing / evaluation of their files, and just patching it to output the data in the format we need
<danielrf[m]>
Yeah, i'd be up for collaborating on something like this in the future--at the very least I should try to clean up my script and add some basic tests