#mer log for Monday, 2013-12-09

*** sequantz has quit IRC00:01
lbtback00:02
shmerlwb00:02
lbtso the guide does ask you to do some things in the web ui00:03
shmerlThe guide kind of starts with the UI. And then assumes you made the test package through it.00:03
lbtthey can be done in cli but need xml editing so to keep it simple....00:03
shmerlLocal work already focuses on adding a patch.00:03
lbthttps://build.merproject.org/project/subprojects?project=home%3Ashmerl suggests no mer subproj :)00:03
shmerlI made it a bit from the side. Just took your package and did "osc add"00:03
shmerlAh, that's the base location, so I need to make some subproject there first?00:04
lbtwell, it also gets you to make a package in the ui too00:04
*** Pat_o has joined #mer00:04
shmerlOK, I'll make a subproject first.00:05
lbtyeah ... let me know if the steps are outdated00:05
lbtbut it's late here so I'm off - leave highlights if you have questions/issues :)00:06
lbtM4rtinK may be able to help too00:06
shmerlSure, thanks.00:06
M4rtinKyeah, if I am adding a new package, I create it from the WUI00:08
M4rtinKthen co it00:08
M4rtinKadd files and commit them to OBS00:08
shmerlI see. Is there any clear way to do it without the UI?00:09
mikhasoh hey there, lbt! now that mer has *shipped* in a product … did you finally accomplish your mer-goals?00:09
shmerlI don't mind the UI though, just asking.00:09
mikhasjust curious about future motivations ;-)00:09
lbtmikhas: that's just one of the goals :)00:10
shmerlI see there is some mkpac option.00:10
lbtmikhas: "Make it easy for vendors to make devices"00:10
mikhas"checked"00:11
mikhasfrom a certain perspective, shipping a phone in ~2 years with a relatively small team is "easy enough"00:11
mikhaswe should catch up at FOSDEM, perhaps on the bus again ;-)00:12
M4rtinKshmerl: I would say you can dump the xml from an existing package00:12
lbtmikhas: I will be there00:12
M4rtinKshmerl: and use it as a template00:12
mikhasgood!00:12
lbtmikhas: I need to do some work to present something00:12
M4rtinKBTW, if everything goes well, I'll be also going to FOSDEM :)00:13
lbtI'd like to get other aspects of the linux community a little more excited/aware00:13
M4rtinK11 hours by bus ! :D00:13
lbt:D00:13
*** LjL is now known as MetaPsycho00:14
lbtmikhas: 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
lbtok ...bed ... really o/00:16
shmerllbt: night00:17
mikhasM4rtinK, no train connection?00:17
mikhas11 hours by train are much nicer than 11 hours by bus …00:17
shmerlM4rtinK: 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
shmerlAh, actually not.00:17
shmerlIt just has a yaml spec.00:17
mikhasM4rtinK, I even had a shower before getting off the train!00:18
M4rtinKmikhas: so many people from our company are going, so we are outright renting a full-size bus :)00:19
mikhasheh00:19
mikhasdoesn't that make FOSDEM feel like … work?00:19
*** Morpog_Mobile has quit IRC00:19
shmerlbtw, what version control does the OBS use?00:20
*** Morpog_Mobile has joined #mer00:21
*** cominfo has joined #mer00:21
M4rtinKmikhas: nah, I would be going regardless & this makes it convenient :)00:21
mikhasfairy snuff00:26
shmerlOK, osc mkpak just creates an empty directory with .osc metadata.00:26
shmerlmkpac*00:26
*** Tm_T has quit IRC00:28
*** Tm_T has joined #mer00:29
*** chriadam|away is now known as chriadam00:34
CosmoHillnight night00:38
*** denexter has joined #mer00:38
*** CosmoHill has quit IRC00:38
*** sni1 has joined #mer00:48
M4rtinKgood night :)00:50
*** M4rtinK has quit IRC00:50
*** zhost has quit IRC00:55
*** jstaniek has quit IRC00:55
*** MetaPsycho is now known as LjL01:00
*** cwhong_ has joined #mer01:26
*** Eztran_ has quit IRC01:28
shmerlOK, when the package was created through the UI, adding files and changing stuff works OK.01:31
shmerlBut it didn't show any XML file when I checked it out.01:31
shmerlSo still not clear how to crate a package from scratch without the UI.01:31
*** tetris4 has quit IRC01:32
shmerlAh, I found some meatadata which looks like XML.01:33
shmerl(in the UI).01:33
shmerlIt's actually the same as _meta in the .osc01:34
shmerlThat's created by doing: osc mkpac too.01:34
shmerlAh, correction, mkac creates a bunch of files in .osc but not the _meta...01:37
*** FlameReaper has quit IRC01:48
shmerlOK, it worked this way. First package can be crated with: osc mkpac hello02:05
shmerlThen add files, do osc add on them and osc ci in the end.02:05
shmerlTrying to change metadata with osc meta pkg -e before doing osc ci will cause a problem, with "package exists" error.02:06
shmerlAfter 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 #mer02:07
*** maninc has quit IRC02:08
*** maninc has joined #mer02:08
*** kaari has joined #mer02:11
shmerlOK, seems like this is a good workflow (I can post that to the wiki as a draft, you can fix that later).02:11
shmerl1. Create a package "hello" with: osc mkpac hello02:11
shmerl2. Go to the package directory: cd hello02:11
shmerlno, actually don't. For step #2: don't go to the directory, just commit the new package from where you crated it: osc ci02:13
shmerl3. Go to the package directory (still no files added there) and change metadata: osc meta pkg -e02:13
shmerlAssign the title and whatever else needed.02:14
shmerl4. Then add files and etc. with osc add and then commit again.02:14
*** sababa has quit IRC02:33
*** zhxt has joined #mer02:41
*** Morpog_Mobile has quit IRC02:41
*** cominfo has quit IRC02:44
shmerlUpdated the wiki: https://wiki.merproject.org/wiki/Building_against_Mer_in_Community_OBS#Creating_a_package_locally02:48
*** sababa has joined #mer02:51
*** Morpog_ has joined #mer02:52
*** Morpog_PC has quit IRC02:54
*** Morpog_Mobile has joined #mer03:16
*** mitz has quit IRC03:21
*** mitz has joined #mer03:24
*** kaari has quit IRC03:30
*** Morpog_Mobile has quit IRC03:43
*** furikku has joined #mer03:49
*** Morpog_Mobile has joined #mer04:06
*** dcthang has joined #mer04:10
*** krazedkrish has joined #mer04:40
*** KaIRC has quit IRC04:53
*** martyone has joined #mer05:02
*** piiramar has joined #mer05:02
*** fabo has joined #mer05:12
*** mikhas_ has joined #mer05:20
*** shmerl has left #mer05:21
*** mikhas has quit IRC05:23
*** jrayhawk_ has quit IRC05:24
*** jrayhawk has joined #mer05:36
*** FlameReaper has joined #mer05:47
*** phaeron has quit IRC05:51
*** WWDrakey has joined #mer05:57
*** Eismann has joined #mer06:11
*** artemma has joined #mer06:12
*** kostaja has quit IRC06:18
*** WWDrakey has quit IRC06:21
*** kostaja has joined #mer06:22
*** Sazpaimon_ has quit IRC06:23
*** Sazpaimon_ has joined #mer06:23
*** e8johan has joined #mer06:24
*** piiramar has quit IRC06:26
*** WWDrakey has joined #mer06:29
*** bkantor has joined #mer06:35
*** jonwil has joined #mer06:36
*** Eismann has quit IRC06:41
*** piiramar has joined #mer06:41
*** fk_lx has joined #mer06:43
*** artemma has quit IRC06:48
*** plundstr has joined #mer06:53
*** Sfiet_Konstantin has joined #mer06:54
*** phaeron has joined #mer06:55
*** Frye has quit IRC06:57
*** sababa has quit IRC07:00
*** phaeron has quit IRC07:01
*** lbt has quit IRC07:05
*** jukkaeklund has joined #mer07:05
*** lbt has joined #mer07:05
*** sababa has joined #mer07:07
*** Morpog_ has quit IRC07:13
*** phaeron has joined #mer07:15
*** Hurrian has quit IRC07:18
*** Hurrian has joined #mer07:19
*** cxl000 has joined #mer07:21
*** Sfiet_Konstantin has quit IRC07:25
*** ortylp has joined #mer07:25
*** Pat_o has quit IRC07:31
*** faenil has quit IRC07:37
*** Pat_o has joined #mer07:45
*** ortylp has quit IRC07:46
*** sequantz has joined #mer07:47
*** jukkaeklund_ has joined #mer07:48
*** jukkaeklund has quit IRC07:51
*** mikhas_ has quit IRC07:54
*** PMG has joined #mer07:56
*** mikhas has joined #mer07:56
*** artemma has joined #mer07:59
*** vakkov_ has joined #mer07:59
*** faenil has joined #mer08:01
*** gabriel9|work has joined #mer08:03
*** chriadam is now known as chriadam|away08:06
*** tanty has joined #mer08:07
*** zz_ka6sox has quit IRC08:09
*** Pat_o has quit IRC08:09
*** stephg has joined #mer08:13
*** Eztran has joined #mer08:14
*** niqt has joined #mer08:18
*** Eztran has quit IRC08:23
*** pirut has quit IRC08:23
*** Pat_o has joined #mer08:23
*** drussell has joined #mer08:26
*** jukkaeklund has joined #mer08:32
*** Pat_o has quit IRC08:32
*** ka6sox has joined #mer08:36
*** bef0rd has quit IRC08:37
*** lamikr has joined #mer08:44
*** Pat_o has joined #mer08:46
*** jmlich has joined #mer08:48
*** me_ has joined #mer08:48
*** Sfiet_Konstantin has joined #mer08:53
*** sni1 has quit IRC08:57
*** frantis has joined #mer09:11
*** plfiorini has joined #mer09:13
*** spiiroin has joined #mer09:14
*** me_ has quit IRC09:22
*** wmarone_ has joined #mer09:24
*** wmarone__ has quit IRC09:24
*** e8johan has quit IRC09:26
*** pakou has joined #mer09:28
*** notmart has joined #mer09:31
*** notmart has quit IRC09:32
*** notmart has joined #mer09:32
*** notmart has quit IRC09:32
*** phaeron has quit IRC09:38
*** dcthang has quit IRC09:41
*** andre__ has joined #mer09:42
*** Sinbad has joined #mer09:44
*** zhxt has quit IRC09:46
*** KaIRC has joined #mer09:48
*** pvanhoof has joined #mer09:48
*** trbs has joined #mer09:57
*** notmart has joined #mer09:59
*** cwhong_ has quit IRC09:59
*** cwhong_ has joined #mer10:04
*** Sfiet_Konstantin has quit IRC10:06
*** SfietKonstantin has joined #mer10:06
*** drussell has quit IRC10:08
*** schmooster has joined #mer10:09
*** stephg_ has joined #mer10:09
*** jukkaeklund has quit IRC10:09
*** zhxt has joined #mer10:10
*** frantis has quit IRC10:15
*** artemma has quit IRC10:15
*** simbrown has joined #mer10:17
*** pakou has quit IRC10:22
*** amccarthy has quit IRC10:23
*** amccarthy has joined #mer10:25
*** mikhas has quit IRC10:32
*** artemma has joined #mer10:33
*** jukkaeklund_ has quit IRC10:42
*** artemma has quit IRC10:51
*** nsuffys has joined #mer10:52
*** fk_lx has quit IRC10:55
*** jstaniek_work has joined #mer11:07
*** vakko__ has joined #mer11:10
*** lpotter has quit IRC11:11
*** vakkov_ has quit IRC11:12
*** lpotter has joined #mer11:12
*** vakko__ is now known as vakkov11:14
*** phaeron has joined #mer11:14
*** jpetrell has joined #mer11:17
*** SfietKonstantin is now known as Sfiet_Konstantin11:18
*** e8johan has joined #mer11:22
*** jluisn has joined #mer11:31
*** Venemo has joined #mer11:37
*** e8johan has quit IRC11:43
*** FReaper has joined #mer11:49
*** FlameReaper has quit IRC11:49
*** drussell has joined #mer11:50
*** Morpog_N9 has joined #mer11:50
*** zhost has joined #mer11:53
*** artemma has joined #mer11:54
*** tanty has quit IRC12:02
*** schmooster has quit IRC12:10
*** ScriptRipper has quit IRC12:13
*** cristi has joined #mer12:16
*** ScriptRipper has joined #mer12:17
*** ScriptRipper has quit IRC12:17
*** ScriptRipper has joined #mer12:17
*** phaeron has quit IRC12:19
*** krazedkrish has quit IRC12:23
*** zhxt has quit IRC12:26
*** Flowcont has quit IRC12:27
*** drussell has quit IRC12:29
*** vgrade_ has joined #mer12:31
*** Flowcont has joined #mer12:33
*** artemma has quit IRC12:35
*** CosmoHill has joined #mer12:37
*** kaari has joined #mer12:44
*** pocek_ is now known as pocek12:52
*** me_ has joined #mer12:52
*** stephg_ has quit IRC12:55
*** artemma has joined #mer13:02
*** Pat_o has quit IRC13:03
*** gabriel9 has joined #mer13:04
*** schmooster has joined #mer13:04
*** Pat_o has joined #mer13:04
*** gabriel9|work has quit IRC13:05
*** niqt has quit IRC13:11
*** kaari has left #mer13:14
*** niqt has joined #mer13:21
*** disco_stu has quit IRC13:23
*** virtuald has quit IRC13:23
*** virtuald_ has joined #mer13:23
*** PMG has quit IRC13:23
*** diegoyam_ has quit IRC13:23
*** diegoyam has joined #mer13:23
*** PMG has joined #mer13:23
*** MJD has quit IRC13:24
*** CosmoHill has quit IRC13:29
*** si1enc7 has joined #mer13:30
*** nitkie has joined #mer13:30
*** si1enc7 has left #mer13:31
*** nitkie has quit IRC13:35
*** artemma has quit IRC13:37
*** artemma has joined #mer13:37
*** jukkaeklund has joined #mer13:39
*** jukkaeklund has quit IRC13:43
*** mardy has quit IRC14:02
*** mardy has joined #mer14:04
*** phaeron has joined #mer14:08
*** Morpog_Mobile has quit IRC14:08
*** Sfiet_Konstantin has quit IRC14:20
*** CosmoHill has joined #mer14:23
*** artemma has quit IRC14:29
*** VDVsx_ has quit IRC14:32
*** VDVsx has joined #mer14:33
*** Morpog_Mobile has joined #mer14:49
*** martyone has quit IRC14:52
*** Eztran has joined #mer14:57
*** phaeron has quit IRC15:01
*** vgrade_ has quit IRC15:01
*** FReaper has quit IRC15:01
*** jluisn has quit IRC15:01
*** jpetrell has quit IRC15:01
*** vgrade has quit IRC15:01
*** Morpog_Mobile has quit IRC15:01
*** CosmoHill has quit IRC15:01
*** Pat_o has quit IRC15:01
*** ScriptRipper has quit IRC15:01
*** lpotter has quit IRC15:01
*** WWDrakey has quit IRC15:01
*** Jare_ has quit IRC15:01
*** Merbot has joined #mer15:03
*** simbrown has quit IRC15:04
*** ortylp has joined #mer15:04
*** DocScrutinizer05 has joined #mer15:04
*** Venemo has quit IRC15:04
*** simbrown has joined #mer15:04
*** nwoki has joined #mer15:07
*** sledges has joined #mer15:07
*** mkosola has joined #mer15:07
*** ryukafalz has joined #mer15:07
*** oahong has joined #mer15:07
*** Venemo has joined #mer15:09
*** edgar2 has joined #mer15:10
*** me_ has quit IRC15:12
*** FReaper has quit IRC15:13
*** FReaper has joined #mer15:13
*** FReaper has quit IRC15:14
*** FReaper has joined #mer15:14
*** Frye has joined #mer15:15
*** me_ has joined #mer15:16
*** CosmoHill has quit IRC15:19
*** FReaper has quit IRC15:22
*** FlameReaper has joined #mer15:22
*** fignew has quit IRC15:26
*** jstaniek_work has quit IRC15:31
*** CosmoHill has joined #mer15:32
*** Morpog_PC has joined #mer15:43
*** phaeron has quit IRC15:45
*** Morpog_N9_ has joined #mer15:52
*** Morpog_N9 has quit IRC15:55
*** stephg_ has joined #mer15:55
*** nsuffys has quit IRC15:56
*** qwazix has quit IRC16:02
*** veskuh has joined #mer16:02
*** Sfiet_Konstantin has joined #mer16:03
*** Luke-Jr[Q] has left #mer16:16
*** niqt has quit IRC16:22
*** Eztran has quit IRC16:32
*** arcean has joined #mer16:33
*** NIN101 has joined #mer16:34
*** NIN101 has quit IRC16:35
*** NIN101 has joined #mer16:36
*** Venemo has quit IRC16:37
*** Venemo has joined #mer16:38
*** gabriel9 has quit IRC16:41
*** Eztran has joined #mer16:44
*** artemma has joined #mer16:47
*** sledges has quit IRC16:52
*** klouczers has joined #mer16:54
*** klouczers has left #mer16:55
*** sledges has joined #mer16:56
*** sledges has quit IRC16:56
*** sledges has joined #mer16:56
*** plfiorini has quit IRC16:59
*** pvanhoof has quit IRC17:02
*** xhaakon has joined #mer17:02
*** xhaakon has quit IRC17:03
*** ortylp1 has joined #mer17:05
*** ortylp has quit IRC17:08
*** mikhas has joined #mer17:12
*** phaeron has joined #mer17:18
*** mkosola has quit IRC17:21
*** mkosola has joined #mer17:22
*** xavinux has joined #mer17:22
*** Pat_o has quit IRC17:25
*** Venemo has quit IRC17:27
*** nsuffys has joined #mer17:33
*** vgrade_ has quit IRC17:36
*** Pat_o has joined #mer17:38
*** pvanhoof has joined #mer17:39
*** xavinux has quit IRC17:41
*** virtuald_ is now known as virtuald17:41
*** amizraa has joined #mer17:42
*** plfiorini has joined #mer17:43
*** lamikr has quit IRC17:50
*** Pat_o has quit IRC17:52
*** onurati has joined #mer17:53
*** vakkov has quit IRC17:59
*** ortylp1 has quit IRC18:03
*** veskuh_ has joined #mer18:04
*** stephg_ has quit IRC18:07
*** veskuh has quit IRC18:07
*** veskuh_ is now known as veskuh18:07
*** vakkov has joined #mer18:13
*** ortylp has joined #mer18:15
*** Aurium_ has joined #mer18:17
*** thinkfat_ has joined #mer18:17
*** Aurium_away has quit IRC18:20
*** thinkfat_ has quit IRC18:22
*** Pat_o has joined #mer18:26
*** thinkfat_ has joined #mer18:34
*** fk_lx has joined #mer18:40
*** veskuh has quit IRC18:44
*** sababa has quit IRC18:55
*** MJD has joined #mer18:55
*** araujo has quit IRC18:57
*** araujo has joined #mer18:58
*** sababa has joined #mer19:08
*** shalokshalom has joined #mer19:11
shalokshalomhi 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 :D19:11
shalokshalomnow = know19:12
*** ortylp has quit IRC19:14
*** jstaniek has joined #mer19:15
*** Eismann has joined #mer19:24
*** furikku has quit IRC19:25
*** edgar2 has quit IRC19:34
*** synchris has joined #mer19:35
*** araujo has quit IRC19:38
*** araujo has joined #mer19:39
*** amjad__ has joined #mer19:40
*** shalokshalom has quit IRC19:43
artemmaCan you somehow generate a part of .yaml programmatically?19:49
artemmathinking about using same version/release strings in .yaml/.spec and .pro19:50
lbtyes19:50
lbtmy design was "the yaml contains stuff the spec needs that the pro cannot provide"19:50
artemmaI 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#L319:51
artemmaIt looks like you can define variable in .yaml, that can get used in .pro then. Correct?19:52
lbtthe yaml actually must have the content19:52
artemmaor is it the other way around?19:52
lbtbut it can be managed by QtCreator19:52
artemmasorry, I don't get it :/19:52
lbtso ... are you familiar with a spec file and rpms ?19:53
artemmathe 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 tags19:53
artemmalbt: I get the idea of .yaml, .spec and know how to create sub packages there19:54
artemmaand specify reqs once I figure packages to use19:54
artemmabut that's about all my knowledge19:54
lbtjust checking19:54
artemmaas for .pro, I believe I am quite okay with it19:54
artemmalinking between .yaml and .pro via these QMakeOptions is unclear to me19:55
lbtso the pro file is used to make a makefile19:56
lbtthe makefile is used by the spec file to build the package19:56
lbtthe spec additionally needs metadata19:56
lbtsome of that can be replicated in the .pro19:56
artemmaah.. so it's processing of .spec that actually creates the final build19:56
lbtyes19:57
artemmahmm..19:57
artemmathen how are these QMakeOptions used then?19:57
lbtdon't forget - the primary goal of most of these tools is to make a full device/product19:57
lbtthe app side is a small subset19:57
lbtso we do need to reduce the visibility of the complex stuff19:58
lbtand streamline19:58
lbtin our normal build processes we actually use a tag on github to connect to our webhook API in Mer (or Jolla)19:58
artemmainteresting, that's pretty much what I want19:59
lbtthat triggers a git pull which then updates the packaging to do a build19:59
artemmaexcept that I want the same version string to be usable inside binary as well. E.g. for About dialog19:59
lbtright20:01
lbttell me ... how do I get the sha1 of a src file into the src file? :)20:01
artemmaso.. - 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
artemmaI think I get that all these magic happens in the build time, just don't quite get the order20:02
lbtright ... so that goes into the build time stuff - the packaging20:03
artemmawho's the boss and who's dependent20:03
mikhaslbt is the boss20:03
lbtactually I'm not sure that was a good example - but let it slide for now :)20:03
artemmaBuilder is apprently called by whoever processes .spec (rpms process?)20:04
lbttoo many concurrent chats :)20:04
*** lbt has quit IRC20:04
artemmais this VERSION passed to makefile or fetched from makefile (for packaging ) then?20:04
*** lbt has joined #mer20:06
*** lbt has quit IRC20:06
*** lbt has joined #mer20:06
lbtuseless ADSL20:06
artemmasorry about it20:06
artemmais this VERSION passed to makefile or fetched from makefile (for packaging ) then?20:06
artemmaI guess it is passed to makefile, but I am not sure20:07
lbtthe approach I'd use is to pass it in via the packaging20:07
lbtso yes, via the makefile20:08
artemmaaha, 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
lbtI would say that was the correct way20:10
artemmaokay, got it, that's pretty clever actually20:10
artemmaI'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
artemmalbt: then the only part left is how to get this version string from a git tag20:12
artemmaI 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 .yaml20:12
lbtdon't do that20:13
lbtthe pro may be running using a tarball snapshot20:13
Bostikartemma: if you autogenerate .changelog at source upload autocreation time, why not just add the output of git-describe there?20:13
Bostikthen, if $RPM_BUILD_ROOT is defined when buildilng, use that to get the location of the .changelog, and extract latest version20:13
artemmaBostik: I don't do automatic change logs and don't know how to do it, can learn though20:13
Bostikholy crap this network is laggy20:14
artemmaif it existed however, I still don't get how to pull it to .yaml20:14
StskeepsBostik: UK is like a third world country when it comes to connectivity isn't it20:14
* CosmoHill waves at Bostik, Stskeeps and lbt 20:14
BostikStskeeps: at least their mobile data is awful20:14
lbtartemma: as a first step I'd say hardcode the version into the yaml Version: field20:14
artemmalbt: do you mean that pulling git tag into .yaml is possible, but needs some mechanism not supported by some higher level packagers?20:15
lbtyes20:15
artemmaI hardcode it now yes.20:15
lbtthe discussion above leads us to that as the best interim solution20:15
artemmahmm, 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 only20:15
artemmathanks!20:15
artemmaand pull requests with a reference solution is welcome too :)20:16
lbttypically users will commit the yaml into the same git as the source for 'apps'20:16
artemmaLooking at bit.ly link stats at least dozens of developers are looking at that Helloworld Pro for Sailfish20:16
lbtvery often you see the version bump as the first thing post-tag20:16
BostikI need one full evening of NOTHING demanding my attention to sort out the network operator deals20:16
artemmayeah, I think at some point I should just create a bump-version.sh that modifies .yaml and calls spectacle to reflect changes in .spec too20:17
*** odin_ has joined #mer20:17
lbtspectacle runs automatically if the yaml is newer than the spec20:18
artemmaif 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
artemmalbt: only if you actually do generate the build :)20:18
artemmaI sometimes forget about it and commit version change when only .yaml is updated20:18
artemmalbt: thanks a lot, I think I understand things now20:19
lbtthen you should do better QA and test a build after *every* change - even the "nothing can go wrong" ones :D20:19
* artemma is actually into fullest possible automation and develops some things e.g. Flashlight in nearly complete TDD mode20:20
Bostiktriggering autobuilds for all commits is not such a bad idea, but you should probably dedicate a separate autobuild project for those20:20
artemmathat is one of the reasons why this step of non-automatic version string bugged me20:20
lbtartemma: FWIW we do a huge amount of automation20:20
artemmawe lousy developers need fullest possible automation net to protect from ourselves :)20:20
lbtcheck #mer-boss sometime20:20
artemmaContinuous Integration for my Jolla apps are not quite there yet though20:21
artemmawould be cool to do one day, but not sure if I ever actually do it20:21
lbtthey require too much rigor for most app devs20:21
artemmaI 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 developer20:22
artemmaand* I suppose20:23
Bostikwe 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
lbtbuild every tag is the other approach20:24
artemmathat is super cool, but again I guess nobody even cares to make it single-click usable for a 3rd party app dev20:24
artemmaplus some of my tests need UI level as well20:24
lbtartemma: to make it valuable you need to do things like enforce changelog rules, link to bug trackers, tag naming schemes, automated builders20:25
lbtnon-OSS app devs won't want to use a build service (and MOBS is OSS only)20:25
*** amjad_ has quit IRC20:26
artemmaas all the other debs out there I care about my particular case mostly :)20:26
artemmaother devs*20:26
artemmaproblem is, it is unlikely to be mer's standard case :)20:26
artemmaif/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 commit20:27
*** Pat_o has quit IRC20:27
artemmabut that's mostly because even in a dream situation I'll get a couple of collaborators max20:27
*** gabrbedd has quit IRC20:28
lbtso the way to get more is to join other people, not have them join you :)20:29
*** gabrbedd has joined #mer20:30
artemmawell, so far I am just doing apps myself for fun + a friend who knows about UI20:31
artemmaonce there's a second contributing dev, CI on git hooks will start making way more sense20:32
artemmawith 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 enough20:33
artemmafor a simple app of course20:34
*** Pat_o has joined #mer20:34
*** andre__ has quit IRC20:36
*** jluisn has quit IRC20:36
*** phdeswer has quit IRC20:40
*** phdeswer has joined #mer20:41
*** amjad__ has quit IRC20:48
*** artemma_ has joined #mer20:59
*** skry_ is now known as Skry21:02
*** me_ has quit IRC21:02
*** artemma has quit IRC21:02
*** tilgovi has joined #mer21:12
*** kostaja has quit IRC21:12
*** faenil has quit IRC21:14
*** kostaja has joined #mer21:15
*** synchris has quit IRC21:37
*** artemma_ is now known as artemma21:39
*** NIN101 has quit IRC21:39
*** cxl000 has quit IRC21:40
*** tetris4 has joined #mer21:43
*** ortylp has joined #mer21:47
*** thinkfat_ has quit IRC21:51
*** Eismann has quit IRC21:54
*** nsuffys has quit IRC22:01
*** ortylp has quit IRC22:04
*** Jucato has quit IRC22:10
*** onurati has quit IRC22:13
*** faenil has joined #mer22:15
*** bef0rd has joined #mer22:20
sledgeshello22:24
sledgeslbt?22:24
sledgeshttp://webhook.merproject.org/ is down :/22:24
CosmoHillsledges: is it mean to ask me for a user and password?22:28
sledgesCosmoHill: lbt thank you, was some temporary failure (my DNS?)22:29
lbtI was doing some work on it22:29
sledgesphew, so it wasn't the pill I took22:29
sledges:}22:29
*** artemma has quit IRC22:30
*** ScriptRipper has quit IRC22:35
*** artemma has joined #mer22:35
*** ScriptRipper1 has joined #mer22:38
*** Morpog_N9_ has quit IRC22:40
*** Morpog_PC has quit IRC22:40
*** artemma has quit IRC22:45
*** artemma has joined #mer22:51
*** Jucato has joined #mer22:51
*** pvanhoof has quit IRC22:58
*** bfederau has quit IRC23:01
*** bfederau has joined #mer23:01
*** trbs has quit IRC23:02
*** artemma has quit IRC23:02
*** araujo has quit IRC23:04
*** araujo has joined #mer23:05
*** artemma has joined #mer23:08
*** Frye has quit IRC23:10
*** Morpog_Mobile has quit IRC23:11
*** Frye has joined #mer23:13
*** promulo has quit IRC23:25
*** promulo has joined #mer23:27
*** zhost has quit IRC23:32
*** jstaniek has quit IRC23:54
*** Sfiet_Konstantin has quit IRC23:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!