Umeaboy | How can one tell what Android version a Sailfish OS version is based upon? I know Lineage OS has a list that shows what AOSP version it's based on. | 00:03 |
---|---|---|
*** Mikaela is now known as Guest573 | 02:15 | |
ilpianista | rinigus: I'm writing one UI application (two, actually) that wraps a binary which I download and ship with the application itself. I'm allowed to push this to chum? | 08:05 |
nephros | Q: which parts of the OS consume the info in mobile-broadband-provider-info/serviceproviders.xml? | 09:19 |
nephros | and is it build-time or runtime? | 09:20 |
rinigus | ilpianista: I think that if that binary is in the rpm or source repo then it should be no go. If user downloads after starting UI, it should be fine. At least that's my understanding of the rules | 09:22 |
rinigus | Cc piggz ^ | 09:23 |
ilpianista | rinigus: it isn't just a binary, there's also a systemd service file and I would avoid to mess with installing those at the first application start | 09:24 |
ilpianista | (oh well, I could still ship the systemd service file in the rpm...) | 09:25 |
rinigus | ilpianista: can that binary be built from source? Then you could package it separatly as RPM and use as a dependency for UI | 09:27 |
ilpianista | rinigus: that was my plan B. Both are golang applications. Is out there some example already? | 09:28 |
rinigus | ilpianista: not that I am aware of. Is it packaged for Fedora? Then you could probably use their packaging scripts | 09:29 |
nephros | golang, like rust/cargo aps are a pain to build beacause of theri reliance on pulling stuff from the net at build time. | 09:32 |
ilpianista | oh right, there's this ^ | 09:34 |
nephros | on OBS, is it reasonably secure to %define API keys and similar in the package meta (prjconf)? | 10:42 |
rinigus | ilpianista: I don't know how to get around it with OBS. Suse builds at OBS, maybe they have some tricks with golang packaging. Surely don't want to force working on packaging more than on app :( | 11:17 |
rinigus | nephros: so far, we don't have any secure way of keeping api keys. Mainly via obscurity | 11:19 |
jaimeMF | On openSUSE the go dependencies are vendored using an OBS service https://github.com/openSUSE/obs-service-go_modules. An example is rclone: https://build.opensuse.org/package/show/openSUSE%3AFactory/rclone | 13:48 |
Thaodan | You can do the same on Sailfish OS as the obs service is run locally. | 13:54 |
nephros | Very cool, didn't know about those services. Might try for rclone source build one of these days. | 18:13 |
nephros | Though the binary works perfectly. | 18:14 |
Thaodan | nephros: you instal them locally and run osc service <service> | 18:17 |
Thaodan | https://github.com/SailfishOS-SonyXperia/build/blob/master/osc_localbuild_dhd.sh#L35 | 18:18 |
nephros | Excellent, thanks! | 18:18 |
*** Mikaela is now known as Guest654 | 19:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!