/srv/irclogs.ubuntu.com/2013/02/21/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
=== mmrazik is now known as mmrazik|afk
=== mmrazik|afk is now known as mmrazik
sil2100smspillaz: hi!08:28
sil2100smspillaz: I noticed that CI has failed on my revert branch - you have any idea why?08:28
sil2100https://code.launchpad.net/~sil2100/compiz/revert_vb_patches/+merge/14972508:29
smspillazsil2100: yeah, there's a broken test in CI :( it should be fixed now08:35
smspillazBUT08:35
smspillazI think I know whats causing this problem anyways, so I'd probably hold off on the revert for about on hour08:36
sil2100smspillaz: excellent!08:36
sil2100smspillaz: what do you think might be the root cause?08:36
smspillazsil2100: well, I'm pretty sure that the fact that unity even started was never even meant to work08:37
smspillazI'm just going to roll a thing to make it force-import any new profiles if you change it from, eg, outside compizconfig08:37
smspillazsil2100: BTW, if you just build the branch without any distro patches and install it, it won't load anything08:39
smspillazbecause we have a distro patch that auto-loads the ccp plugin, which bootstraps the load process08:39
smspillazsil2100: it just took me forever to get CCSContext in a test harness, but I've got it now08:41
sil2100smspillaz: ;)08:44
sil2100smspillaz: this is one big WTF-machine it seems08:45
mterrysil2100, does your latest landed merge mean that compiz is working again?09:06
sil2100mterry: which merge?09:10
sil2100mterry: sadly, my revert didn't go in because of CI failures, but Sam anyway said to hold for a moment more09:11
mterrysil2100, https://code.launchpad.net/~sil2100/compiz/revert_vb_patches/+merge/149725  (but now I see it didn't land)09:11
mterrysil2100, OK, no worries09:12
smspillazsil2100: I need to debuild this thing. Could take me some time, and then I have to go out for 2 hours09:44
smspillazsil2100: what I have atm is uploaded to ~compiz-team/compiz/compiz.fix_1130679/09:45
mterryfginther, hello!  some part of the jenkins process is running make -n coverage-xml (as you can see near the bottom of https://jenkins.qa.ubuntu.com/job/hud-ci/build=pbuilder,distribution=raring,flavor=amd64/27/console )10:24
mterryfginther, and for the hud, this is not working apparently because I dropped gtester2xunit from the Build-Depends10:25
mterryfginther, is there a way you could add that package to the jenkins build manually (but not to the package itself, since we don't want gtester2xunit in main)10:25
mterryfginther, (or don't run coverage-xml, but I assume someone added that for a reason)10:26
* mhr3 hides from mterry10:41
mterrymhr3, :)10:42
mterrymhr3, if keeping old symbols is too gross, option #2 isn't so bad (new library name).  You could even drop the old symbols altogether if you wanted10:44
MCR_andyrock, https://bugs.launchpad.net/ubuntu/+source/unity/+bug/748539/comments/2710:44
ubot5Launchpad bug 748539 in unity (Ubuntu) "Multi-monitor - Panel and launcher visible on top of multimonitor non-focused fullscreen apps" [High,In progress]10:44
mterrymmrazik, ^ up above, my comments to fginther apply to you10:45
mhr3mterry, i'd rather not go to decide on this right away, #2 kinda makes sense, but it primarily breaks the scopes API, and old scopes just won't work with the old api anyway10:45
andyrockMCR_, what about OSK then?10:45
mhr3mterry, anyway, we just want this in a ppa so interested developers can use it10:46
mhr3mterry, it's not merge proposed against trunk fwiw10:46
=== mmrazik is now known as mmrazik|lunch
MCR_andyrock, OSK should already be on-top as well, no ? But simply forget it as further testing shows that this solution will just work if only the fullscreened window is on-top10:50
MCR_andyrock, once you set another window to be on-top as well, the panel comes up over the fullscreened video again :)10:51
MCR_so not exactly ideal... :(10:51
mterrymhr3, well, I didn't mark the branch as fix needed.  But obviously, this needs some thinking before we do land in trunk10:56
mhr3mterry, don't worry, i'm keeping it in mind10:57
mterrymhr3, regarding old scopes not working with the old api anyway: (A) sad-face; it would be nice if there were some compatibility layer (B) there is a difference between breaking a build and breaking functionality -- one of those makes it harder to ship a security fix for a non-updated app using libunity for example11:01
mhr3mterry, unless the non-updated app can build cleanly with the latest libunity, which it will cause it's not a scope11:04
mterrymhr3, OK...  say we have a scope packaged along with something else.  Say I have a 3rd party app in the Software Center that ships a scope.  I dunno.  This is a general principle regarding libraries and maybe scopes have special considerations, but I'm leery that it's true11:06
mhr3then the scope isn't working and you should update it :)11:07
mterrymhr3, agreed.  But I'm drawing a distinction between two types of not-working and making the claim that breaking a build is worse than breaking functionality11:08
mhr3mterry, but yes, i'm aware of all of this, we might end up putting scopes in a completely separate library or something, TBD11:08
=== mmrazik|lunch is now known as mmrazik
mterrymhr3, with the caveat that breaking functionality is also something you shouldn't do.  ;)11:09
mterrymhr3, sure.  I'll stop bugging you about it.  :)  I'm sure it will all be sorted by landing11:09
mmrazikmterry: FYI -- the hud-ci job is failing because thre are no tes-results (consequence of the gtester2xunit dep). make -n coverage-xml is working just fine.11:10
mmrazikmterry: I'll take care of it11:10
mmrazikfginther: ^11:10
mterrymmrazik, ah, OK.  I read the log wrong.  Thanks!11:10
mterrymmrazik, we can fix it by adding gtester2xunit as a special jenkins-installed package?  cool11:10
andyrockMCR_, btw i've a working solution (just need to fix a corner case with multimple VPs)11:10
mmrazikmterry: yes11:11
mterrynice11:11
MCR_andyrock, that is great to hear :)11:11
mhr3mterry, let's call breaking apis an anti-virus measure, then everyone will think it's a good thing ;D11:11
mterrymmrazik, is that a separate build than the PPA then?  i.e. we build in jenkins with special package, then later push to PPA with no special packages?11:12
mmrazikmterry: yes11:12
mterrymhr3, don't imply we have a virus problem!11:12
mmrazikmterry: we are e.g. adding coverage flags too11:12
mterrymmrazik, cool11:12
MCR_andyrock, at least I've found a workaround, which should work for 12.04 and 12.10 users11:12
mmrazikso we can generate the coverage report11:12
mterrymmrazik, ah, makes sense11:12
andyrockMCR_, sure11:12
andyrockbtw I think we need to SRU it11:12
MCR_andyrock, btw - onboard has a special on-top modus, but it is turned off by default...11:13
mhr3mterry, no, no, i'm implying this is why we don't :)11:13
mterryk:)11:13
mterryI mean, :)11:13
* MCR_ is looking forward to your solution, andyrock :)11:13
mterryk:) make me look like I just graduated11:13
mhr3heh11:14
mmrazikfginther, mterry: btw. jenkins should be fixed now11:26
mterrymmrazik, awesome11:26
=== dandrader is now known as dandrader|afk
sil2100smspillaz: ping11:52
=== dandrader|afk is now known as dandrader
mterrymmrazik, the "Unity Merger" launchpad account is what lands things to branches, right?12:11
mmrazikmterry: nope. its the old one. the correct one is ps-jenkins@lists.canonical.com (launchpad id: ps-jenkins)12:11
mterrymmrazik, I think we're ready to enable autolanding for unity-greeter.  Can you check to make sure things are set up correctly?  (note that we don't want auto-uploading yet)12:15
mmrazikmterry: looks good12:19
mmrazikmterry: autolanding should be set-up too. fginther created the jobs yesterday (thats why I found out about the previous merge proposal -- my watchdog was complaining there is approved but not merged MP)12:20
mterrymmrazik, ah interesting12:20
mterrythanks!12:20
* mterry is eager to try it out12:20
mterrymmrazik, btw, we have launchpad pushing translation updates to trunk.  I assume that autolanding will be fine with that?12:21
mmrazikmterry: you mean launchpad pushing directly to trunk and not via autolanding?12:21
smspillazsil2100: pong12:21
mmrazikthat should work. jenkins won't notice it12:21
mterrymmrazik, yeah, I guess.  Launchpad has a feature where you can have it put translations updates directly into a branch, and we have it pointing at trunk12:22
mterrymmrazik, OK, cool12:22
mterrymmrazik, you deactivated unity-team?   I thought that was how ps-jenkins got in.  But maybe it's part of pspmteam?12:22
mmrazikmterry: I've deactivated unity-team and added canonical-product-strategy (c-p-s was already part of unity-team)12:23
mterryah12:23
mmrazikits more less the same people but I don't like these transitive memberships12:23
mmrazikit just creates mess12:23
mmrazikso c-p-s should be everywhere for a bit more transparency12:23
=== _salem is now known as salem_
MCR_andyrock, if you're in review mode: https://code.launchpad.net/~mc-return/unity/unity.merge-fix1131152-cppcheck-issues/+merge/14980112:51
MCR_:)12:52
sil2100smspillaz: ping!12:53
smspillazsil2100: ....pong ?13:03
smspillazsil2100: you must have a flakey connection13:03
smspillazas for my branch .. still working on it13:03
smspillazI noticed that the upgrade code did not quite kick in13:03
smspillazerm, the profile thing13:04
smspillazits difficult to test properly13:04
sil2100smspillaz: ah, since I built what you already had in the branch but the problem was still there, so I've been wondering how the upgrades are going13:04
sil2100smspillaz: yea, today I somehow get disconnected for no reason ;/13:05
smspillazsil2100: I'm working on it. Its a total pain to test properly, unless you know of any filesystem mocking utilities13:07
sil2100smspillaz: sadly ;(13:07
smspillazthe surrounding code is very tightly coupled with the filesystem. I could break those dependencies but it would take days13:08
smspillazso its not worth it13:08
smspillazI've just got a small unit test in, but it obviously can't cover everything, except the decision to import from /etc/compizconfig13:08
smspillazccsListAppend (list, foo);13:23
smspillazI make that bloody mistake all the time13:23
smspillaz(it requires assignment like g_list etc)13:23
=== danilos is now known as danilos-afk
=== francisco is now known as Guest99270
=== mmrazik is now known as mmrazik|afk
=== dandrader is now known as dandrader|afk
fginthermterry, I think I've caught up on the backlog. but just in case, is there anything you need from me that mmrazik didn't resolve?15:16
mterryfginther, no...  I don't think so15:31
mterryfginther, thanks  :)15:31
=== dandrader|afk is now known as dandrader
=== danilos-afk is now known as danilos
=== mmrazik|afk is now known as mmrazik
smspillazandyrock: Trevinho: sil2100: review coming your way: https://code.launchpad.net/~compiz-team/compiz/compiz.fix_1130679/+merge/14957416:43
smspillazI know its big, its mostly because I moved a big chunk of code from one file to antoher16:43
smspillazbschaefer: https://code.launchpad.net/~compiz-team/compiz/compiz.fix_1130679/+merge/14957416:45
sil2100smspillaz: big thanks! Looking, test building and testing16:45
bschaefersmspillaz, cool, ill take a look16:45
smspillazI hate the settings code16:45
smspillazall of it16:45
bschaeferhaha16:45
sil2100heh ;) So there's more of us16:45
sil2100!16:45
smspillazevery time I have to manipulate character arrays I want to stab someone I swear16:45
* bschaefer enjoys char*16:46
sil2100Ok, this review is BIG16:46
sil2100;)16:46
bschaeferthough they are a large source of error16:47
smspillazsil2100: its mostly because I moved a few big chunks out of main.c into separate files16:47
bschaefersmspillaz, looking at getenv, we should probably be using secure_getenv16:54
bschaeferso we don't actually get the real copy ...16:54
bschaefer386+ char *home = getenv ("HOME");16:55
bschaefer387+ char *override_backend = getenv ("LIBCOMPIZCONFIG_BACKEND_PATH");16:55
smspillazbschaefer: yep, you're right16:56
bschaefersmspillaz, I was just reading the man pages for getenv :) (I didn't know that existed)16:56
smspillazbschaefer: neither did I, although now that I've read them I don't think its applicable in this case16:57
bschaefersmspillaz, hmm well you don't modify it, possibly making the char* you assign them to a const?16:57
bschaeferto show its read only16:57
smspillazbschaefer: you only want to use secure_getenv for setuid programs, so that you can't, eg, inject code into a setuid process through its environment16:58
smspillazbschaefer: well, getenv returns char *, but I suppose that's a good point16:58
bschaefersmspillaz, right, yeah it just sounded nicer "secure!"16:59
TheMusoc/16:59
sil2100;)16:59
bschaefersmspillaz, also on your if statements, could we throw in {}16:59
bschaefer396+17:00
bschaeferas it gets hard to read when the if statement is 2 lines already17:00
bschaefer(the asprintf ones)17:00
* bschaefer just start taking notes to put on the MP17:00
smspillazbschaefer: the without-braces is compiz style if the action falls on the next line17:01
smspillazand its only one statement17:01
bschaeferyeah true, I try to use braces when ever my if statement is longer then 1 line17:01
bschaeferI still don't know the compiz style 100% :)17:01
smspillazheh17:03
smspillazlaunchpad diffs on .patch files are impossible to read17:04
smspillazgoing to bed gnight17:09
=== smspillaz is now known as smspilla|z
sil2100Wgiii!17:13
sil2100Whooo!17:13
sil2100It works!17:14
mterrysil2100, \o/17:20
bschaefersil2100, to make you happier 100% tests passed, 0 tests failed out of 132517:21
bschaefer:)17:21
bschaeferim like 70% done with the review...17:22
sil2100\o\17:23
sil2100/o/17:23
bschaefersmspilla|z, https://code.launchpad.net/~compiz-team/compiz/compiz.fix_1130679/+merge/149574/comments/32564417:32
bschaefernoo hes gone17:32
bschaefersil2100, sooo hmm most of the need fixing is more or less needing information17:32
bschaefersil2100, should we wait until later for him to look at the comment?17:33
=== om26er_ is now known as om26er
sil2100bschaefer: hm hm, good question - the sooner we have it fixed the better17:38
sil2100bschaefer: it's in compiz-team, so we can probably fix anything that needs fixing17:39
bschaefersil2100, very true, and there is nothing that is a red flag to me17:39
bschaefer(maybe a yellow one)17:39
sil2100bschaefer: I would probably initialize and NULL-check the two char * variables anyway17:42
sil2100As for the rest, hmm17:42
sil2100didrocks: ping17:45
didrockssil2100: pong pong!17:45
sil2100didrocks: a quick question regarding bamf on precise - do you know if bamf landed in *precise-proposed* as well? Version 0.2.126-0ubuntu117:46
sil2100(the one Timo was working on)17:46
didrockssil2100: I think so, let me look at that17:46
sil2100didrocks: or was it removed from the queue before entering -proposed?17:46
sil2100didrocks: if yes, could you quickly push the -proposed version somewhere so that I can rebase Timo's branch on it ;) ? Since I'm being poked about the fix already17:47
didrockssil2100: phrumpf, it's been uploaded (I have the .upload file), but no trace in -proposed not in unapproved17:47
sil2100uuuh17:48
sil2100hmmm17:48
sil2100;)17:48
sil2100What should we do in this case?17:48
didrockssil2100: do you mind contacting any SRU team member and keep me updated?17:49
didrockssil2100: I can reupload if needed17:49
didrockssil2100: but I don't see any reject email :/17:49
sil2100didrocks: ok! Well, we asked for it to get removed, just been wondering if it made to -proposed17:49
didrocksah ok :)17:50
sil2100didrocks: since we wanted to release it with a cherry-pick17:50
didrockssil2100: no, it didn't17:50
sil2100didrocks: \o/17:50
sil2100didrocks: thanks!17:50
didrockssil2100: yw17:50
bschaefersil2100, soo how about we pull the branch fix the uninted chars and push a  branch that depends on sams?18:02
bschaefersil2100, actually, looking at sams branch, its ~compiz-team so we can push directly to it18:05
bschaefersil2100, im just going to fix the uninted char* and get it approved and merged18:06
sil2100bschaefer: yes, I mentioned that earlier ^18:06
bschaefersil2100, I didn't see that!18:06
sil2100bschaefer: that's why I proposed fixing that, since we have push permissions ;)18:07
bschaeferdaang now Im reading that18:07
bschaeferhaha18:07
bschaeferopps18:07
sil2100bschaefer: fix as many minor things as you feel need fixing and let's maybe approve it18:07
sil2100Since Sam will be up a bit later,  while we need to have a release this week! ;)18:07
bschaeferyup, Ill be happy to approve it with the possibility of freeing an united char* gone18:08
sil2100:)18:12
=== jhodapp is now known as jhodapp|lunch
bschaefersil2100, i've approved of the branch18:41
sil2100bschaefer: excellent, thanks! Only those uninit fixes you made or something else?18:41
=== jhodapp|lunch is now known as jhodapp
bschaefersil2100, yeah, I only changed the uninted problems, the other ones were super minor18:41
sil2100\o/18:42
sil2100bschaefer: big thanks!18:42
bschaefer(like casting just to reduce warnings of compiler options ever change)18:42
bschaefernp!18:42
* sil2100 hopes for an unblocked Unity tomorrow18:42
bschaefererrg18:42
bschaeferyeah18:42
sil2100I mean, compiz18:42
sil2100;)18:42
sil2100See you later then!18:42
bschaeferme too!18:42
bschaeferc ya!18:42
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!