attah | piggz: so... what are the chances for a "chum for chumps" write-up? | 17:43 |
---|---|---|
piggz | attah: in what way, from a dev perspective, ie, build on obs? | 18:35 |
attah | like a bit of hand holding, hello-world as a project, basic rpm spec and some links to where to read more... a few screenshots of OBS and so on | 18:36 |
attah | there are few pieces of software i can't figure out... but OBS - i haven't got the foggiest where to even begin | 18:41 |
piggz | attah: sure, will help, let me eatfirst | 19:03 |
attah | no hurry, definitely doesn't have to be today | 19:04 |
attah | or rather, other days are even preferred... first day back at work after vacation so my brain is extra mushy :) | 19:05 |
attah | (i tried to understand OBS a few times before, but got nowhere then either) | 19:06 |
piggz | attah: so, do you have an account? | 19:10 |
attah | yes | 19:10 |
piggz | attah: so, what would you like to build ... i recon we can quickly do this tonight without hurting your head at all | 19:14 |
attah | sure, let's try | 19:15 |
attah | i was going to try for Eralng/OTP... but i haven't dug up a rpm spec yet | 19:15 |
attah | would SeaPrint work as an example? | 19:15 |
piggz | sure, whats its github url | 19:16 |
attah | https://github.com/attah/harbour-seaprint | 19:16 |
piggz | attah: so, 1) click "create package" | 19:18 |
piggz | give it a name, eg, harbour-seaprint | 19:18 |
attah | under home project? | 19:18 |
piggz | yes | 19:18 |
piggz | then, click "add file" | 19:18 |
attah | mhm | 19:18 |
piggz | there are 2 ways to do the net bit .. ill do the easier way first, then ill explain how i do it.... | 19:20 |
piggz | create test file on your computer called _service with the content from https://paste.mozilla.org/2KX2fi3T | 19:20 |
attah | sounds good | 19:20 |
piggz | s/text | 19:20 |
piggz | in the add file page, add that file | 19:20 |
piggz | and, that is about all you need to do! | 19:20 |
attah | i think i'll want to change branch, no? | 19:21 |
piggz | maybe | 19:21 |
piggz | thats up to you | 19:21 |
piggz | you can also specify git revision etc | 19:21 |
piggz | or a tag | 19:22 |
attah | but hybris-17 will not resolve right? | 19:22 |
piggz | oh,, yes, | 19:22 |
piggz | remove that! | 19:22 |
attah | just nuke the line? | 19:22 |
piggz | keep the line, put master in | 19:22 |
attah | okay, uploaded | 19:23 |
attah | oh, and i should have named it something special, shouldn't i? | 19:23 |
attah | ah... mu irc client easting underscores :( | 19:24 |
attah | wow, more files appeared | 19:25 |
piggz | now its building | 19:26 |
piggz | nd its failed, becuase your .spec dosnnt specify correct build requires :) | 19:27 |
piggz | it found a bug :D | 19:27 |
attah | i guess it still uses yaml | 19:27 |
piggz | im pretty sure OBS wont use yaml ... when we added a project without a spec, just a yaml it complained | 19:28 |
attah | but none the less, proof of concept achieved | 19:29 |
attah | thank you | 19:29 |
piggz | np | 19:29 |
piggz | you can do other things, like create subprojects. | 19:29 |
piggz | i have sub-projects for certain packages | 19:29 |
piggz | you can click the "trigger service" button to re-trigger fetching source | 19:30 |
piggz | and, on the list of options, if you click advanced, and click "meta" ... you can edit the project config xml manually | 19:31 |
piggz | its easier to add build targets there, instead of through the UI | 19:31 |
piggz | see the meta forone of mine https://build.merproject.org/project/meta/home:piggz:harbour-amazfish | 19:31 |
attah | hmmm, currently i have none it seems... but it still built? | 19:33 |
piggz | you have 2 targets | 19:33 |
piggz | one is misconfigured though | 19:33 |
piggz | targets are in the project, not that package | 19:33 |
piggz | incase you clicked meta in the project | 19:33 |
piggz | a/package | 19:33 |
piggz | s/package | 19:33 |
piggz | https://build.merproject.org/project/meta/home:attah | 19:34 |
attah | still don't see that meta button for "not the package" | 19:36 |
attah | actually, that too ran away | 19:36 |
attah | i got logged out, but logged in again... and now they are gonesky | 19:36 |
attah | nevermind.. advanced mode | 19:36 |
piggz | yup :P | 19:37 |
piggz | attah: when you are happy a package can build ok, and want to add it to chum:testing, click "submit package" and enter "sailfishos:chum:testing" as the destination | 19:38 |
attah | will do... i need me some Erlang on the phone | 19:39 |
attah | and maybe this https://github.com/attah/my_fastboot | 19:39 |
piggz | sure, add some packaging fr them, and im sure they can be added no problem | 19:40 |
attah | piggz: success! https://build.sailfishos.org/package/binaries/home:attah/harbour-seaprint?repository=sailfish_latest_armv7hl | 20:07 |
attah | thank you | 20:07 |
piggz | attah: gr8, now add targets for aarch64/i486 :) | 20:08 |
piggz | attah: so, are you fully on-board now, get the benefits? | 20:17 |
attah | we'll have to see (: | 20:17 |
attah | but yes, i'm definitely up and running | 20:18 |
attah | since i don't have any fancy dependencies i guess i'm just at the basic level... but it's already pretty neat | 20:18 |
attah | (i.e. docker and github actions could do it too) | 20:19 |
piggz | attah: much easier to have zypper repos than docker/actions i assume? | 20:27 |
piggz | if you had a bunch of things you wanted to package, you could just add the repo to your device with zypper ar, and install | 20:27 |
attah | yes, that end of things is definitely better | 20:28 |
attah | i remember reading that GitHub now had "packages" or whatever for releases.... but it was all just hipster BS :P | 20:29 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!