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

tigrangHow do I run the unit tests? I was told './test/test-getst' but there is no file like that00:14
tigrangI lied00:15
bschaefertigrang, well where are you in the direction?00:15
bschaeferdirectory*00:15
bschaefer(should be in unity/build/tests/test-gtest00:15
bschaefer)00:15
tigrangwas looking in tests/ directory, but it's inside build/tests00:15
bschaeferyup!00:15
tigrangyea, my bad, thanks00:15
bschaeferno worries, I still get confused when I want to open a source file while in build/tests :)00:16
bschaeferbut have to go ../../tests00:16
cyphermoxbschaefer: still around?01:21
bschaefercyphase, yup, hello01:22
cyphermoxhehe01:22
cyphermoxhello ;)01:22
cyphaselol01:22
bschaeferopps01:22
bschaefercyphase, sorry!01:22
cyphaseno problem, happens all the time01:22
cyphermoxdo you have time to do a quick review for autopilot-qt?01:22
bschaefer4 chars overlap!01:22
cyphermoxhttps://code.launchpad.net/~mathieu-tl/autopilot-qt/arches/+merge/15456701:22
bschaefercyphermox, yeah I can take a look hopefully01:22
cyphasei should change to cyphzse :)01:22
cyphermoxcyphase: nice :P01:23
bschaefercyphermox, what is any declared? (Just want to make sure powerpc is the only thing missing from the list)01:23
cyphermoxbschaefer: any actually includes powerpc01:24
bschaefers/what/where*01:24
cyphermox(which is what we don't want)01:24
bschaefercyphermox, yeah, so the list is 5?01:24
cyphermoxthat's subject from interpretation based on what distro builder supports01:24
* bschaefer just wants to double check non are missing01:24
cyphermoxon Ubuntu, yes01:24
bschaeferoo alright01:24
bschaefercool looks good to me then01:24
cyphermoxon Debian it's more like 15 or so ;)01:24
bschaeferhaha, approved :)01:25
cyphermoxthis is just temporary to unblock autopilot-qt01:25
cyphermoxthanks!01:25
bschaefercyphermox, cool, I figure once its fixed it'll go back to any :)01:25
bschaefernp!01:25
cyphermoxyup01:25
tigrangIs there anything wrong with this (in terms of coding standards/style or stuff I shouldn't be using)? https://gist.github.com/tigrang/6af395688f7f782a0a92 (6 lines)01:58
bschaefertigrang, looks fine to me. Looks like the surrounding code.02:06
tigrangok, thanks for taking a look02:10
=== mmrazik is now known as mmrazik|crappy_i
=== mmrazik|crappy_i is now known as mmrazik
tsdgeosmzanetti: ran https://code.launchpad.net/~aacid/unity/giveNexus10TestMoreTimeToStart/+merge/154458 4 times on CI and didn't get any "36 seconds of nothing", seems it may be "a fix" since i'd say it was happening more than 25%08:19
mzanettitsdgeos: ack08:20
mzanettitsdgeos: thanks. I'll read it and approve if there aren't any bad thing in the code08:20
mzanettilooks fine08:21
tsdgeosmzanetti: and we need https://code.launchpad.net/~aacid/unity/fix_hud_test_stubborness/+merge/154446 too08:22
tsdgeosi had one of the tests need the retry08:22
tsdgeosand then it failed becuse of the missing return :D08:22
mzanettitsdgeos: right... approved...08:31
=== alan_g is now known as alan_g|afk
tsdgeosMacSlow: mzanetti: Saviq: what about https://code.launchpad.net/~aacid/unity/removeUnusedFunction/+merge/154416 ?08:49
MacSlowtsdgeos, looking...08:49
mzanettitsdgeos: we can remove it if its not needed, yes. I guess it will be needed at some point tho...08:50
MacSlowtsdgeos, btw... what's wrong with that function?08:51
tsdgeosMacSlow: unused08:51
MacSlowtsdgeos, but how does the Dash get activated then... (asking because me still being new to QML)08:51
tsdgeosmzanetti: not sure, we are already "showing the dash" when showing the launcher, or when clicking in the dash button, so obviously we know how to do it in a different way08:52
tsdgeosMacSlow: it's connected somewhere else08:52
mzanettitsdgeos: I guess this is more for the desktop szenario where the whole thing is hidden08:52
mzanettitsdgeos: not about switching to the home lens08:53
tsdgeosmzanetti: sure, that may be needed by then08:53
mzanettiyeah. thats what I meant.... well. don't have a strong opinion on it08:53
MacSlowtsdgeos, I'd be ok with removing it08:54
tsdgeosi just suggest removeing because i was looking at how the dash works in a general way yesterday08:54
tsdgeosand having a function that does nothing kept bugging me08:54
mzanettiack... fine with it too...08:55
mzanettitsdgeos: Iirc yesterday you asked what a "colocated" branch is08:55
tsdgeosmzanetti: yep, Saviq answered08:55
mzanettitsdgeos: ah. mind repeating the answer for me? I missed that one08:55
Saviqmzanetti, what git does08:55
Saviqmzanetti, so that you go "bzr switch some_branch"08:56
Saviqmzanetti, and it checks out that branch to your working dir08:56
Saviqwhile keeping the bare repos in .bzr/branches08:56
mzanettiwait...08:56
mzanettithats possible?08:56
Saviqmzanetti, `bzr colo-ify`08:56
tsdgeosSaviq: what's your stance on removing this function https://code.launchpad.net/~aacid/unity/removeUnusedFunction/+merge/15441608:56
mzanettiwas my first question when I joined canonocal08:56
Saviqtsdgeos, +108:56
mzanettiasked the wrong people then08:56
MacSlowtsdgeos, approved it08:57
Saviqmzanetti, it's not the best, but more or less works08:57
Saviqbut you can't move/rename the dir after <facepalm>08:57
Saviqit keeps full paths to the bare repos08:57
mzanettiright... thanks. I'll see if I can make the hook work with it08:58
Saviqmzanetti, it's a slap-on, unfortunately08:58
tsdgeosmzanetti: btw i'm not using colocated branches and the hook doesn't seem to work for me either09:00
mzanettitsdgeos: I'll cjeck09:00
mzanetticheck09:00
dednickSaviq: looking to pick up a work item. only one left in month 5 unassigned and not in progress is 'transition to google-test/mock.'09:14
tsdgeosMacSlow: can you top approve it too?09:16
Saviqdednick, not all of the Components are yet tested (they're not split into separate work items09:17
Saviqdednick, and generally there's much more stuff that needs tests09:17
MacSlowtsdgeos, I did09:17
dednickSaviq: ok, sure. i'll take a look09:18
tsdgeosMacSlow: you only "comment approved", not "top approved" https://code.launchpad.net/~aacid/unity/removeUnusedFunction/+merge/154416 see Status is still "Needs Review"09:18
MacSlowtsdgeos, ah that... what about the failing/broken test?09:19
tsdgeosMacSlow: read the comment09:19
MacSlowtsdgeos, ah... seen the other branch09:19
tsdgeosMacSlow: i can rettrigger the test run if you prefer09:19
MacSlowtsdgeos, done09:19
tsdgeoscheers09:20
Saviqdednick, but, if you want to take on the gtest transition, that's just fine, too09:20
Saviqdednick, it's only about the tests in plugins/, too, as those are the only C++ tests we have09:22
=== alan_g|afk is now known as alan_g
mzanettitsdgeos: Saviq: this should work now: https://code.launchpad.net/~mzanetti/unity/phablet-make-check-hook/+merge/15386809:47
Saviqmzanetti, cheers09:49
sil2100didrocks, davidcalle: hi! In the new 100 scopes approach, the 'command lens' will still be there?09:54
tsdgeosmzanetti: i'll give it a try now09:54
davidcallesil2100, I can see it right now in the Dash, working along 100scopes, so I guess it is.09:55
sil2100davidcalle: oh, do I need to install something to get it working with unity from ppa:ubuntu-unity/experimental-prevalidation ?09:56
sil2100Since when I press alt+F2 it opens the home dash ;p09:56
davidcallesil2100, my setup is a bit messy, but I think it should work OOTB09:56
sil2100heh, now it suddenly works!09:57
sil2100davidcalle: thanks, it seems my system had some problems then - now it's all ok09:57
davidcalleOh, cool :)09:57
didrockssil2100: confirming the alt-f2 not opening the command10:00
didrockssil2100: do you mind please filing a bug?10:00
didrockssil2100: unity upstream10:00
didrockstag 100scopes10:00
=== alan_g is now known as alan_g|tea
sil2100didrocks: to fix it, I had to open the dash normally and then press alt+f210:12
sil2100Now it opens correctly, but many command lens files anyway fail because the prev and next lens/scope keybindings with the command lens now work differently, buggily10:13
sil2100So it's another regression I think ;) (will open a bug for that as well)10:13
sil2100*/files/tests10:13
didrockssil2100: open bugs!10:13
didrocks:)10:13
=== alan_g|tea is now known as alan_g
didrocksdednick: hey!10:51
didrocksdednick: so, you should have been aware that Francis did some work as well on the autopilot tests for unity-100scopes10:51
tsdgeosSaviq: greyback: mzanetti: what's your opinion on this https://code.launchpad.net/~aacid/unity/doNotUseShellInHud/+merge/154661 ?10:52
didrocksdednick: do you mind merging his work and yours?10:52
didrocksdednick: then, once we get tests results without that, we can merge and rebuild and get the actual results10:52
didrocksdednick: sounds good?10:52
Saviqtsdgeos, +110:53
Saviqtsdgeos, ah wait10:53
Saviqtsdgeos, so we can get rid of the warning by just "&& shell.applicationManager"10:53
tsdgeosSaviq: there is no shell in the hud tests10:54
tsdgeosi tried that first10:54
Saviqtsdgeos, right10:54
tsdgeosbut still complained10:54
tsdgeoslet me try again10:54
Saviqtsdgeos, I'm just not a fan of passing everything down the tree like that10:54
greybacknor am I10:55
Saviq'cause it's gonna grow a lot10:55
greybackbut I see why you need to do it. Perhaps we can attach a mock shell to all tests?10:55
Saviqyeah, a mock shell I'd rather10:55
dednickdidrocks: i had a testing branch. i believe we've now duplicated the work. lp:~unity-team/unity/libunity-7.0-breakage-tests10:55
tsdgeosok, i can do that10:55
didrocksdednick: yeah, that's why I'm pinging you :)10:55
dednickdid we should probably merge francis' work into there10:55
dednick:) ok10:55
didrocksdednick: do you mind looking at https://code.launchpad.net/~fginther/unity/dash-tests-100-scopes/+merge/15464810:56
didrocksand get everything in one?10:56
dednickdidrocks: sure.10:56
didrocksdednick: thanks a lot :)10:56
jibeldidrocks, should I pull cu2d r274 into production or you do?10:58
didrocksjibel: feel free to do it10:59
jibeldone10:59
didrocksthanks jibel :)10:59
didrocksdednick: do you need help? We should get that in trunk before the next hour (so that we don't block too much the tests which are taking 1h30)11:00
dednickdidrocks: mine and his?11:00
didrocks(and I know you will have the u1 dash in payment feature to review as well)11:00
sil2100dednick: libunity-7.0-breakage-tests has some test fixes?11:00
didrocksdednick: yep :)11:00
didrockssil2100: backlog the discussion :)11:00
didrocksdednick: I can help you if needed11:01
dednickdidrocks: working on it as fast as possible. i think francis changes wont cause much trouble.11:01
didrocksgreat, do not hesitate if you need anything :)11:01
dednickdidrocks: i'm just rebasing tests branch at the moment.11:01
sil2100I'm just wondering if it wouldn't be better to rename LensBar (and all Lens* things) to Scope* instead of having both in the unity emulators11:02
didrockssil2100: let's not add more churn now11:02
didrockssil2100: we are already way too late11:02
sil2100Ok11:02
didrocksand still have a huge TODO list :)11:02
tsdgeosmzanetti: https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner/211/console ??¿?¿11:03
mzanettitsdgeos: I tried the aptitude thing.. doesn't work either.. its reverted and tests should pass again11:04
tsdgeosok, shall i retrigger ci?11:04
mzanettiyes please11:04
tsdgeosdne11:07
tsdgeosSaviq: greyback: mzanetti: https://code.launchpad.net/~aacid/unity/mockShellInHudTest/+merge/154664 better?11:08
mzanettitsdgeos: imo you should fix the HUD to not directly access "shell"11:09
Saviqmzanetti, we discussed that before11:09
Saviqmzanetti, we need an object (just one) that will hold global things11:10
mzanettisorry... the US government doesn't let me do anything else than focusing on their 555555555 pages long form11:10
Saviqmzanetti, that's fine ;)11:10
mzanettiwhich just bailed out at 80% and I have to do it from scratch11:10
Saviqmzanetti, otherwise we'll just grow a ton of "property variant something"11:10
Saviqmzanetti, which I'm not a fan of, although I do see the argument11:11
mzanettiSaviq: no... I don't think adding a property to set the shell is the way to go11:11
Saviqmzanetti, what else would you have in mind?11:11
mzanettiSaviq: I'd rather say components should have signals and properties to reflect their state and logic changing the Shell's behavior should be in Shell.qml11:12
Saviqmzanetti, it's not about changing shell's behavior11:12
Saviqmzanetti, it's not writing nothing11:12
Saviqmzanetti, in that particular example it's just reading the list of running applications from the ApplicationManager11:12
tsdgeosSaviq: not even that, is reading the kb status11:13
mzanettiif its just one I'd still vote for having a property aplicationList... anyways... feel free to ignore me... just saying how I would "fix" it11:13
Saviqmzanetti, tsdgeos, what we could have is have "import Ubuntu.ApplicationManager 0.1"11:13
mzanettiSaviq: +111:13
Saviqexpose a singleton11:13
Saviqthat would probably be the cleanest ultimate solution11:14
tsdgeosSaviq: problem with that is that you may bee exposing too much info to "third parties" that import that plugin?11:15
Saviqtsdgeos, that's just a question of partitioning the API correctly11:15
Saviqwhich we don't right now11:15
tsdgeosso want me to work on that? or just accept my little mock for the moment and write in a blueprint the Ubuntu.ApplicationManager thing?11:16
Saviqtsdgeos, no, for now we'll just go with your solution11:16
Saviqtsdgeos, I'd go for a QtObject {} instead, though11:16
tsdgeosok11:16
Saviqtsdgeos, no need for them to be visual Item {} s11:16
tsdgeosright11:17
Saviqoh, I'm flying back in the big Airbus again...11:18
MacSlowSaviq, you get a ride on the A380?! :)11:31
SaviqMacSlow, yeah, second time11:31
MacSlowSaviq, sweet!11:32
Saviqit's surprisingly non-different ;)11:32
Saviqexcept for the fact it's huge and it takes an hour to board11:32
MacSlowSaviq, but you have a lot of more room to "run around" during the flight, don't you?11:32
SaviqMacSlow, sure, there's enough space to run ;)11:33
MacSlowSaviq, and don't they have outside-view (forward-facing) cameras you can connect to on your tv-screen?11:33
SaviqMacSlow, yeah, there's a bunch of cameras that you can watch11:33
SaviqMacSlow, but in general the infotainment system is the same crap11:33
MacSlowSaviq, win32-based?11:35
SaviqMacSlow, looked like it11:35
SaviqMacSlow, but regardless what's it based on, the displays are crap, the touchscreens are crap, the quality is crap...11:36
Saviqand the UI is crap11:36
nic-doffayAnyone have any advice on implementing a search history for PageHeader.qml?11:36
sil2100cyphermox: piing11:37
MacSlownic-doffay, any requirements on the implementation?11:37
nic-doffayMacSlow, it's just for testing atm.11:39
nic-doffayObviously to be extended at a later stage.11:39
MacSlownic-doffay, easiest is to do it in JavaScript first and later bring it over to C++, when the design is right... but that's just me thinking into the blue and being still very new to QML & Co11:40
nic-doffayIs there any reason to choose Javascript over QML?11:41
MacSlownic-doffay, at least that approach allows you the fastest turn-around cycles for quick prototyping I guess11:41
MacSlownic-doffay, not really... it's just what I've seen in examples11:41
Saviqtsdgeos, python3-dbusmock isn't there for quantal, shall we add it to desktop-deps?11:41
tsdgeosSaviq: do we use it?11:42
Saviqtsdgeos, it's a HUD dep11:42
Saviqtsdgeos, we might drop it, it's probably just for testing11:42
tsdgeosSaviq: but only for some tests, everything still works otherwise11:42
Saviqtsdgeos, yeah, let's drop from build_unity11:43
tsdgeosor should, let me make sure11:43
nic-doffayMacSlow, what examples exactly?11:44
dednickdidrocks: done. fginther's AP test branch is just the changes i'd made already, so it's not needed.11:44
didrocksdednick: great, mind rejecting this merge then? https://code.launchpad.net/~fginther/unity/dash-tests-100-scopes/+merge/15464811:44
didrocksdednick: let me approve yours11:45
tsdgeosmzanetti: "file:///home/phablet/shell/Dash/DashVideos.qml:142: ReferenceError: root is not defined" is that related to what you did with the history?11:45
didrocksdednick: link handy? :)11:45
dednickdidrocks: https://code.launchpad.net/~unity-team/unity/libunity-7.0-breakage-tests/+merge/15360711:45
didrocksdednick: should I wait for the CI job to run?11:46
didrockswith your last commit ;)11:46
dednickdidrocks: probably :)11:47
didrockslet's see then, looking at the code itself :)11:47
dednickit's about 6k lines11:47
didrocksdednick: yeah, I've already given a look before TBH, just looking at your last commit11:47
sil2100didrocks: dednick: I checked the autopilot parts, and they look good11:48
didrockssil2100: thanks!11:48
sil2100The gtest parts, well, I hope didrocks already browsed through those ;p11:48
didrocksyep ;)11:49
sil2100dednick: but yay, good thing that you removed the *lens versions and replaced them with the *scope ones, that was the only thing that bothered me in Francis's branch11:49
dednicksil2100: yeah. i essentially just did a find/replace :)11:50
sil2100dednick: I think that's better this way - having a LensBar and ScopeBar at once was really confusing ;)11:51
dednicksil2100: and i was getting loads of warnings about depricated mouse/keyboard functions being used. so i updated the keyboard/mouse work.11:51
tsdgeosSaviq: yes, works fine without it, you remove python3-dbusmock or want me to?11:51
dednicksil2100: not sure if that is going to cause issues with older AP version or not though. I was using raring.11:52
sil2100dednick: I think it's good to use the most recent changes here anyway, so it's good to have those modified11:54
MacSlownic-doffay, uff.... I didn't keep the links around...11:55
mzanettitsdgeos: history?11:57
tsdgeosmzanetti: the search history thing?11:57
mzanettitsdgeos: hmm.. would need check11:58
MacSlownic-doffay, the history is meant to only store strings? I think QMLs ListModel is probably worth a look11:58
nic-doffayMacSlow, pretty much.11:59
nic-doffayFor the time being at least.11:59
nic-doffayI'll look into it. Thanks!11:59
MacSlownic-doffay, don't know how easy it is to search through it... do you have to keep persistence of the history (across power-cycles)?12:00
MacSlownic-doffay, or is the testing not that expanding?12:00
=== MacSlow is now known as MacSlow|lunch
nic-doffayIt's not that expanding at the moment. I think the best idea would perhaps be to leave it as is until more specs are received for the class.12:01
nic-doffayObviously write the further tests as the component is extended.12:01
Saviqtsdgeos, can you do, please?12:02
Saviqtsdgeos, ignore, /me doing12:06
tsdgeosSaviq: ok, sorry12:07
tsdgeosSaviq: still can do if you prefer12:07
Saviqtsdgeos, that's fine, was otp but done now12:07
Saviqoh we passed r500 mark12:07
Saviqtsdgeos, it's yours, happy r500 ;) :D12:08
tsdgeosweeeeeeeeeeeeee12:08
sil2100cyphermox: ping #212:17
didrockssil2100: I think he will be there in a couple of hours12:17
didrocksdednick: CI failed12:18
sil2100didrocks: ah, ok, since I never know which timezone he is, since yesterday pinging did not work ;)12:18
didrockssil2100: he's in Canada12:18
didrocksquebec more exactly :)12:18
dednickdidrocks: checking12:20
sil2100Ah, thanks :)12:20
nic-doffayMight need design input for a PageHeader bug, it seems it needs more work.12:31
=== alan_g is now known as alan_g|lunch
=== _salem is now known as salem_
Saviqnic-doffay, what's up in there?12:49
nic-doffayThe layout depends on the various states Saviq . At the moment there's a bug that if you set the text the search container anchors over it.12:50
nic-doffayNeed direction on what to do with the class next and how to fix that.12:50
Saviqnic-doffay, not sure what you mean there, the layout depends mostly on whether there's enough space to have the header title and the search entry next to each other12:51
Saviqnic-doffay, if not, the search entry goes above the header title12:52
Saviqwhat's the issue there?12:52
=== MacSlow|lunch is now known as MacSlow
nic-doffayI didn't know whether to put it above or below Saviq12:59
Saviqnic-doffay, it needs to be above the title, so that it slides down from the top12:59
Saviqnic-doffay, but it's like that already13:00
nic-doffayNot when I set it from my test.13:02
nic-doffaySaviq, ^13:02
nic-doffayThe label that is.13:03
Saviqnic-doffay, it depends on the width of the item, maybe it's wide enough that it fits side-by-side?13:04
cyphermoxsil2100: what'su p?13:05
nic-doffayIt's wider Saviq13:05
Saviqnic-doffay, can you show your test please?13:05
cyphermoxdidrocks, you published autopilot-qt?13:06
didrockscyphermox: yeah, you pushed the fix for powerpc a little bit too late (the daily started before) so the process was stuck, I just rerun it and published while I was at it :)13:07
kgunntsdgeos: found one oddity in my trying to use ./run_on_device, my canonical ssh key isn't the default id_rsa.pub, it was id_rsa_canonical.pub13:07
nic-doffaySaviq, https://pastebin.canonical.com/87390/ http://tinypic.com/view.php?pic=nqveyr&s=613:07
cyphermoxdidrocks: that's weird, I had rerun it after it landed too13:07
cyphermoxI really thought it was good, there must have still been a little something wrong13:07
cyphermoxOH13:07
Saviqnic-doffay, ah you mean they don't fit next to each other?13:07
didrockscyphermox: probably, anyway, no worry :)13:07
nic-doffayYes.13:08
cyphermoxdidrocks: the old source was probably not superseded yet or something13:08
Saviqnic-doffay, yeah, that wasn't taken into account properly there13:08
Saviqnic-doffay, "narrowMode: parent.width < units.gu(60)"13:08
didrockscyphermox: yeah, probably13:10
didrockscyphermox: anyway, thanks for the fix! now in distro :)13:10
Saviqnic-doffay, should instead check if parent.width > label.contentWidth + units.gu(40) or so13:10
didrockscyphermox: you probably have the other stacks still to look at13:10
nic-doffayI'll experiment Saviq , thanks.13:10
cyphermoxyup13:11
=== mmrazik_ is now known as mmrazik
cyphermoxdidrocks: I think libindicator also ran too early, it didn't catch the revert of indicator-ng changes, I'd rerun it unless you think that's a bad idea13:26
didrockscyphermox: sure, please do :)13:27
cyphermoxalso re: your hack for autopilot-qt in watch-ppa...13:29
cyphermoxthat's all that was missing really ;)13:29
cyphermoxbut I wonder if launchpad can't tell us which architectures are targetted by source upload XYZ instead13:29
didrockscyphermox: I know the long term plan for it13:32
didrockscyphermox: just I want to have time for putting under tests13:32
didrocksbefore refactoring13:32
cyphermoxok13:32
cyphermoxhmm crap that won't work13:34
cyphermoxdidrocks: just rebuilding, I can see the branch for jenkins is updated but the version to upload didn't get bumped13:34
cyphermoxe.g. it's still trying to make 12.10.2daily12.03.21, which is obviously already published, so it skips right back to the check phase13:35
didrockshum13:35
cyphermoxthis can wait until tomorrow though13:35
didrockscyphermox: how are you running it?13:35
cyphermoxthere's effectively no change13:35
didrocksah13:35
cyphermoxI did ./cu2d -R indicators libindicator13:35
didrocksok13:35
didrocksand libindicator has no change?13:35
cyphermoxit's a revert of a change we don't want in13:36
didrocksyep13:36
didrocksone sec13:36
didrockslooking at the branch13:36
cyphermoxyou'll see the latest commit in /var/lib/jenkins/cu2d/work/head/indicators/libindicator13:36
didrockscyphermox: ah, but13:36
didrockslibindicator is not published13:37
didrocksto distro13:37
cyphermoxwhat do you mean13:37
cyphermoxno, it's in the PPA13:37
didrockscyphermox: ok, well, nothing to worry in this case, isn't it?13:37
cyphermoxwell, I see it as a bug13:37
didrockswhy?13:37
didrockswe shouldn't upload to distro a change + it's revert13:37
didrocksits*13:37
didrocksit's an explicit feature in the code13:37
didrocksto avoid uploading to distro an "empty change"13:38
cyphermoxhmm13:38
cyphermoxisn't the reverting commit explicitly a new change?13:38
Saviqkgunn, how did that affect you? it doesn't matter which ssh key is sent13:38
didrockscyphermox: it's not from the distro point of view13:38
cyphermoxno, i understand that13:38
cyphermoxbut how do you detect this?13:38
didrockscyphermox: comparing to latest released version13:38
cyphermoxyou're comparing every commit to every other commit? ;D13:39
cyphermoxah13:39
didrocksreleased being "in distro"13:39
cyphermoxI guess that makes sense then, yeah13:39
Saviqkgunn, unless you changed your default to use the canonical one?13:39
didrockscyphermox: no, I forgot that idea :p13:39
Saviqkgunn, in which case ssh'ing onto the device would fail?13:39
didrockscyphermox: in that case, if you don't want the ppa to have the change13:39
didrockscyphermox: you can just remove the package from the ppa13:39
cyphermoxdidrocks: nah it's fine, I understand13:39
didrocksok ;)13:39
didrocksbut to be clear, until we have a new commit13:39
cyphermoxthis can all wait until tomorrow and should be fine13:40
didrocksnothing will be "good to publish"13:40
cyphermoxyeah, I get it now13:40
didrockseven tomorrow13:40
didrocksif nothing more is in the branch :)13:40
cyphermoxof course if you compare the code from the previously uploaded to distro with that you have now, there are no code changes13:40
didrockscyphermox: yeah, we should really see the ppa as a "place for validation", but the real source of truth to know if we want to do something is the distro13:40
cyphermoxdidrocks: right, the ppa won't have the right thing, but indicators will be green and not try to upload something it shouldn't13:40
=== alan_g|lunch is now known as alan_g
didrocksexactly13:41
Saviqkgunn, we should probably use ssh-copy-id and prompt for the password setup-time13:41
kgunnSaviq: yep...busy right now...i'll interact in a bit13:42
Saviqkgunn, sure13:42
tsdgeoskgunn: yes that key thing happens here too, not sure how to easily solve that other than adding a parameter to let you set which key you want to use13:48
=== mmrazik is now known as mmrazik|afk
tsdgeosmeh, my raring doesn't like the hangout stuff much14:23
tsdgeosfirefox died like 4 times :-/14:24
Saviqtsdgeos, yeah, go for chromium14:24
Saviqtsdgeos, for hangouts14:24
Saviqtsdgeos, the google talk plugin is b0rked14:24
tsdgeoschromium uses a different plugin?14:25
tsdgeosor is juts better at talking to itself?14:25
Saviqtsdgeos, I think it's just better14:27
mzanettididrocks: I'd need your help for some package-fu14:28
mzanettididrocks: have a minute?14:28
mzanettikgunn: you joining the standup?14:33
Saviqgreyback, mumble?14:33
greybackSaviq: ok14:33
=== dandrader is now known as dandrader|afk
mzanettidednick: hey. I haven't managed to create a nice page yet, so I forwarded you the introduction mail I wrote for nic-doffay14:47
tsdgeosSaviq: did you get to crate a branch to remove the python-dbusmock thing?14:48
Saviqtsdgeos, yeah, there's two more things to remove, just verifying it works now14:48
dednickmzanetti: thanks for that.14:49
tsdgeosSaviq: oka14:49
tsdgeosmzanetti: quick reviews of https://code.launchpad.net/~aacid/unity/mockShellInHudTest/+merge/154664 and https://code.launchpad.net/~aacid/unity/testHudExecuteCommand/+merge/154654 ?14:50
mzanettitsdgeos: ofc14:50
didrocksmzanetti: back from exercice, can help you after a hangout, in 30 minutes14:56
mzanettididrocks: ofc14:56
mzanettithanks14:56
fginthermterry, ping14:57
fginthermterry, https://jenkins.qa.ubuntu.com/job/cu2d-indicators-head-2.2check/114/console14:59
fginthermterry, the cu2d-autopilot-report script changed, but the job didn't change to match14:59
mterrydidrocks, ^14:59
didrocksjibel: ^15:00
didrocksmterry: there was an issue in the delta counting15:00
didrocksfginther: ^15:00
didrocks(in unity tests)15:00
didrocksthis has been fixed this morning15:00
didrocksand jibel changed the script for it15:00
=== dandrader|afk is now known as dandrader
mzanettitsdgeos: whats the reason to make it a QtObject?15:01
tsdgeosmzanetti: Saviq commented it didn't need to be graphic, and it's true, that assumes a QtObject uses less memory than an Item15:01
jibelfginther, didrocks I'll update the jobs. I was waiting for the jobs to finish this morning then moved to something else.15:01
mzanettiahh... right... makes sense15:02
mzanettiok15:02
didrocksjibel: do you mind updating the experimental stack first?15:02
didrocksI want to rerun those :)15:02
didrocksjibel: give me the green flag once ok15:02
fgintherjibel, thanks. just making sure it was noticed15:02
mterrydidrocks, yeah I was hoping to get a clean run of unity today too.  You suggest doing experimental then head?15:03
didrocksmterry: yeah, experimental is really the high priority today15:04
jibeldidrocks, done for experimental15:04
didrocksthanks jibel15:04
mterrydidrocks, (why?)  I would have guessed head would be, to make one last release before UIF15:07
didrocksmterry: yeah, but you know, this small 100scopes project… ;)15:07
didrocksalready late for FF and UIF :p15:07
mterrydidrocks, ah fair15:08
didrocksfginther: speaking of which https://code.launchpad.net/~unity-team/unity/libunity-7.0-breakage-tests/+merge/153607 is running, isn't it?15:08
didrocksmterry: I wouldn't prioritize it otherwise TBH :)15:08
didrocksmterry: just the conditions are exceptional15:08
mterrydidrocks, sure, sure15:08
didrocksfginther: your magic is broken, see, I tried again to paste it here but this time, it's not merged :p15:08
fgintherdidrocks, but it is running15:09
fgintherdidrocks, maybe you shoulld paste harder next time :-)15:09
didrockshttps://code.launchpad.net/~unity-team/unity/libunity-7.0-breakage-tests/+merge/15360715:10
didrocksfginther: snif ^15:10
fgintherha!15:10
didrocks:p15:10
=== alan_g is now known as alan_g|tea
jibeldidrocks, https://code.launchpad.net/~jibel/cupstream2distro-config/cu2d-autopilot-report_with_sysid/+merge/15472815:15
didrocksjibel: approved, the merger will take care of it, but that shouldn't stop you to deploy on the head stacks :)15:16
fgintherdidrocks, merged!15:20
didrocksfginther: yeah, let's get it built now and run!15:20
didrocksfginther: thanks :)15:20
=== alan_g|tea is now known as alan_g
didrocksmzanetti: yep, so what's up? :)15:24
mterrydidrocks, OK, I'm going to start to pre-review the scopes stack for MIR I guess.  The list of packages is in the FFe?15:25
didrocksmterry: you read my mind!15:26
didrocksmterry: that was on my checklist for today :)15:26
didrocksmterry: yes please, the FFe as all the package15:26
didrocksmterry: there is a "new package" section15:27
didrocksmterry: for seb and I, we already have done the NEW review15:27
didrocksmterry: FYI, most of the scopes are exactly under the same model, there is no COPYING, but as there is just a few files, the license is obvious and so not needed15:27
didrocksyou will notice as well that the Vcs-Bzr is pointing to an unexisting project (yet)15:27
didrocksas all scopes will be in separate lp projects in the end15:28
mterryk15:28
didrocksmterry: do we need to create another bug?15:29
didrocksmterry: or have the FFe being a MIR?15:29
mzanettididrocks: hey. I have an issue in one of my jenkins jobs:15:30
mterrydidrocks, I'd prefer a separate bug, so we don't overload the status of the ffe with the mir meanings15:30
mterrydidrocks, but for now, I'll work off the FFe15:30
mzanettididrocks: I get a .deb package from a builder job, which I need to install and execute autopilot tests on it15:30
mzanettididrocks: right now I do this:15:31
mzanettidpkg -i package.deb || true # will fail because of missing deps15:31
didrocksmterry: thanks15:31
mzanettiapt-get -f install # installs deps15:31
mzanettidpkg -i package.deb # will succeed now as deps are here15:31
didrockswaow15:32
didrockshackish :p15:32
mzanettididrocks: yes... and it has 1 special case where it fails :/15:32
mzanettididrocks: I'm searching for a better way now but couldn't find anything that does not involve parsing dpkg -I output myself15:32
didrocksmzanetti: just trying to decipher, you are running autopilot on an installed machine, with ui and everything, right?15:32
mzanettididrocks: yes15:32
didrocksmzanetti: it's a group of packages you are testing, then?15:33
didrocksnot only one?15:33
mzanettididrocks: right now its only one15:33
didrocksbut in the grand plan of future?15:33
didrocksit's like for us, you are testing a "stack"?15:33
mzanettididrocks: this would apply to integration tests with multiple packages too I guess15:33
didrocksmzanetti: yeah, so I can still answer to your question15:33
didrocksmzanetti: but I think we should do that in the daily, with the same process than the rest15:34
didrocksmeaning, having a jenkins job installing a machine15:34
didrocksinstalling from a ppa15:34
didrocks(the set of packages)15:34
didrocksand running the tests on them15:34
didrocksmaking sense?15:34
mzanettididrocks: makes sense for a full integration test szenario. but in this case I have a base ubuntu system and just need to test this package on top of it15:35
=== mmrazik|afk is now known as mmrazik
mzanettididrocks: before the package gets released to a ppa15:35
mzanettibefore the branch gets merged actually15:35
didrocksmzanetti: oh, and you are not afraid of time to get one branch merged?15:36
didrocksmzanetti: you want integration/functional tests to be run everytime, it seems?15:36
=== rsalveti_ is now known as rsalveti
mzanettididrocks: yeah... we're doing that already... it works quite fine (except with one problem with the above commands)15:37
didrocksok15:37
didrocksmzanetti: let's see if it can scale, but let's start with that15:37
didrocksso you need to create a local repo15:37
didrocksfor that:15:37
didrocksecho "deb file:/path/to/your/debs ./" >> /etc/apt/sources.list15:37
didrockscd /path/to/your/debs15:37
didrocksdpkg-scanpackages . /dev/null | gzip -9c > Packages.gz15:38
didrocksapt-get update15:38
didrocksmzanetti: that should do it ^15:38
mzanettididrocks: nice! I'll give it a shot!15:38
didrocksthen, just apt-get install your_binary :)15:38
mzanettithanks a bunch15:38
didrocksyw!15:38
mzanettididrocks: regarding scaling... we're running only the test suite of that particular app. so I think it should be fine for apps...15:39
jibelI redeployed the stacks indicators, oif, and unity with the fix to archive the results at the right place.15:39
mzanettididrocks: I am a bit concerned for the shell indeed15:39
mzanettithat might blow it15:39
didrocksmzanetti: yeah, let's see, the current shell integration tests are taking 1h3015:39
didrocksmzanetti: so, will see, but at least, we need to rerun all those per stacks in the daily15:39
mzanettididrocks: yeah... But I don't plan on having that many autopilot tests for the new shell15:39
didrocksmzanetti: with a fresh image and everything15:39
didrocksmzanetti: as long as it's functionnaly covered, yeah, less is better :)15:40
didrocksthanks jibel!15:40
jibelyw15:40
mzanettididrocks: I plan on doing all functionality tests in qttest/googletest and really only test integrational stuff with autopilot15:41
didrocksmzanetti: that sounds to me the best plan, having this clear and real separation :)15:41
mzanettiat least I'll try to get the team there15:41
didrockshehe, let's see!15:41
mzanettibut looks promising :)15:41
didrocksgreat15:42
didrocksmzanetti: I think once this 100scopes/indashpayement things are done, we can sync up on unity next gen, mir, and daily releases15:42
didrocksalso touch apps :)15:42
mzanettididrocks: ack15:42
mzanettitsdgeos: https://code.launchpad.net/~mzanetti/unity/phablet-test-dashpreview/+merge/15474115:50
tsdgeosmzanetti: doing a small refactor here, will get to it in 15 min or so15:52
mzanettinic-doffay: hey. allright with the page header stuff?15:53
mzanettior you stuck somewhere?15:53
mzanettitsdgeos: not in a hurry15:53
nic-doffaymzanetti, yeah for now. I've been drafted to fix some Nux problem though for the release.15:54
mzanettinic-doffay: ah ok15:54
=== alan_g is now known as alan_g|coding
mzanettitsdgeos: regarding: https://code.launchpad.net/~aacid/unity/testHudExecuteCommand/+merge/15465416:43
tsdgeosyep?16:43
mzanettitsdgeos: shouldn't this use the resetToInitialState() method introduced in the other MP instead of hud.state = "initial" ?16:43
tsdgeosdoesn't?16:43
* tsdgeos mixed 3 branches so maybe forgot :D16:44
mzanettiyeah.. it doesn't...16:44
tsdgeosah, the other branch is on top of this16:44
tsdgeosi.e. i did this first and then the other and the other fixes this too16:44
tsdgeossee https://code.launchpad.net/~aacid/unity/testHudRefactor/+merge/15474316:45
tsdgeoslast chunk is regarding this one16:45
tsdgeosand they are "properly" stacked in launchpad16:46
=== dandrader is now known as dandrader|lunch
mzanettiright... I see it now16:48
mzanettiok. fine then16:48
tsdgeosmzanetti: i don't understand test_columns16:52
mzanettitsdgeos: on the phone, the preview is 1 column, on the tablet its 2 columns16:53
mzanettitsdgeos: however, both columns are there all the time, but the content gets moved around to column 1 or 216:53
mzanettitsdgeos: this test just searches the column's subtree if the content is there16:54
tsdgeosi see16:54
tsdgeosmzanetti: what about test_ensure_buttons_visible16:54
tsdgeosis it really useful?16:55
tsdgeosi mean you're testing only "local" objects in there?16:55
mzanettitsdgeos: yes... but the mouseClick() would fail in case the DashPreview would not put the buttons where they belong16:55
mzanettitsdgeos: could be better tho... I agree16:56
mzanettiany idea?16:56
mzanettitsdgeos: what I wanted to test is this:16:56
tsdgeosso you're basically testing that assigning something to buttons puts it on screen16:56
mzanettiI set a component to buttons: and I want to make sure that the DashPreview actually puts those buttons somewhere in the ui16:56
tsdgeosright?16:56
mzanettiyes16:56
tsdgeosok16:56
tsdgeosdo you think it's worth putting this and the previous explanations etiher as comments in the code or in the commit message?16:57
mzanettitsdgeos: can do if you think its not clear enough16:57
tsdgeosi'd appreciate it yeah16:58
mzanettiok16:58
tsdgeostx16:58
tsdgeosbesides that looks good to go17:02
mzanettitsdgeos: done17:03
mzanettiSaviq: should we merge this? https://code.launchpad.net/~unity-team/unity/phablet.dashBar_bottomswipe/+merge/15084717:11
mzanettiSaviq: I think its ok... I don't like that the tests take so long, but there is a reason for it... so I would give my ok17:11
Saviqmzanetti, my reservation is that it's a copy from Launcher.qml17:12
Saviqmore or less17:12
Saviqmzanetti, it should be abstracted instead17:12
mzanettiSaviq: thats true, yes17:12
=== kgunn is now known as kgunnAFK
tsdgeoslol, i was scared something broke in https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner/228/?#showFailuresLink17:13
tsdgeosbut then realized it's probably that MacSlow's hell is not starting because a missing definition or something17:13
SaviqMacSlow's hell? ;)17:15
tsdgeosshell :D17:16
Saviqtsdgeos, I can't get the freakin thing to build in a quantal vm17:17
Saviqnux build fails with an internal compiler error...17:18
tsdgeoslol17:18
tsdgeosthat must be new17:18
tsdgeosit was working fine a few days ago17:18
tsdgeoswant me to give it a try17:18
tsdgeos?17:18
Saviqtsdgeos, it was working today (once)17:18
tsdgeosmaybe they changed the nux code?17:19
Saviqtsdgeos, we're pulling lp:nux/phablet17:19
tsdgeosoh17:19
Saviqone last try for today, then...17:19
tsdgeosthen your vm is borked?17:19
kgunnAFKtsdgeos: Saviq ...ok i admit i screwed around with changing my id_rsa_canonical.pub to id_rsa.pub17:19
kgunnAFK& i blew away my known_hosts17:19
SaviqkgunnAFK, yikes17:20
kgunnAFKwhich seemed to help in one go17:20
kgunnAFKbut now its getting stuck on the phablet@ password prompt17:20
SaviqkgunnAFK, pastebin please17:20
kgunnAFKhttps://pastebin.canonical.com/87440/17:23
kgunnAFKi did actually succeed at one point....17:23
kgunnAFKbut not repeatable for me17:24
SaviqkgunnAFK, "Agent admitted failure to sign using the key."17:24
SaviqkgunnAFK, call `ssh-add`17:26
SaviqkgunnAFK, your ssh agent still tries to use your previous default identity17:26
kgunnAFKthe one on the device?17:26
SaviqkgunnAFK, no17:27
SaviqkgunnAFK, on your laptop17:27
Saviqdesktop17:27
Saviqworkstation17:27
kgunnAFKgot it17:27
kgunnAFKi did change my ssh config to use the correct identity...but.... :-/17:28
SaviqkgunnAFK, yeah, logout / login would help, too17:28
kgunnAFKobviously not enough17:28
kgunnAFKah good one17:28
SaviqkgunnAFK, but anyway, it would've been enough for you to ssh-copy-id to the device17:28
Saviqit would then use the canonical key17:29
SaviqI'll try and make it a more robust17:29
kgunnAFKyeah...when i just mod'd the run_on_device to call explicitly my id_rsa_canonical...it worked17:30
kgunnAFKsort of17:30
kgunnAFKthen i figured (stupid) that i should go ahead and change that to avoid future snafus17:30
kgunnAFK(great idea)17:30
SaviqkgunnAFK, good like any other, really17:30
SaviqkgunnAFK, and it'd have worked, if only you relogged :)17:31
kgunnAFK:017:31
* tsdgeos logs off for the day, tomorrow more!17:32
SaviqkgunnAFK, but anyway, I will make it so that it requires a password by default, and only copies the ssh key when asked explicitly17:38
=== alan_g|coding is now known as alan_g
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|life
=== dandrader is now known as dandrader|afk
=== mmrazik is now known as mmrazik|afk
sil2100didrocks: soooo18:45
sil2100didrocks: I looked briefly through the 100-scopes test results just now18:45
* didrocks listens :-)18:45
sil2100didrocks: a short overview:18:45
sil2100The test_command_lens* tests fail because of the 'alt+f2' bug we encountered, so that's -6 tests for each platform18:46
didrocksregression catching!18:47
sil2100The test_dash.DashKeyNavTests are also regressions, but regressions in unity introspection - the lens/scope code changed and the number of rows returned by unity is invalid now, so the tests fail18:47
sil2100I'll e-mail dednick later on regarding this and we'll think of who could take care of this one18:47
didrockssweet :)18:48
sil2100This would be -5 failures for each platform again18:48
* didrocks counts, still 5 to go :)18:48
sil2100The shopping lens tests fail, but well, those were never really well written ;p Not sure what to do, I think maybe a rewrite is needed!18:48
didrockssil2100: but they were passing on trunk?18:49
sil2100didrocks: yes, they are, but well, trunk looks a different when shopping results are taken into account18:49
sil2100didrocks: I think we can fix that somehow anyway18:49
sil2100Just need to think about it a bit18:49
didrockssure :)18:50
dednicksounds promising18:50
bschaefercorrect, the shopping lens tests looks for the application lens IIRC18:50
bschaefersil2100, you can blame me haha18:50
sil2100bschaefer: nooo!18:50
sil2100Anyway, the rest I'll see later, but this is what I noticed18:50
=== dandrader|afk is now known as dandrader
didrockssil2100: excellent work! :)18:54
didrocksthanks for deciphering that18:55
didrockssil2100: maybe you can get the unity team to look at the introspection part?18:56
didrocksfor the rest, fginther will maybe be of help?18:56
=== kgunnAFK is now known as kgunn
sil2100Will do some poking ;)18:56
didrocks(and ack for alt+F2, let's wait for the real fix)18:56
didrocksthanks dude!18:56
sil2100np! :)18:57
sil2100(here's the bug if anything https://bugs.launchpad.net/unity/+bug/1158231 )18:58
ubot5Launchpad bug 1158231 in Unity "Alt+F2 does not open the command lens" [Undecided,New]18:58
=== mmrazik|afk is now known as mmrazik
tigrangAnyone else notice that when clicking on the dash icon, the dash opens faster than when pressing the Super key?19:37
hyperairnope19:44
bschaefertigrang, well the dash opens on super when the Super key is RELEASED no pressed and they both go through the same UBUS call soo I wouldn't expect it to be any slower....19:49
bschaefer(On super press the dash is opened in LauncherController.cpp:SendHomeActivationRequest, and click is in BFBLauncherIcon.cpp:ActivateLauncherIcon)19:51
=== salem_ is now known as _salem
kgunnSaviq: finally got back to it...ssh seems all happy-happy-happy20:05
kgunnbut wondering if its because i'm trying to do this on a nexus7/grouper20:06
kgunnat least one line in run_on_device seems wrong20:06
kgunnwhere  is checks the device for SERVICEFILE20:06
kgunndoes "tablet-services" only for "manta"....no grouper20:06
=== _salem is now known as salem_
kgunnSaviq: changed manta to grouper for my case....seems to totally work20:25
tigrangbschaefer, heh yea I noticed after I wrote that20:26
bschaefertigrang, :), otherwise we couldn't tell if the user wanted to open the Shortcut window (Holding Super key down)20:26
tigrangyea20:26
bschaeferto open the dash the key press, and release has to be within a tap time20:27
Saviqkgunn, right, we need a better determination of whether we're tablet or phone20:29
tigrangIs this strictly a dev channel or are questions about usage okay?20:29
Saviqtigrang, they're fine20:29
tigrangIs there a way to make the dash appear without fading in?20:30
Saviqdunno20:31
bschaefertigrang, theres no setting, but its done in the DashController.cpp20:31
bschaefer  , timeline_animator_(90) set that to 0 and it'll be instant20:31
tigrangthanks20:32
bschaefernp!20:32
kgunndandrader: ping20:49
dandraderkgunn, pong20:49
=== salem_ is now known as _salem
tigrangbschaefer, hey, so after disabling the fade in, it's more clear that there is a lag when using key shortcut than clicking the dash icon. I changed the shortcut from Super to Alt+F1 in ccsm and now it opens in the same time as clicking the dash icon. It only has an extra lag when using the Super key - any idea why?21:57
bschaefertigrang, hmm well with a key press, it has to go through compiz and compiz has to send a message to unity saying a key has been pressed... i can't imagine it being a very noticeable amount21:59
bschaeferthe click goes through nux, and it finds whats under the mouse, which is the launcher, then the launcher figures out which icon the mouse is under and sends an event to it then sends the UBUS message to open the dash22:00
tigrangit's noticeable, using key shortcut and typing misses the first few characters in the search box. I don't see why it's slower only when using the Super key as the shortcut - is the super key handled in a special way or somethign?22:02
bschaeferthe super key does a bunch of things...22:02
bschaefertigrang, soo my guess is all the bookeeping could be slowing it down22:03
bschaefertigrang, but umm changing the shortcut shouldn't make a difference...22:04
bschaefercause it should do the same things as super...but I really cant see a different with my machine.22:05
bschaefertigrang, you'll need some hard numbers to figure out if its a lot slower or not...22:05
bschaefer(timing it)22:06
=== _salem is now known as salem_
=== kgunn is now known as kgunnAFK

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