*** sequantz has quit IRC | 00:01 | |
lbt | back | 00:02 |
---|---|---|
shmerl | wb | 00:02 |
lbt | so the guide does ask you to do some things in the web ui | 00:03 |
shmerl | The guide kind of starts with the UI. And then assumes you made the test package through it. | 00:03 |
lbt | they can be done in cli but need xml editing so to keep it simple.... | 00:03 |
shmerl | Local work already focuses on adding a patch. | 00:03 |
lbt | https://build.merproject.org/project/subprojects?project=home%3Ashmerl suggests no mer subproj :) | 00:03 |
shmerl | I made it a bit from the side. Just took your package and did "osc add" | 00:03 |
shmerl | Ah, that's the base location, so I need to make some subproject there first? | 00:04 |
lbt | well, it also gets you to make a package in the ui too | 00:04 |
*** Pat_o has joined #mer | 00:04 | |
shmerl | OK, I'll make a subproject first. | 00:05 |
lbt | yeah ... let me know if the steps are outdated | 00:05 |
lbt | but it's late here so I'm off - leave highlights if you have questions/issues :) | 00:06 |
lbt | M4rtinK may be able to help too | 00:06 |
shmerl | Sure, thanks. | 00:06 |
M4rtinK | yeah, if I am adding a new package, I create it from the WUI | 00:08 |
M4rtinK | then co it | 00:08 |
M4rtinK | add files and commit them to OBS | 00:08 |
shmerl | I see. Is there any clear way to do it without the UI? | 00:09 |
mikhas | oh hey there, lbt! now that mer has *shipped* in a product … did you finally accomplish your mer-goals? | 00:09 |
shmerl | I don't mind the UI though, just asking. | 00:09 |
mikhas | just curious about future motivations ;-) | 00:09 |
lbt | mikhas: that's just one of the goals :) | 00:10 |
shmerl | I see there is some mkpac option. | 00:10 |
lbt | mikhas: "Make it easy for vendors to make devices" | 00:10 |
mikhas | "checked" | 00:11 |
mikhas | from a certain perspective, shipping a phone in ~2 years with a relatively small team is "easy enough" | 00:11 |
mikhas | we should catch up at FOSDEM, perhaps on the bus again ;-) | 00:12 |
M4rtinK | shmerl: I would say you can dump the xml from an existing package | 00:12 |
lbt | mikhas: I will be there | 00:12 |
M4rtinK | shmerl: and use it as a template | 00:12 |
mikhas | good! | 00:12 |
lbt | mikhas: I need to do some work to present something | 00:12 |
M4rtinK | BTW, if everything goes well, I'll be also going to FOSDEM :) | 00:13 |
lbt | I'd like to get other aspects of the linux community a little more excited/aware | 00:13 |
M4rtinK | 11 hours by bus ! :D | 00:13 |
lbt | :D | 00:13 |
*** LjL is now known as MetaPsycho | 00:14 | |
lbt | mikhas: I'll definitely consider it a major achievement when Tizen switches to Mer and/or Motorola ships a Mer device (I'm not greedy, either will do) | 00:15 |
lbt | ok ...bed ... really o/ | 00:16 |
shmerl | lbt: night | 00:17 |
mikhas | M4rtinK, no train connection? | 00:17 |
mikhas | 11 hours by train are much nicer than 11 hours by bus … | 00:17 |
shmerl | M4rtinK: Ah, you need an XML file to make a package? That example provides it I think. | 00:17 |
mikhas | (did 10 hours from Budapest to Berlin this summer) | 00:17 |
shmerl | Ah, actually not. | 00:17 |
shmerl | It just has a yaml spec. | 00:17 |
mikhas | M4rtinK, I even had a shower before getting off the train! | 00:18 |
M4rtinK | mikhas: so many people from our company are going, so we are outright renting a full-size bus :) | 00:19 |
mikhas | heh | 00:19 |
mikhas | doesn't that make FOSDEM feel like … work? | 00:19 |
*** Morpog_Mobile has quit IRC | 00:19 | |
shmerl | btw, what version control does the OBS use? | 00:20 |
*** Morpog_Mobile has joined #mer | 00:21 | |
*** cominfo has joined #mer | 00:21 | |
M4rtinK | mikhas: nah, I would be going regardless & this makes it convenient :) | 00:21 |
mikhas | fairy snuff | 00:26 |
shmerl | OK, osc mkpak just creates an empty directory with .osc metadata. | 00:26 |
shmerl | mkpac* | 00:26 |
*** Tm_T has quit IRC | 00:28 | |
*** Tm_T has joined #mer | 00:29 | |
*** chriadam|away is now known as chriadam | 00:34 | |
CosmoHill | night night | 00:38 |
*** denexter has joined #mer | 00:38 | |
*** CosmoHill has quit IRC | 00:38 | |
*** sni1 has joined #mer | 00:48 | |
M4rtinK | good night :) | 00:50 |
*** M4rtinK has quit IRC | 00:50 | |
*** zhost has quit IRC | 00:55 | |
*** jstaniek has quit IRC | 00:55 | |
*** MetaPsycho is now known as LjL | 01:00 | |
*** cwhong_ has joined #mer | 01:26 | |
*** Eztran_ has quit IRC | 01:28 | |
shmerl | OK, when the package was created through the UI, adding files and changing stuff works OK. | 01:31 |
shmerl | But it didn't show any XML file when I checked it out. | 01:31 |
shmerl | So still not clear how to crate a package from scratch without the UI. | 01:31 |
*** tetris4 has quit IRC | 01:32 | |
shmerl | Ah, I found some meatadata which looks like XML. | 01:33 |
shmerl | (in the UI). | 01:33 |
shmerl | It's actually the same as _meta in the .osc | 01:34 |
shmerl | That's created by doing: osc mkpac too. | 01:34 |
shmerl | Ah, correction, mkac creates a bunch of files in .osc but not the _meta... | 01:37 |
*** FlameReaper has quit IRC | 01:48 | |
shmerl | OK, it worked this way. First package can be crated with: osc mkpac hello | 02:05 |
shmerl | Then add files, do osc add on them and osc ci in the end. | 02:05 |
shmerl | Trying to change metadata with osc meta pkg -e before doing osc ci will cause a problem, with "package exists" error. | 02:06 |
shmerl | After doing osc ci though you can go back and do osc meta pkg -e and change the title and description etc. | 02:06 |
*** bef0rd has joined #mer | 02:07 | |
*** maninc has quit IRC | 02:08 | |
*** maninc has joined #mer | 02:08 | |
*** kaari has joined #mer | 02:11 | |
shmerl | OK, seems like this is a good workflow (I can post that to the wiki as a draft, you can fix that later). | 02:11 |
shmerl | 1. Create a package "hello" with: osc mkpac hello | 02:11 |
shmerl | 2. Go to the package directory: cd hello | 02:11 |
shmerl | no, actually don't. For step #2: don't go to the directory, just commit the new package from where you crated it: osc ci | 02:13 |
shmerl | 3. Go to the package directory (still no files added there) and change metadata: osc meta pkg -e | 02:13 |
shmerl | Assign the title and whatever else needed. | 02:14 |
shmerl | 4. Then add files and etc. with osc add and then commit again. | 02:14 |
*** sababa has quit IRC | 02:33 | |
*** zhxt has joined #mer | 02:41 | |
*** Morpog_Mobile has quit IRC | 02:41 | |
*** cominfo has quit IRC | 02:44 | |
shmerl | Updated the wiki: https://wiki.merproject.org/wiki/Building_against_Mer_in_Community_OBS#Creating_a_package_locally | 02:48 |
*** sababa has joined #mer | 02:51 | |
*** Morpog_ has joined #mer | 02:52 | |
*** Morpog_PC has quit IRC | 02:54 | |
*** Morpog_Mobile has joined #mer | 03:16 | |
*** mitz has quit IRC | 03:21 | |
*** mitz has joined #mer | 03:24 | |
*** kaari has quit IRC | 03:30 | |
*** Morpog_Mobile has quit IRC | 03:43 | |
*** furikku has joined #mer | 03:49 | |
*** Morpog_Mobile has joined #mer | 04:06 | |
*** dcthang has joined #mer | 04:10 | |
*** krazedkrish has joined #mer | 04:40 | |
*** KaIRC has quit IRC | 04:53 | |
*** martyone has joined #mer | 05:02 | |
*** piiramar has joined #mer | 05:02 | |
*** fabo has joined #mer | 05:12 | |
*** mikhas_ has joined #mer | 05:20 | |
*** shmerl has left #mer | 05:21 | |
*** mikhas has quit IRC | 05:23 | |
*** jrayhawk_ has quit IRC | 05:24 | |
*** jrayhawk has joined #mer | 05:36 | |
*** FlameReaper has joined #mer | 05:47 | |
*** phaeron has quit IRC | 05:51 | |
*** WWDrakey has joined #mer | 05:57 | |
*** Eismann has joined #mer | 06:11 | |
*** artemma has joined #mer | 06:12 | |
*** kostaja has quit IRC | 06:18 | |
*** WWDrakey has quit IRC | 06:21 | |
*** kostaja has joined #mer | 06:22 | |
*** Sazpaimon_ has quit IRC | 06:23 | |
*** Sazpaimon_ has joined #mer | 06:23 | |
*** e8johan has joined #mer | 06:24 | |
*** piiramar has quit IRC | 06:26 | |
*** WWDrakey has joined #mer | 06:29 | |
*** bkantor has joined #mer | 06:35 | |
*** jonwil has joined #mer | 06:36 | |
*** Eismann has quit IRC | 06:41 | |
*** piiramar has joined #mer | 06:41 | |
*** fk_lx has joined #mer | 06:43 | |
*** artemma has quit IRC | 06:48 | |
*** plundstr has joined #mer | 06:53 | |
*** Sfiet_Konstantin has joined #mer | 06:54 | |
*** phaeron has joined #mer | 06:55 | |
*** Frye has quit IRC | 06:57 | |
*** sababa has quit IRC | 07:00 | |
*** phaeron has quit IRC | 07:01 | |
*** lbt has quit IRC | 07:05 | |
*** jukkaeklund has joined #mer | 07:05 | |
*** lbt has joined #mer | 07:05 | |
*** sababa has joined #mer | 07:07 | |
*** Morpog_ has quit IRC | 07:13 | |
*** phaeron has joined #mer | 07:15 | |
*** Hurrian has quit IRC | 07:18 | |
*** Hurrian has joined #mer | 07:19 | |
*** cxl000 has joined #mer | 07:21 | |
*** Sfiet_Konstantin has quit IRC | 07:25 | |
*** ortylp has joined #mer | 07:25 | |
*** Pat_o has quit IRC | 07:31 | |
*** faenil has quit IRC | 07:37 | |
*** Pat_o has joined #mer | 07:45 | |
*** ortylp has quit IRC | 07:46 | |
*** sequantz has joined #mer | 07:47 | |
*** jukkaeklund_ has joined #mer | 07:48 | |
*** jukkaeklund has quit IRC | 07:51 | |
*** mikhas_ has quit IRC | 07:54 | |
*** PMG has joined #mer | 07:56 | |
*** mikhas has joined #mer | 07:56 | |
*** artemma has joined #mer | 07:59 | |
*** vakkov_ has joined #mer | 07:59 | |
*** faenil has joined #mer | 08:01 | |
*** gabriel9|work has joined #mer | 08:03 | |
*** chriadam is now known as chriadam|away | 08:06 | |
*** tanty has joined #mer | 08:07 | |
*** zz_ka6sox has quit IRC | 08:09 | |
*** Pat_o has quit IRC | 08:09 | |
*** stephg has joined #mer | 08:13 | |
*** Eztran has joined #mer | 08:14 | |
*** niqt has joined #mer | 08:18 | |
*** Eztran has quit IRC | 08:23 | |
*** pirut has quit IRC | 08:23 | |
*** Pat_o has joined #mer | 08:23 | |
*** drussell has joined #mer | 08:26 | |
*** jukkaeklund has joined #mer | 08:32 | |
*** Pat_o has quit IRC | 08:32 | |
*** ka6sox has joined #mer | 08:36 | |
*** bef0rd has quit IRC | 08:37 | |
*** lamikr has joined #mer | 08:44 | |
*** Pat_o has joined #mer | 08:46 | |
*** jmlich has joined #mer | 08:48 | |
*** me_ has joined #mer | 08:48 | |
*** Sfiet_Konstantin has joined #mer | 08:53 | |
*** sni1 has quit IRC | 08:57 | |
*** frantis has joined #mer | 09:11 | |
*** plfiorini has joined #mer | 09:13 | |
*** spiiroin has joined #mer | 09:14 | |
*** me_ has quit IRC | 09:22 | |
*** wmarone_ has joined #mer | 09:24 | |
*** wmarone__ has quit IRC | 09:24 | |
*** e8johan has quit IRC | 09:26 | |
*** pakou has joined #mer | 09:28 | |
*** notmart has joined #mer | 09:31 | |
*** notmart has quit IRC | 09:32 | |
*** notmart has joined #mer | 09:32 | |
*** notmart has quit IRC | 09:32 | |
*** phaeron has quit IRC | 09:38 | |
*** dcthang has quit IRC | 09:41 | |
*** andre__ has joined #mer | 09:42 | |
*** Sinbad has joined #mer | 09:44 | |
*** zhxt has quit IRC | 09:46 | |
*** KaIRC has joined #mer | 09:48 | |
*** pvanhoof has joined #mer | 09:48 | |
*** trbs has joined #mer | 09:57 | |
*** notmart has joined #mer | 09:59 | |
*** cwhong_ has quit IRC | 09:59 | |
*** cwhong_ has joined #mer | 10:04 | |
*** Sfiet_Konstantin has quit IRC | 10:06 | |
*** SfietKonstantin has joined #mer | 10:06 | |
*** drussell has quit IRC | 10:08 | |
*** schmooster has joined #mer | 10:09 | |
*** stephg_ has joined #mer | 10:09 | |
*** jukkaeklund has quit IRC | 10:09 | |
*** zhxt has joined #mer | 10:10 | |
*** frantis has quit IRC | 10:15 | |
*** artemma has quit IRC | 10:15 | |
*** simbrown has joined #mer | 10:17 | |
*** pakou has quit IRC | 10:22 | |
*** amccarthy has quit IRC | 10:23 | |
*** amccarthy has joined #mer | 10:25 | |
*** mikhas has quit IRC | 10:32 | |
*** artemma has joined #mer | 10:33 | |
*** jukkaeklund_ has quit IRC | 10:42 | |
*** artemma has quit IRC | 10:51 | |
*** nsuffys has joined #mer | 10:52 | |
*** fk_lx has quit IRC | 10:55 | |
*** jstaniek_work has joined #mer | 11:07 | |
*** vakko__ has joined #mer | 11:10 | |
*** lpotter has quit IRC | 11:11 | |
*** vakkov_ has quit IRC | 11:12 | |
*** lpotter has joined #mer | 11:12 | |
*** vakko__ is now known as vakkov | 11:14 | |
*** phaeron has joined #mer | 11:14 | |
*** jpetrell has joined #mer | 11:17 | |
*** SfietKonstantin is now known as Sfiet_Konstantin | 11:18 | |
*** e8johan has joined #mer | 11:22 | |
*** jluisn has joined #mer | 11:31 | |
*** Venemo has joined #mer | 11:37 | |
*** e8johan has quit IRC | 11:43 | |
*** FReaper has joined #mer | 11:49 | |
*** FlameReaper has quit IRC | 11:49 | |
*** drussell has joined #mer | 11:50 | |
*** Morpog_N9 has joined #mer | 11:50 | |
*** zhost has joined #mer | 11:53 | |
*** artemma has joined #mer | 11:54 | |
*** tanty has quit IRC | 12:02 | |
*** schmooster has quit IRC | 12:10 | |
*** ScriptRipper has quit IRC | 12:13 | |
*** cristi has joined #mer | 12:16 | |
*** ScriptRipper has joined #mer | 12:17 | |
*** ScriptRipper has quit IRC | 12:17 | |
*** ScriptRipper has joined #mer | 12:17 | |
*** phaeron has quit IRC | 12:19 | |
*** krazedkrish has quit IRC | 12:23 | |
*** zhxt has quit IRC | 12:26 | |
*** Flowcont has quit IRC | 12:27 | |
*** drussell has quit IRC | 12:29 | |
*** vgrade_ has joined #mer | 12:31 | |
*** Flowcont has joined #mer | 12:33 | |
*** artemma has quit IRC | 12:35 | |
*** CosmoHill has joined #mer | 12:37 | |
*** kaari has joined #mer | 12:44 | |
*** pocek_ is now known as pocek | 12:52 | |
*** me_ has joined #mer | 12:52 | |
*** stephg_ has quit IRC | 12:55 | |
*** artemma has joined #mer | 13:02 | |
*** Pat_o has quit IRC | 13:03 | |
*** gabriel9 has joined #mer | 13:04 | |
*** schmooster has joined #mer | 13:04 | |
*** Pat_o has joined #mer | 13:04 | |
*** gabriel9|work has quit IRC | 13:05 | |
*** niqt has quit IRC | 13:11 | |
*** kaari has left #mer | 13:14 | |
*** niqt has joined #mer | 13:21 | |
*** disco_stu has quit IRC | 13:23 | |
*** virtuald has quit IRC | 13:23 | |
*** virtuald_ has joined #mer | 13:23 | |
*** PMG has quit IRC | 13:23 | |
*** diegoyam_ has quit IRC | 13:23 | |
*** diegoyam has joined #mer | 13:23 | |
*** PMG has joined #mer | 13:23 | |
*** MJD has quit IRC | 13:24 | |
*** CosmoHill has quit IRC | 13:29 | |
*** si1enc7 has joined #mer | 13:30 | |
*** nitkie has joined #mer | 13:30 | |
*** si1enc7 has left #mer | 13:31 | |
*** nitkie has quit IRC | 13:35 | |
*** artemma has quit IRC | 13:37 | |
*** artemma has joined #mer | 13:37 | |
*** jukkaeklund has joined #mer | 13:39 | |
*** jukkaeklund has quit IRC | 13:43 | |
*** mardy has quit IRC | 14:02 | |
*** mardy has joined #mer | 14:04 | |
*** phaeron has joined #mer | 14:08 | |
*** Morpog_Mobile has quit IRC | 14:08 | |
*** Sfiet_Konstantin has quit IRC | 14:20 | |
*** CosmoHill has joined #mer | 14:23 | |
*** artemma has quit IRC | 14:29 | |
*** VDVsx_ has quit IRC | 14:32 | |
*** VDVsx has joined #mer | 14:33 | |
*** Morpog_Mobile has joined #mer | 14:49 | |
*** martyone has quit IRC | 14:52 | |
*** Eztran has joined #mer | 14:57 | |
*** phaeron has quit IRC | 15:01 | |
*** vgrade_ has quit IRC | 15:01 | |
*** FReaper has quit IRC | 15:01 | |
*** jluisn has quit IRC | 15:01 | |
*** jpetrell has quit IRC | 15:01 | |
*** vgrade has quit IRC | 15:01 | |
*** Morpog_Mobile has quit IRC | 15:01 | |
*** CosmoHill has quit IRC | 15:01 | |
*** Pat_o has quit IRC | 15:01 | |
*** ScriptRipper has quit IRC | 15:01 | |
*** lpotter has quit IRC | 15:01 | |
*** WWDrakey has quit IRC | 15:01 | |
*** Jare_ has quit IRC | 15:01 | |
*** Merbot has joined #mer | 15:03 | |
*** simbrown has quit IRC | 15:04 | |
*** ortylp has joined #mer | 15:04 | |
*** DocScrutinizer05 has joined #mer | 15:04 | |
*** Venemo has quit IRC | 15:04 | |
*** simbrown has joined #mer | 15:04 | |
*** nwoki has joined #mer | 15:07 | |
*** sledges has joined #mer | 15:07 | |
*** mkosola has joined #mer | 15:07 | |
*** ryukafalz has joined #mer | 15:07 | |
*** oahong has joined #mer | 15:07 | |
*** Venemo has joined #mer | 15:09 | |
*** edgar2 has joined #mer | 15:10 | |
*** me_ has quit IRC | 15:12 | |
*** FReaper has quit IRC | 15:13 | |
*** FReaper has joined #mer | 15:13 | |
*** FReaper has quit IRC | 15:14 | |
*** FReaper has joined #mer | 15:14 | |
*** Frye has joined #mer | 15:15 | |
*** me_ has joined #mer | 15:16 | |
*** CosmoHill has quit IRC | 15:19 | |
*** FReaper has quit IRC | 15:22 | |
*** FlameReaper has joined #mer | 15:22 | |
*** fignew has quit IRC | 15:26 | |
*** jstaniek_work has quit IRC | 15:31 | |
*** CosmoHill has joined #mer | 15:32 | |
*** Morpog_PC has joined #mer | 15:43 | |
*** phaeron has quit IRC | 15:45 | |
*** Morpog_N9_ has joined #mer | 15:52 | |
*** Morpog_N9 has quit IRC | 15:55 | |
*** stephg_ has joined #mer | 15:55 | |
*** nsuffys has quit IRC | 15:56 | |
*** qwazix has quit IRC | 16:02 | |
*** veskuh has joined #mer | 16:02 | |
*** Sfiet_Konstantin has joined #mer | 16:03 | |
*** Luke-Jr[Q] has left #mer | 16:16 | |
*** niqt has quit IRC | 16:22 | |
*** Eztran has quit IRC | 16:32 | |
*** arcean has joined #mer | 16:33 | |
*** NIN101 has joined #mer | 16:34 | |
*** NIN101 has quit IRC | 16:35 | |
*** NIN101 has joined #mer | 16:36 | |
*** Venemo has quit IRC | 16:37 | |
*** Venemo has joined #mer | 16:38 | |
*** gabriel9 has quit IRC | 16:41 | |
*** Eztran has joined #mer | 16:44 | |
*** artemma has joined #mer | 16:47 | |
*** sledges has quit IRC | 16:52 | |
*** klouczers has joined #mer | 16:54 | |
*** klouczers has left #mer | 16:55 | |
*** sledges has joined #mer | 16:56 | |
*** sledges has quit IRC | 16:56 | |
*** sledges has joined #mer | 16:56 | |
*** plfiorini has quit IRC | 16:59 | |
*** pvanhoof has quit IRC | 17:02 | |
*** xhaakon has joined #mer | 17:02 | |
*** xhaakon has quit IRC | 17:03 | |
*** ortylp1 has joined #mer | 17:05 | |
*** ortylp has quit IRC | 17:08 | |
*** mikhas has joined #mer | 17:12 | |
*** phaeron has joined #mer | 17:18 | |
*** mkosola has quit IRC | 17:21 | |
*** mkosola has joined #mer | 17:22 | |
*** xavinux has joined #mer | 17:22 | |
*** Pat_o has quit IRC | 17:25 | |
*** Venemo has quit IRC | 17:27 | |
*** nsuffys has joined #mer | 17:33 | |
*** vgrade_ has quit IRC | 17:36 | |
*** Pat_o has joined #mer | 17:38 | |
*** pvanhoof has joined #mer | 17:39 | |
*** xavinux has quit IRC | 17:41 | |
*** virtuald_ is now known as virtuald | 17:41 | |
*** amizraa has joined #mer | 17:42 | |
*** plfiorini has joined #mer | 17:43 | |
*** lamikr has quit IRC | 17:50 | |
*** Pat_o has quit IRC | 17:52 | |
*** onurati has joined #mer | 17:53 | |
*** vakkov has quit IRC | 17:59 | |
*** ortylp1 has quit IRC | 18:03 | |
*** veskuh_ has joined #mer | 18:04 | |
*** stephg_ has quit IRC | 18:07 | |
*** veskuh has quit IRC | 18:07 | |
*** veskuh_ is now known as veskuh | 18:07 | |
*** vakkov has joined #mer | 18:13 | |
*** ortylp has joined #mer | 18:15 | |
*** Aurium_ has joined #mer | 18:17 | |
*** thinkfat_ has joined #mer | 18:17 | |
*** Aurium_away has quit IRC | 18:20 | |
*** thinkfat_ has quit IRC | 18:22 | |
*** Pat_o has joined #mer | 18:26 | |
*** thinkfat_ has joined #mer | 18:34 | |
*** fk_lx has joined #mer | 18:40 | |
*** veskuh has quit IRC | 18:44 | |
*** sababa has quit IRC | 18:55 | |
*** MJD has joined #mer | 18:55 | |
*** araujo has quit IRC | 18:57 | |
*** araujo has joined #mer | 18:58 | |
*** sababa has joined #mer | 19:08 | |
*** shalokshalom has joined #mer | 19:11 | |
shalokshalom | hi there ^^ I wish to buy a Improv and wish to now, how much RAM gets used from MerOS with the KDE SC on it please :D | 19:11 |
shalokshalom | now = know | 19:12 |
*** ortylp has quit IRC | 19:14 | |
*** jstaniek has joined #mer | 19:15 | |
*** Eismann has joined #mer | 19:24 | |
*** furikku has quit IRC | 19:25 | |
*** edgar2 has quit IRC | 19:34 | |
*** synchris has joined #mer | 19:35 | |
*** araujo has quit IRC | 19:38 | |
*** araujo has joined #mer | 19:39 | |
*** amjad__ has joined #mer | 19:40 | |
*** shalokshalom has quit IRC | 19:43 | |
artemma | Can you somehow generate a part of .yaml programmatically? | 19:49 |
artemma | thinking about using same version/release strings in .yaml/.spec and .pro | 19:50 |
lbt | yes | 19:50 |
lbt | my design was "the yaml contains stuff the spec needs that the pro cannot provide" | 19:50 |
artemma | I am looking at these examples: https://github.com/nemomobile/mlite/blob/master/rpm/mlite-qt5.yaml#L20 , https://github.com/nemomobile/mlite/blob/master/src/src.pro#L3 | 19:51 |
artemma | It looks like you can define variable in .yaml, that can get used in .pro then. Correct? | 19:52 |
lbt | the yaml actually must have the content | 19:52 |
artemma | or is it the other way around? | 19:52 |
lbt | but it can be managed by QtCreator | 19:52 |
artemma | sorry, I don't get it :/ | 19:52 |
lbt | so ... are you familiar with a spec file and rpms ? | 19:53 |
artemma | the final goal I guess is clear. I want to set version/release numbers once for .yaml/.spec and .pro. Ideally it is to be fetched from git tags | 19:53 |
artemma | lbt: I get the idea of .yaml, .spec and know how to create sub packages there | 19:54 |
artemma | and specify reqs once I figure packages to use | 19:54 |
artemma | but that's about all my knowledge | 19:54 |
lbt | just checking | 19:54 |
artemma | as for .pro, I believe I am quite okay with it | 19:54 |
artemma | linking between .yaml and .pro via these QMakeOptions is unclear to me | 19:55 |
lbt | so the pro file is used to make a makefile | 19:56 |
lbt | the makefile is used by the spec file to build the package | 19:56 |
lbt | the spec additionally needs metadata | 19:56 |
lbt | some of that can be replicated in the .pro | 19:56 |
artemma | ah.. so it's processing of .spec that actually creates the final build | 19:56 |
lbt | yes | 19:57 |
artemma | hmm.. | 19:57 |
artemma | then how are these QMakeOptions used then? | 19:57 |
lbt | don't forget - the primary goal of most of these tools is to make a full device/product | 19:57 |
lbt | the app side is a small subset | 19:57 |
lbt | so we do need to reduce the visibility of the complex stuff | 19:58 |
lbt | and streamline | 19:58 |
lbt | in our normal build processes we actually use a tag on github to connect to our webhook API in Mer (or Jolla) | 19:58 |
artemma | interesting, that's pretty much what I want | 19:59 |
lbt | that triggers a git pull which then updates the packaging to do a build | 19:59 |
artemma | except that I want the same version string to be usable inside binary as well. E.g. for About dialog | 19:59 |
lbt | right | 20:01 |
lbt | tell me ... how do I get the sha1 of a src file into the src file? :) | 20:01 |
artemma | so.. - VERSION=%{version} in .yaml defines a variable VERSION that becomes available to makefile (and therefore can get manipulated in .pro even though it doesn't exist at the .pro definition moment) | 20:02 |
artemma | I think I get that all these magic happens in the build time, just don't quite get the order | 20:02 |
lbt | right ... so that goes into the build time stuff - the packaging | 20:03 |
artemma | who's the boss and who's dependent | 20:03 |
mikhas | lbt is the boss | 20:03 |
lbt | actually I'm not sure that was a good example - but let it slide for now :) | 20:03 |
artemma | Builder is apprently called by whoever processes .spec (rpms process?) | 20:04 |
lbt | too many concurrent chats :) | 20:04 |
*** lbt has quit IRC | 20:04 | |
artemma | is this VERSION passed to makefile or fetched from makefile (for packaging ) then? | 20:04 |
*** lbt has joined #mer | 20:06 | |
*** lbt has quit IRC | 20:06 | |
*** lbt has joined #mer | 20:06 | |
lbt | useless ADSL | 20:06 |
artemma | sorry about it | 20:06 |
artemma | is this VERSION passed to makefile or fetched from makefile (for packaging ) then? | 20:06 |
artemma | I guess it is passed to makefile, but I am not sure | 20:07 |
lbt | the approach I'd use is to pass it in via the packaging | 20:07 |
lbt | so yes, via the makefile | 20:08 |
artemma | aha, and then from .pro I can pass it further to .cpp macros as if VERSION was defined in .pro (because during build initiated by rpms it will exist for sure)? | 20:08 |
lbt | I would say that was the correct way | 20:10 |
artemma | okay, got it, that's pretty clever actually | 20:10 |
artemma | I'll probably make it a part of HelloWorld Pro for Sailfish as it seems to be quite good and independent on anything. Unless somebody smart does a pull request - https://github.com/amarchen/helloworld-pro-sailfish/ | 20:11 |
artemma | lbt: then the only part left is how to get this version string from a git tag | 20:12 |
artemma | I think I (sort of) understand how to pull git tag into .pro (via calling the shell from QMake macros), but I don't get how to pass git tag to .yaml | 20:12 |
lbt | don't do that | 20:13 |
lbt | the pro may be running using a tarball snapshot | 20:13 |
Bostik | artemma: if you autogenerate .changelog at source upload autocreation time, why not just add the output of git-describe there? | 20:13 |
Bostik | then, if $RPM_BUILD_ROOT is defined when buildilng, use that to get the location of the .changelog, and extract latest version | 20:13 |
artemma | Bostik: I don't do automatic change logs and don't know how to do it, can learn though | 20:13 |
Bostik | holy crap this network is laggy | 20:14 |
artemma | if it existed however, I still don't get how to pull it to .yaml | 20:14 |
Stskeeps | Bostik: UK is like a third world country when it comes to connectivity isn't it | 20:14 |
* CosmoHill waves at Bostik, Stskeeps and lbt | 20:14 | |
Bostik | Stskeeps: at least their mobile data is awful | 20:14 |
lbt | artemma: as a first step I'd say hardcode the version into the yaml Version: field | 20:14 |
artemma | lbt: do you mean that pulling git tag into .yaml is possible, but needs some mechanism not supported by some higher level packagers? | 20:15 |
lbt | yes | 20:15 |
artemma | I hardcode it now yes. | 20:15 |
lbt | the discussion above leads us to that as the best interim solution | 20:15 |
artemma | hmm, I think for just an app that wouldn't matter, but for now I should be happy enough to specify version in a single place in .yaml only | 20:15 |
artemma | thanks! | 20:15 |
artemma | and pull requests with a reference solution is welcome too :) | 20:16 |
lbt | typically users will commit the yaml into the same git as the source for 'apps' | 20:16 |
artemma | Looking at bit.ly link stats at least dozens of developers are looking at that Helloworld Pro for Sailfish | 20:16 |
lbt | very often you see the version bump as the first thing post-tag | 20:16 |
Bostik | I need one full evening of NOTHING demanding my attention to sort out the network operator deals | 20:16 |
artemma | yeah, I think at some point I should just create a bump-version.sh that modifies .yaml and calls spectacle to reflect changes in .spec too | 20:17 |
*** odin_ has joined #mer | 20:17 | |
lbt | spectacle runs automatically if the yaml is newer than the spec | 20:18 |
artemma | if I will really want to go full automatic, such script could be called from git hooks whenever a branch called release-whatever is created :) | 20:18 |
artemma | lbt: only if you actually do generate the build :) | 20:18 |
artemma | I sometimes forget about it and commit version change when only .yaml is updated | 20:18 |
artemma | lbt: thanks a lot, I think I understand things now | 20:19 |
lbt | then you should do better QA and test a build after *every* change - even the "nothing can go wrong" ones :D | 20:19 |
* artemma is actually into fullest possible automation and develops some things e.g. Flashlight in nearly complete TDD mode | 20:20 | |
Bostik | triggering autobuilds for all commits is not such a bad idea, but you should probably dedicate a separate autobuild project for those | 20:20 |
artemma | that is one of the reasons why this step of non-automatic version string bugged me | 20:20 |
lbt | artemma: FWIW we do a huge amount of automation | 20:20 |
artemma | we lousy developers need fullest possible automation net to protect from ourselves :) | 20:20 |
lbt | check #mer-boss sometime | 20:20 |
artemma | Continuous Integration for my Jolla apps are not quite there yet though | 20:21 |
artemma | would be cool to do one day, but not sure if I ever actually do it | 20:21 |
lbt | they require too much rigor for most app devs | 20:21 |
artemma | I would love all tests to run on every Save, but automating it just for myself is a bit of a burden an I suppose Mer people do not optimize for a 3rd party single app developer | 20:22 |
artemma | and* I suppose | 20:23 |
Bostik | we actually have "build every push" at work, and if the build fails, bot shows what was the topmost commit (and who wrote it) | 20:23 |
lbt | build every tag is the other approach | 20:24 |
artemma | that is super cool, but again I guess nobody even cares to make it single-click usable for a 3rd party app dev | 20:24 |
artemma | plus some of my tests need UI level as well | 20:24 |
lbt | artemma: to make it valuable you need to do things like enforce changelog rules, link to bug trackers, tag naming schemes, automated builders | 20:25 |
lbt | non-OSS app devs won't want to use a build service (and MOBS is OSS only) | 20:25 |
*** amjad_ has quit IRC | 20:26 | |
artemma | as all the other debs out there I care about my particular case mostly :) | 20:26 |
artemma | other devs* | 20:26 |
artemma | problem is, it is unlikely to be mer's standard case :) | 20:26 |
artemma | if/when I do it for myself, I will probably got for purely local solution and building on every Save (to filesystem) rather then on every git commit | 20:27 |
*** Pat_o has quit IRC | 20:27 | |
artemma | but that's mostly because even in a dream situation I'll get a couple of collaborators max | 20:27 |
*** gabrbedd has quit IRC | 20:28 | |
lbt | so the way to get more is to join other people, not have them join you :) | 20:29 |
*** gabrbedd has joined #mer | 20:30 | |
artemma | well, so far I am just doing apps myself for fun + a friend who knows about UI | 20:31 |
artemma | once there's a second contributing dev, CI on git hooks will start making way more sense | 20:32 |
artemma | with strong focus on unit tests (over UI level tests), I get dozens of tests running under a minute including packaging. That's fast enough for diligent test running from console to be good enough | 20:33 |
artemma | for a simple app of course | 20:34 |
*** Pat_o has joined #mer | 20:34 | |
*** andre__ has quit IRC | 20:36 | |
*** jluisn has quit IRC | 20:36 | |
*** phdeswer has quit IRC | 20:40 | |
*** phdeswer has joined #mer | 20:41 | |
*** amjad__ has quit IRC | 20:48 | |
*** artemma_ has joined #mer | 20:59 | |
*** skry_ is now known as Skry | 21:02 | |
*** me_ has quit IRC | 21:02 | |
*** artemma has quit IRC | 21:02 | |
*** tilgovi has joined #mer | 21:12 | |
*** kostaja has quit IRC | 21:12 | |
*** faenil has quit IRC | 21:14 | |
*** kostaja has joined #mer | 21:15 | |
*** synchris has quit IRC | 21:37 | |
*** artemma_ is now known as artemma | 21:39 | |
*** NIN101 has quit IRC | 21:39 | |
*** cxl000 has quit IRC | 21:40 | |
*** tetris4 has joined #mer | 21:43 | |
*** ortylp has joined #mer | 21:47 | |
*** thinkfat_ has quit IRC | 21:51 | |
*** Eismann has quit IRC | 21:54 | |
*** nsuffys has quit IRC | 22:01 | |
*** ortylp has quit IRC | 22:04 | |
*** Jucato has quit IRC | 22:10 | |
*** onurati has quit IRC | 22:13 | |
*** faenil has joined #mer | 22:15 | |
*** bef0rd has joined #mer | 22:20 | |
sledges | hello | 22:24 |
sledges | lbt? | 22:24 |
sledges | http://webhook.merproject.org/ is down :/ | 22:24 |
CosmoHill | sledges: is it mean to ask me for a user and password? | 22:28 |
sledges | CosmoHill: lbt thank you, was some temporary failure (my DNS?) | 22:29 |
lbt | I was doing some work on it | 22:29 |
sledges | phew, so it wasn't the pill I took | 22:29 |
sledges | :} | 22:29 |
*** artemma has quit IRC | 22:30 | |
*** ScriptRipper has quit IRC | 22:35 | |
*** artemma has joined #mer | 22:35 | |
*** ScriptRipper1 has joined #mer | 22:38 | |
*** Morpog_N9_ has quit IRC | 22:40 | |
*** Morpog_PC has quit IRC | 22:40 | |
*** artemma has quit IRC | 22:45 | |
*** artemma has joined #mer | 22:51 | |
*** Jucato has joined #mer | 22:51 | |
*** pvanhoof has quit IRC | 22:58 | |
*** bfederau has quit IRC | 23:01 | |
*** bfederau has joined #mer | 23:01 | |
*** trbs has quit IRC | 23:02 | |
*** artemma has quit IRC | 23:02 | |
*** araujo has quit IRC | 23:04 | |
*** araujo has joined #mer | 23:05 | |
*** artemma has joined #mer | 23:08 | |
*** Frye has quit IRC | 23:10 | |
*** Morpog_Mobile has quit IRC | 23:11 | |
*** Frye has joined #mer | 23:13 | |
*** promulo has quit IRC | 23:25 | |
*** promulo has joined #mer | 23:27 | |
*** zhost has quit IRC | 23:32 | |
*** jstaniek has quit IRC | 23:54 | |
*** Sfiet_Konstantin has quit IRC | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!