ChanServ changed the topic of #robotnix to: Robotnix: https://github.com/danielfullmer/robotnix || Channel logs: https://logs.nix.samueldr.com/robotnix
<samueldr> note again that flashable zips can do just about anything they want
<samueldr> I know the pixel experience project roms have gapps integrated
<samueldr> ajs124: if that interests you ^
<samueldr> though quickly on their github I saw only an empty repo that maybe would be relevant
<ajs124> opengapps has some aosp build system integration iirc, as well
<samueldr> hopefully
<samueldr> it seems there is https://github.com/opengapps/aosp_build
<ajs124> the main thing I wanted to figure out first is how to get the apps in a reproducible way. because what opengapps does is just stick all of them in some huge (and in tens or hundreds of GBs) git repos.
ajs124 has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has joined #robotnix
Kranzes has joined #robotnix
<Kranzes> Hey, i am trying to update the LineageOS repo but the update.sh script for lineageos does not change anything in repo-lineage-17.1.json
<danielrf[m]> Kranzes: I just tried it locally, and it fails when trying to fetch android_device_motorola_hannah
<danielrf[m]> Does yours fail at the same spot?
<Kranzes> No, it does not fail
<Kranzes> it just doesnt modify that repo file
<danielrf[m]> Oh, it might be because I hadn't updated my local mirror...
<Kranzes> i didnt touch the mirrors too
<Kranzes> i didnt modify the update.sh file
<Kranzes> so it has *your* $USER in there
<Kranzes> i guess i should change it to mine?
<danielrf[m]> No, you don't need to edit it
<danielrf[m]> That functionality is just if you have locally checked out your own lineageos mirror
<danielrf[m]> but that's option
<danielrf[m]> *optional
<danielrf[m]> But try removing the repo json file and re-running update
<danielrf[m]> It tries to use cached results from the JSON file by default
<Kranzes> i will try that
<Kranzes> give me a sec
<Kranzes> seems like its doing it no
<Kranzes> now
<Kranzes> it is cloning the sources
<Kranzes> i guess i had to delete the original JSON file
<danielrf[m]> Good to hear. The other option instead of removing is to use `./update.sh --force`
<danielrf[m]> I should add a comment in that update script
<Kranzes> that'll be a good idea
<danielrf[m]> --force will force a re-download.
<Kranzes> i see
<Kranzes> i didnt even know update.sh had any options
<danielrf[m]> The normal behavior of using the cached results is nice if your update crashes halfway through
<danielrf[m]> they get passed through to the underlying mk-repo-file.py
<Kranzes> i see
<danielrf[m]> It's also nice for tagged releases, since the tag doesn't change.
<danielrf[m]> However, since lineageos just has the branch, but no tagged releases, we have to force it to re-check if git revisions have changed
<Kranzes> i was also wondering what are some new things you plan on implementing into robotnix soon
<danielrf[m]> near-term is finishing docs
<Kranzes> oh great!
<danielrf[m]> I've got a huge TODO list though :)
<danielrf[m]> Is there anything you'd like to see in robotnix?
<Kranzes> is it private?
<Kranzes> i will have to think about that
<Kranzes> right now im still just amazed by this project
<Kranzes> and the amount of work that has been put into it!
<Kranzes> well done!
<danielrf[m]> Yeah, it's private. It's mostly half-finished notes and random thoughts
<danielrf[m]> Oh thanks! I appreciate it!
<danielrf[m]> Doing "reproducibility reports" is also high priority for me
<danielrf[m]> as well as setting up hydra / some automated builder
<danielrf[m]> Also hoping to get a nice test suite running that could be similar to NixOS tests, using the android "compatibility test suite"
<danielrf[m]> Would love to be able to do combined android-nixos tests. Like, ensuring the OTA updater can actually fetch from a nixos webserver
<Kranzes> Oh i've got an idea about what you can add to robotnix which should be fairly simple, something like fdroid, you could add Aurora store and Aurora services
<danielrf[m]> Ah yes, I've thought about that in the past, and it should be doable
<Kranzes> yeah ive done it myself with prebuilt apks
<Kranzes> 5 days ago or so a new version of aurora store + aurora services came out
<danielrf[m]> Most of the modules currently in robotnix are things that I personally use, so I can make sure they're up-to-date and remain working
<danielrf[m]> As we start adding stuff that I don't personally use, I'd like to be able to have basic android tests to ensure that things don't break over time.
<Kranzes> i can also maintain some stuff since ive got plently of time atm, just gotta figure out how git works lol, i dont have much experience with git besides making issues haha
Kranzes has quit [Quit: Connection closed]
henri has joined #robotnix
<henri> I've just browsed through the logs of the last days to see whether anything interesting is going on.
<henri> In passing I noticed that my configs have apparently gained some minor popularity.
<henri> Therefore I've added some notes on the settings that fall a bit out of line.
<danielrf[m]> yeah, I thought they were decent examples of how to use robotnix with devices that are directly supported in the repo
<danielrf[m]> cool!
<henri> Like my usage of apv.buildID in LineageOS and why I pick the Google Camera from the APV image.
<danielrf[m]> oh
<henri> So if you want to build OTA targets you have to set it to something.
<danielrf[m]> I had forgotten that was necessary for the ota metadata
<danielrf[m]> I should check how that's used in the Updater app
<danielrf[m]> I saw you removed your updater URL :)
<danielrf[m]> Did you end up having random IPs checking for updates like I did ?
<henri> I remove the updater because it doesn't work for LineageOS and the Lineage updater is not ready yet.
<henri> The sunfish config still has the updater enabled.
<danielrf[m]> ah, I see
<danielrf[m]> I think some people were using my example config directly, without noticing that it bakes in my updater URL
<henri> I have the access log of nginx disabled, because it's just noise to me, so I can't tell how is checking for updates on my server.
<henri> Earlier you've asked about feature requests. I actually have one and I know that you have it too: A NixOS module for an F-Droid repo to serve out-of-band updates.
<danielrf[m]> Indeed. Signing / keys have been what's held me back from doing that thus far
henri has quit [Quit: ERC (IRC client for Emacs 27.1)]
<danielrf[m]> Doesn't look like the updater app is even using the buildID from the OTA metadata
<danielrf[m]> Otherwise it would use metadata[2]
<danielrf[m]> Just tagged and pushed lineageos-2021.03.24.23
<danielrf[m]> tested working on my pixel xl
<samueldr> haha, from grapheneos device to lineageos device? :)
<samueldr> (since it was dropped)
<danielrf[m]> that was a while ago actually. I previously tested lineageos on marlin
<danielrf[m]> marlin has been my mobile-nixos / lineageos device :)