[00:07] I think I've figured out what's happening: http://bazaar.launchpad.net/~unity-team/unity/trunk/view/head:/launcher/XdndStartStopNotifierImp.cpp#L28 [00:07] Every time a window is mapped/unmapped, a timer is started that causes a signal to be emitted when the state of any of the mouse buttons changes. [06:19] didrocks: ping [06:19] hey veebers [06:19] Hi didrocks how's everything? [06:20] didrocks: who can I annoy about this bug? https://bugs.launchpad.net/ubuntu/+source/ust/+bug/1163358 [06:20] veebers: I'm good, thanks! yourself? [06:20] Launchpad bug 1163358 in ust (Ubuntu) "Missing liblttng-ust-ctl.so.0" [Undecided,Fix released] [06:20] veebers: it's fixed, isn't it? [06:20] * didrocks looks [06:20] didrocks: can't complain, days are getting colder and darker; but at least still some sun [06:20] didrocks: I'm experiencing the same issue even with that version (have commented on that bug) [06:21] veebers: the new soname is liblttng-ust-ctl.so.1 [06:22] didrocks: hmm, but running the command lttng gives the error re: liblttng-ust-ctl.so.0: cannot open shared object file: No such file or directory [06:22] does that mean something is incorrect with lttng-tools? [06:22] veebers: right, I think lttng-tools wasn't rebuilt against latest liblttng-ust [06:23] veebers: I'm trying that, in a chroot [06:23] didrocks: cool, thanks [06:25] didrocks: Dinner is ready, I'll be back a little later on [06:26] veebers: enjoy! [06:26] veebers: hum, the -tools FTBFS [06:26] /usr/bin/ld: tp.o: undefined reference to symbol 'rcu_dereference_sym' [06:26] /usr/bin/ld: note: 'rcu_dereference_sym' is defined in DSO /usr/lib/liburcu-bp.so.1 so try adding it to the linker command line [06:26] /usr/lib/liburcu-bp.so.1: could not read symbols: Invalid operation [06:26] so I guess we can't just rebuild the old version [07:20] good morning [07:25] hiz [07:27] didrocks: d'oh that sucks, how do we/I proceed from here? [07:27] veebers: we are going to merge with debian, suck to do that that late though :/ [07:28] veebers: before PS is using any tool, it would be cool to ensure we can maintain it (or PS to maintain them themselves ;)) [07:28] didrocks: ah ok, thank you for taking care of that [07:28] no worry! [07:29] didrocks: what's a good way to ensure that we can maintain something? (i.e. from my point of view) [07:30] veebers: ensure that we have a good "ack" from distro people, bringing that to ubuntu-devel ML [07:30] veebers: as all the tools you are using, they should be maintained, so in main [07:30] didrocks: mostly I just check is there a ubuntu package? yes awesome I'll use it (for personal projects etc.) [07:30] and we need to figure out who will maintain them, and so on… [07:30] veebers: check the package is in main [07:31] didrocks: ack, thanks for the info. I'll share this sentiment with those involved too [07:31] excellent, thanks veebers ;) [07:31] oh something else [07:32] do not relaunch the generic job alone [07:32] this won't fix the -check jobs that are monitoring it [07:32] didrocks: ah ok [07:32] so, only do it if you want to check that a UTAH fix fixes something [07:32] what's the prefered way of doing that (instead of just building and c&p-ing the parameters) [07:32] veebers: do you know a little bit of daily release? [07:33] didrocks: a little bit, not a massive amount [07:33] veebers: maybe we should plan to have a hangout sometimes if you wish, I don't want to take too much of your time today :) [07:33] didrocks: yeah sure sounds good, or failing that at the sprint [07:33] veebers: yep, good as well :) [07:34] veebers: just remind me about it please! [07:34] didrocks: will do :-) [07:34] thanks ;) [07:53] hey [07:53] what happened to the hud in the indicators raring tests? [07:53] ups indicator->unity [07:55] seb128: what job are you talking about? [07:55] didrocks, http://10.97.0.1:8080/job/ps-generic-autopilot-release-testing/label=autopilot-ati/41/testReport/ [07:55] this isn't the unity raring tests [07:55] this is the unity head tests [07:56] didrocks, shrug, I came from http://10.97.0.1:8080/view/cu2d/view/Raring/view/Unity/job/cu2d-unity-raring-2.2check/ [07:56] you don't see it complicated there [07:56] so you don't have the run number [07:56] it will be either 42 or 43 I guess [07:56] clicked on the blinking "ps-generic-autopilot-release-testing" line [07:56] ok [07:57] I guess from the url I gave, I need to click on the #16 [07:57] the console output [07:57] and use the links in there when they will be in it? [07:57] right [07:58] but this only appears once the job finishes [07:58] one day I will manage browsing jenkins and find me way ;-) [07:58] not sure if jibel knows if there is a way to know about this before ^ [07:58] seb128: heh :) [07:58] but I agree, it's a PITA [07:58] and we need a dashboard to agregate that [07:58] (but I don't know if we have enough "running now" infos) [07:59] right [07:59] ok, I guess unity is red because the previous run fail on a broken ati round? [08:00] intel/nvidia numbers seem fine [08:00] seb128: yeah, yesterday's one [08:00] seb128: it was published [08:00] I asked mterry to do so [08:00] cool [08:01] hey sil2100! how are you? [08:01] didrocks: hello! Fine fine, fighting GIR a bit right now - what's up? [08:01] didrocks, sorry for the questions btw, trying to keep an eye on things daily and to get an hang of the details ;-) [08:01] sil2100, hey [08:01] seb128: no worry ;) [08:01] seb128: hello ;) [08:01] seb128: TBH, I had a look myself before ;) [08:01] hence the quick answer :p [08:02] sil2100: that bug about the qt popups, should it be fixed in raring already? [08:02] sil2100: just wanted to know where you are at with indicator-messages, do you think we can have parallely installable by today or it will be need later on? [08:03] didrocks: it should be ready today [08:03] sil2100: sweet! btw, can you update the spreadsheet once it's done with the criterias we have? [08:03] didrocks: it's basically ready, just don't want to modify too much code to make GIR work parallely [08:03] didrocks: ACK! [08:04] sil2100: thanks! :) [08:04] tsdgeos: let me see - I think it got merged into trunk right now, but need to check if the raring branch got in [08:04] didrocks, you cannot because the build and the workspace are created when the job starts, and since there is a single AP job for everything you'll have to wait. [08:04] jibel: so, no way to know which run will have "this and this and this" parameters before it actually runs? [08:05] or that the -check job will trigger run #42 of this job? [08:05] (when it's waiting for job #41 to finish) [08:06] tsdgeos: shit, it didn't have a commit message, so it didn't get merged [08:06] sil2100: ouch [08:06] tsdgeos: re-approving [08:07] didrocks, not before they start. [08:09] jibel: so, jenkins just track that into memory for the jobs to run and no xmlrpc mechanism to query that? [08:13] mzanetti, hyum, so the whitespace test already made that happen (the 100% coverage), right? [08:17] didrocks, what's the vcs for unity-lens-video ? [08:17] didrocks, control says lp:~unity-team/unity-lens-video/trunk but that doesn't exist [08:18] Vcs-Bzr should be set to the right one? [08:18] oh [08:18] * didrocks tries with a s [08:18] interesting… [08:18] didrocks, I can't find it on https://code.launchpad.net/~unity-team [08:19] unity-lens-video: from cupstream2distro-config [08:19] let's see the latest build [08:19] didrocks, lp:unity-lens-video then? [08:19] that works [08:20] ~unity-lens-videos/unity-lens-video/trunk [08:20] didrocks, if I MR against that, it will land in raring? [08:20] Saviq: dunno which ones exactly [08:20] * didrocks blames again ken to have done something totally different for his scopes :/ [08:20] seb128: yep [08:21] seb128: do you mind changing Vcs-Bzr as well? [08:21] didrocks, thanks, should I update the control Vcs-Bzr [08:21] lol [08:21] will do ;-) [08:21] ;) [08:21] Thanks! [08:21] yw! [08:21] seb128: I think something with bzr+ssh://bazaar.launchpad.net/+branch/unity-lens-video/ should work [08:21] seb128: maybe trying with lp:unity-lens-video? [08:21] so that we really target trunk [08:21] whatever the name is [08:21] lp:unity-lens-video works [08:21] Saviq: but if a test opens every file, yes, that will cause that [08:21] mzanetti, http://bazaar.launchpad.net/~unity-team/unity/phablet/revision/575 [08:22] seb128: oh lp: works in Vcs-Bzr? awesome :) [08:22] why didn't we notice that before... [08:22] seb128: we should go with this short form for everything :) [08:22] mzanetti: you have whitespace, noOoOOoOOoOOoO [08:22] didrocks, ah, you meant for the Vcs-Bzr, sorry I though you were speaking about the target [08:22] no, Vcs-Bzr… [08:22] * tsdgeos finds it silly that we have to wait 1 hour to get notified we have whitespace and the MR won't pass CI [08:22] Saviq: yep. looks like it does [08:23] don't want to think how's this going to look like when we're pressed to do a release [08:23] tsdgeos, you don't [08:24] tsdgeos, you have local tests [08:24] tsdgeos, that you should run before committing [08:24] or at least before pushing [08:24] Saviq: tell mzanetti ;-) he did the hook and not even he is running it :D [08:24] tsdgeos: ? [08:25] * mzanetti has nothing to do with the whitespace thingie [08:25] mzanetti, he meant the on-commit test hook [08:25] tsdgeos, make qmluitests is too long, but make test should be fine [08:25] yeah... the commit hook doesn't work out [08:26] mzanetti, if we only run `make test`, that should be better [08:26] mzanetti: https://code.launchpad.net/~mzanetti/unity/phablet-test-people-preview/+merge/158129 failed because of whitespace [08:26] Saviq: not really, its just too annoying if it kills the commit message you just wrote because you didn't build all the parts that are required to test something you haven't ever seen before [08:27] mzanetti, use qcommit, it will not kill your commit message [08:27] and doesn't QtCreator strip trailing wspaces by default? [08:27] Saviq: yes, it does [08:28] but yeah, regardless, we need to fix the QML coverage [08:28] Saviq: means disable it [08:28] ? [08:28] mzanetti, disable what? [08:28] the QML coverage [08:28] mzanetti, no, fix it [08:29] mzanetti, we don't need need no-qml unit tests on qmluitestrunner, do we? [08:29] -need [08:29] Saviq: the only way I see is not to have any tests that open all files [08:29] (in the short term) [08:30] we could define a new target tho [08:30] mzanetti, yeah, that's what I'm thinking [08:30] mzanetti, to not run the non-qml unittests on qmluitest jo [08:30] b [08:31] like "make whitespacetests" or the like [08:31] those could still be included in make alltests but not in the runtests.sh script [08:32] mzanetti, I was thinking the other way round [08:33] mzanetti, we only run qml tests on qmluitest job [08:33] mzanetti, it doesn't collect c++ coverage from there, does it? [08:33] Saviq: it does [08:33] Saviq: and also the make check target has contains qml-only tests too [08:33] mzanetti, that's fine [08:33] mzanetti, but only runtests.sh monitors the files opened [08:34] mzanetti, so we just need to make sure that runtests.sh only runs qml tests [08:34] both unit and UI [08:34] and, btw, won't the "alltests" target cut it already? [08:34] cut what? [08:35] mzanetti, `make alltests` runs all the qml tests, doesn't it? [08:35] mzanetti, but not the "usual" tests [08:35] Saviq: mall alltests run ALLtests [08:35] Saviq: make alltests run ALLtests [08:36] didrocks, you can get these informations from the API for example http://paste.ubuntu.com/5697798/ but apart from the tooltip when you rollover the job on the build queue, I don't know where it is exposed on the UI. [08:36] Saviq: ok... so in the end we will have this: [08:36] mzanetti, no it doesn't [08:36] mzanetti, it's a custom target that we only add to via the add_qml_test macro [08:37] jibel: ah, it's already a good news! so if we plan to do a dashboard, we can get those info :) Thanks for trying! [08:37] mzanetti, if tests are only defined using add_test() [08:37] true... you're right... [08:37] mzanetti, they don't run on make alltests [08:37] Saviq: I'm starting to wonder if its a good idea that we have all this stuff in one and the same project [08:38] mzanetti, so can we generate c++ coverage from `make test` and qml coverage from `make alltests` [08:38] mzanetti, it's fine, we just have to cooperate [08:39] mzanetti, and those kind of things would bite us one way or another [08:39] Saviq, do you have a moment to discuss the tests I need to do for the infographics? [08:40] nic-doffay, in 20 mins? [08:40] Saviq, sure np. [08:41] didrocks, https://code.launchpad.net/~seb128/unity-lens-video/correct-search-hint-string/+merge/158294 [08:42] seb128: approved! thanks ;) [08:42] didrocks, thank you ;-) [08:43] mzanetti, so, that should fix qml coverage: http://pastebin.ubuntu.com/5697811/ [08:43] mzanetti, and we only need to make sure that `make check` is run in the job, too, to generate c++ coverage [08:44] mzanetti, is that not correct? [08:44] Saviq: yeah... but we should rename it to make qmltests and add another make alltests target to really execute alltests [08:44] mzanetti, sure [08:45] Saviq: people are not going to type 5 make targets before committing... knowing myself I'm actually already worried about one :D [08:45] mzanetti, I'm on it, can you take care of the job changes? [08:46] Saviq: are we going to remove the qml unittests from the make check target too then? [08:46] mzanetti, do we need to? is it a problem that they run twice? [08:46] mzanetti, I know it's time [08:46] Saviq: yeah... just thinking about time... [08:47] in that case we might merge unittests and qmluitests indeed [08:47] well... lets see how it grows [08:48] mzanetti, yeah, let's deal with it when it becomes a problem [08:48] mzanetti, TBH I miss the ability in CMake to have multiple test targets [08:50] Saviq: +1 [08:50] that would save us some hacks [08:50] I'll poke alexander :D [08:55] Saviq: I *think* the job should be ok... I runs make check too [08:57] Saviq: I guess I should disable the license check in jenkins again then... no need to run it twice [08:57] mzanetti, it's not merged yet, though [08:57] Saviq: ah no... there's still the issue with generated files [08:58] mzanetti, just noticed something [08:58] mzanetti, runtests doesn't take .js into account [08:58] mzanetti, that on purpose? [08:58] true... no... just forgot it [08:58] should do I'd say [08:59] mzanetti, fixing [09:00] jibel: I've added and deployed all future stacks we know as of now so that you can do the creation in batch: http://bazaar.launchpad.net/~cupstream2distro-maintainers/cupstream2distro-config/trunk/files/head:/stacks/head/ [09:01] didrocks, ack, appended to my todolist [09:02] mzanetti, https://code.launchpad.net/~saviq/unity/phablet.fix-qml-coverage/+merge/158298 [09:03] Saviq: why are we not allowed to do in-source builds any more? [09:03] mzanetti, because they're evil [09:03] jibel: thanks :) [09:03] Saviq: no, they're convenient [09:04] Saviq: I fully agree that out of source builds must work and are a good thing [09:04] mzanetti, in-source builds hide issues [09:04] Saviq: but for just branching something, building running tests it just adds unneeded hazzle [09:04] mzanetti, ./build builds out of source for you [09:05] mzanetti, ./run runs out of source [09:05] mzanetti, the only thing is that you need to `make -C builddir`, which is, I agree, not convenient [09:05] mzanetti, and I'm thinking of "forwarding" make to builddir by default [09:05] should be doable by a simple static Makefile in top dir [09:06] Saviq: ./build forces me to build all deps from scratch [09:06] mzanetti, huh? [09:06] mzanetti, how so? [09:07] mzanetti, you just need a ../unity_build [09:07] Saviq: well, let me check better, just have ran it for the first time and it complains [09:07] and whether you're using colocated branches (which I recommend) [09:07] or just branches in dirs [09:07] you just need to make sure ../unity_build is there [09:08] and not care about it unless something changes there [09:11] mzanetti, out-of-source are just closer to what actually happens on the builders [09:11] mzanetti, just one more way to let us fail faster [09:11] Saviq: sure. still its not always required and anforcing it wastes time [09:11] mzanetti, how does it waste time? [09:12] mzanetti, IMO, the time saved when you forget something that will prevent an out-of-source build [09:12] is worth it [09:12] we just need to know about as many failures that might bit us in CI as possible [09:12] and as soon as possible [09:15] nic-doffay, hangout? [09:15] Sure Saviq [09:37] mzanetti, looks like it worked http://s-jenkins:8080/job/unity-phablet-ci/ [09:39] mzanetti, only source is unavailable for some reason [09:40] Saviq: yeah... because real coverage and qml coverage are not build in the same step any more (I think) [09:40] Saviq: but it didn't add any real value anyways [09:40] mzanetti, why? [09:40] Saviq: oh... its gone for c++ too [09:40] mzanetti, yeah [09:40] I thought only for qml [09:41] mzanetti, was it ever there for qml? [09:41] * Saviq might not have checked [09:41] Saviq: yeah... for some reason it started working once I enabled the c++ one [09:41] lol [09:45] Saviq: mzanetti: Can you have a look at https://code.launchpad.net/~aacid/unity/remove_proxymodel_rolenames/+merge/158307 ? I've invited Florian to it too, but not sure he'll find a moment [09:45] Saviq: the whitespace thing should print which lines [09:45] Saviq: or just fix them [09:46] mzanetti, to "just fix them" you can have a bzr hook, but the test should not do it [09:46] mzanetti, it'd have to push back to the branch ;) [09:46] Saviq: yeah, sure, not in the test... but somewhere [09:46] mzanetti, but lineno, sure [09:46] mzanetti, http://doc.bazaar.canonical.com/plugins/en/text-checker-plugin.html [09:46] Saviq: qtcreator does not remove them :/ [09:46] mzanetti, it should [09:47] * Saviq checks [09:47] Saviq: it does only in files he thinks belong to the project [09:47] Saviq: but since we're using CMake + qml... [09:47] mzanetti, just open the qmlproject, no? [09:48] Saviq: ok... qtcreator tries, but it doesn't work everywhere [09:49] Cimi: ping [09:49] dednick, pong [09:49] (which is news to me too) [09:49] Cimi: did you ever manage to get findChild working with the timer? [09:49] mzanetti, see, that's thanks to the whitespace test ;) [09:49] dednick, I didn't try [09:49] mzanetti, but yeah, I agree it would be nice to print out lines [09:49] Saviq: tbh thats one thing I already hated in Qt gerrit [09:49] dednick, I saw it was not working, so I moved to readonly properties [09:49] Cimi: ok [09:49] Cimi: thanks [09:50] mzanetti, at least here you can run the test locally and know straight away :D [09:50] Saviq: yeah [09:50] mzanetti, gerrit is git, doesn't git complain about whitespaces anyway? [09:50] Saviq: no [09:51] mzanetti, I think it's built-in, but configurable [09:59] mzanetti: question about public/private properties. There is a timer in MenuContent which has a 5 second interval for stopping the indicator menus. I want to test this behaviour, but dont really want the tests to wait for 5 seconds. What's the best course of action here? [10:00] unless it's just to suck it up and wait. [10:00] dednick: yeah... good one... Problem is that Timers can't be found by findChild(). If possible, try to find another way to get a pointer to it out of the qml context to modify the interval for the test [10:00] dednick: waiting 5 secs is not an option [10:01] dednick: I'm thinking about adding a "interval" property to some other element in the code file and make the timer point to that [10:01] i think my head just exploded. ok. i'll give it a go :) [10:02] dednick: huh? [10:02] mzanetti: yeah, i thoush about the interval property [10:02] mzanetti: about fishing it out of the qml context. [10:02] dednick: tell me which file it is and I'll paste an example snippet [10:03] mzanetti: MenuContent.qml [10:04] sigh, this listview Qt bug is getting annoying [10:04] now one of the guys wants to make so that you have a "forceLayout" function in the listview you have to call if you want to make sure stuff like currentItem returns the correct value [10:05] :S [10:05] dednick: I think in this case it would make sense to add a public "property int contentReleaseInterval: 5000" and make the timer point to it [10:05] mzanetti: ok sure. thanks [10:06] tsdgeos: hehe... the SignalSpy bug seems to be gone with 5.0.1 though [10:06] cool :-) [10:06] now let's update to 5.0.2 :D [10:08] Saviq: what'd be the correct blueprint "milestone" for that new hud task? Work items for ubuntu-13.04-month-5:? [10:08] tsdgeos, -6 [10:09] why 6? [10:11] tsdgeos: ubuntu-13.04-month-5 would mean you did it last month ;) [10:11] tsdgeos: it's an offset from the release schedule [10:11] month 1 in developping raring [10:11] and so on… [10:11] mzanetti, not really sure what to test of LensView if not the Timer [10:11] brrrrr [10:11] ok [10:12] tsdgeos: yeah, let's make it not easy, right? :p [10:12] the signals are emitted externally [10:12] * mzanetti opens LensView.qml [10:17] Cimi: yeah... there's really only that timer... [10:18] Cimi: I'd say let it be... [10:19] really doesn't look like anything useful can come out of that [10:30] mzanetti, https://code.launchpad.net/~saviq/unity/phablet.improve-check-whitespaces/+merge/158325 [10:32] ack [10:37] Saviq, wouldn't be easier to simply remove trailing whitespaces? [10:37] Cimi, no [10:37] Cimi, we would have to push back to the branch [10:37] Cimi, we don't want to do that [10:37] do we need them? :) [10:37] Cimi, no we don't, but that's our responsibility to not have them [10:37] Cimi, so whenever you run `make test` you'll know [10:37] Saviq, qtcreator removes them automatically for me [10:38] Cimi, yeah, sure, but that's not reliable enough [10:38] Cimi: Saviq: does not work all the time [10:38] Cimi, and now you can just `make test` and you'll know [10:38] Cimi, and there's http://doc.bazaar.canonical.com/plugins/en/text-checker-plugin.html for those that want to automate tings [10:38] things, even [10:38] mzanetti, to me it always worked [10:39] Cimi, but not everyone uses qtcreator, not for everything [10:39] Cimi, and we have non-Qt code in the tree now, too [10:39] Cimi: open a file and do: Ctrl+A, Ctrl+I, Ctrl+B... you'll end up with a few [10:40] also for very simple changes I don't use qtcreator but some command line editor [10:43] didrocks: [mzanetti] document what apps can run on the desktop: TODO [10:43] anything still needed? [10:44] mzanetti: I don't think more is needed, do you mind checking with mterry, cyphermox, robru, ken if they have all the autopilot tests they need to be run? [10:45] didrocks: all of the projects I've ever been involved have a -autopilot package [10:45] mzanetti: excellent, that's what we needed, so yeah, you can mark it as DONE [10:45] didrocks: ack [10:46] thanks! [10:46] didrocks: (apps and shell, that is) === MacSlow is now known as MacSlow|lunch [11:05] dont suppose anyone knows how to use a debugger with a qml file? [11:05] getting an odd segfault [11:06] mzanetti, any convention on the function we want to use to call before each test? like a particular initTest? [11:06] and gdb is less than usefull when it comes to qml stacktraces. [11:06] Cimi: no [11:06] dednick: yep [11:06] mzanetti, initTest is already used? [11:06] mzanetti, or I should skip the word Test? [11:06] Cimi: dunno... I haven't use one so far [11:06] ok [11:07] Cimi: probably skipping the word test makes sense, yes [11:07] Cimi: oh... btw [11:07] mzanetti, tst_Showable uses init_test [11:07] Cimi: for Qt in C++ if you have a function "void init()" it will be automatically called before each testcase [11:07] Cimi: try that [11:08] ok [11:08] Cimi: and in C++ if you have one called "void initTestCase()" it'll be called automatically before the whole suite (I know... naming seems reversed) [11:08] Cimi: same for cleanup() and cleanupTestCase() [11:08] mzanetti, in case we can improve tst_Showable [11:09] mzanetti, try renaming init_test to init() [11:09] remove the function calls [11:09] Cimi: I don't know if that works in QML too tho... you would need to test if first [11:09] and add a console.log :) [11:09] sure I am doing [11:09] before I need to finish my test [11:09] ok [11:16] how can I See how qmltestrunner is running with the imports? [11:16] I am in tests/qmluitests/Dash [11:16] and I added [11:17] add_qml_test(LensView IMPORT_PATH ${CMAKE_SOURCE_DIR}/plugins) [11:17] in order to import [11:17] Unity 0.1 [11:17] which didn't work [11:24] tsdgeos: I just looked at your MP regarding the roles [11:24] whatcha think [11:24] ? [11:24] tsdgeos: I *think* there has been an issue in early QML days (Qt 4.7) where a proxy model had to have its own role names. at least I remember having to do that back in the days [11:25] that might explain why this code was here [11:25] tsdgeos: I think your MP is ok nowadays [11:25] with import builddir/plugins imports something [11:25] but then complains [11:25] undefined symbol: _ZTIN5unity4dash13PeoplePreviewE) [11:25] time to recompile unity? [11:26] tsdgeos: especially since you with qt5 roleNames is a virtual method instead of a "setRoleNames()" thingie and you already directly forward stuff i'm quite sure its ok [11:27] yep [11:27] that's my thought too [11:27] tsdgeos: +1'd it [11:30] Saviq: which was the ppa you used that made valueselectors work? [11:31] tsdgeos, ppa:ubuntu-sdk-team [11:31] tx [11:31] Saviq, builld_unity is missing libibus [11:42] someone please re-review this: https://code.launchpad.net/~mzanetti/unity/phablet-test-people-preview/+merge/158329 [11:44] what happened to the other? [11:44] tsdgeos: I wasn't able to merge it any more... [11:45] lol [11:45] tsdgeos: it complained about missing includes somewhere in unity and I couldn't figure why [11:45] i'll do it after lunch, ok? ~1 hour aprox [11:45] I guess by then its full of conflicts again :D [11:46] or rather :( [11:46] but sure... enjoy your lunch [11:57] greyback, there's an import issue with LVWPH test [11:57] greyback, ../../Components doesn't import [11:58] Saviq: yep just pushing fix now [11:58] greyback, tks [11:58] Saviq: pushed [12:04] luv: hi! I just noticed that SignOn::Identity has a signOut() method, and a quick look at the implementation suggests me that it should be working [12:06] mardy: hey! thanks! .... strange? I played with that from python too (and indeed I stored the results afterwards and all that) but to no result (though I used the gi python bindings - maybe that's the problem :-/ ) [12:06] would signOut delete the credentials or just signout (ie delete current token (or whatever is appropriate) and tell the apps using the account to log out)? === greyback is now known as greyback|lunch === MacSlow|lunch is now known as MacSlow [12:08] Cimi, that might be a new requirement? what fails? [12:08] Saviq, nux [12:08] Cimi, you're on quantal? [12:08] raring [12:08] Cimi, we're not building nux on raring [12:08] I am not sure though [12:08] why is it? [12:08] mmm [12:09] * Cimi redoes the thing again [12:12] Cimi, 'cause nux in raring is new enough [12:12] Cimi, it's not so in quantal [12:12] Saviq, I might had an old build script [12:12] Cimi, but when we switch the phone builds to raring we'll probably drop quantal support anyway [12:12] I'm redoing from phablet [12:12] k [12:12] ok, let mse see the code [12:13] umm, I wont be able to untill I get home, the browse functionality here https://code.google.com/p/accounts-sso/source/browse/#git is not working [12:17] Saviq, I don't think the current add_qml_test (in CMake) would support two IMPORT_PATH parameters would it? [12:17] dandrader, it doesn't now, but should be really easy to add [12:18] who can help me with the issue above? [12:18] Saviq, cool. will look into it [12:18] dandrader, http://www.cmake.org/cmake/help/v2.8.9/cmake.html#module:CMakeParseArguments that's important [12:21] http://paste.ubuntu.com/5698294/ [12:21] add_qml_test(LensView IMPORT_PATH ${CMAKE_SOURCE_DIR}/builddir/plugins) [12:22] import Unity 0.1 [12:24] Cimi, why would you import Unity in a test? [12:24] Cimi, [12:24] you need to fake the Unity plugin [12:24] Cimi, we can't import the actual Unity plugin in a test [12:25] tsdgeos, could we have a test for https://code.launchpad.net/~aacid/unity/remove_proxymodel_rolenames/+merge/158307 ? [12:26] tsdgeos, and move the tests for it under tests/ while we're at it? [12:27] Saviq, to use lenses? [12:27] Cimi, we can't [12:27] Cimi, you can't use the actual lenses in a test [12:27] it worked for the DashBar [12:28] like two weeks ago [12:28] three [12:28] Cimi, that doesn't mean it's right [12:28] now doesn't work anymore though [12:28] Cimi, you need to fake the Unity plugin and whatever the LensView requires of it [12:28] I should write what, a mock plugin just for the test? [12:29] Cimi, yes [12:30] hi. How can I run a specific test rather than make alltests. [12:30] paulliu, `make testComponentName` [12:30] Saviq: ok. thanks [12:30] paulliu, i.e. `make testOpenEffect` [12:30] paulliu, when you've added the test with add_qml_test() macro [12:30] Cimi, and you wouldn't be the first to have done sone, tsdgeos wrote a fake HudClient plugin for the Hud tests [12:30] Cimi, that's just what you do [12:31] Saviq, I will do, after learning how to write a plugin and C++ :) [12:31] Cimi, look at test/qmluitests/Hud/qml [12:32] +s [12:32] Saviq, already digging === _salem is now known as salem_ [12:41] tsdgeos, https://code.launchpad.net/~saviq/unity/phablet.fix-run_on_device/+merge/158348 === greyback|lunch is now known as greyback [12:56] Saviq: which test do you want for https://code.launchpad.net/~aacid/unity/remove_proxymodel_rolenames/+merge/158307 ? the existing test already has some regarding rolenames [12:56] tsdgeos, sorry, didn't check [12:57] Saviq: hey, I'm having troubles testing Dash/People/Data and Delegate [12:58] Saviq: I don't really get what the Data is actually doing [12:58] tsdgeos, right, could you then just move it to where it belongs, under tests/? [12:58] Saviq: same commit? [12:58] Saviq: to me it seems like its just a container where we set data from the outside and use it again. Don't see where the DeeVariantText actually comes in [12:58] tsdgeos, yeah [12:58] ok [12:58] tsdgeos, and actually, shouldn't we drop setRoleNames() from there? [12:58] tsdgeos, it's deprecated, no? [12:59] Saviq: i dropped it [12:59] tsdgeos, from the test I mean [12:59] ah [12:59] well the tests needs it to have a way to set roles to the mock model [12:59] i think it's fine [12:59] tsdgeos, right [12:59] mzanetti, Data.qml unserializes the GVariant string [12:59] i can rename it if you want [13:00] so that it does not "collide" with the deprecated method [13:00] tsdgeos, might be good to avoid [13:00] yeah [13:00] and it's more obvious it's a "local" method [13:00] mzanetti, and then looks through it [13:00] ok [13:00] mzanetti, and sets some properties on itself [13:00] Saviq: yeah, thats the thing... I can't see where we are actually using that... [13:00] Saviq: it looks like there is column_0 .. column_n coming from the model [13:01] Saviq: we set that on the Data, and just read it again in the delegate [13:01] mzanetti, yeah, and we "convert that" into meaningful names [13:01] mzanetti, but then we also read stuff like the phone number, email addresses and social statuses [13:01] mzanetti, from the GVariant string [13:02] Saviq: about the run_on_device thing [13:02] mzanetti, and set those on the meaningful named properties [13:02] it's failing to find boost_regex here [13:02] probably because it's a new dependecy [13:02] tsdgeos, yeah, that's why the release [13:02] and hte build-dep of the old package fails [13:03] ok [13:03] will manually install [13:03] tsdgeos, that and libgtest-dev [13:03] Saviq: I might just leave that one test to you :D [13:03] mzanetti, Data.qml can actually be tested separately [13:04] mzanetti, just so you know, all of that should go away (and happen in the backend) [13:04] Saviq: oh... then it probably doesn't make sense writing a test now at all [13:05] mzanetti, yeah might be [13:05] mzanetti, as it's the backend that should just give us all the values prepared [13:05] Saviq: given the indaba thing is a giant mess right now and most likely will be rewritten... [13:05] indeed [13:05] Saviq: do backends actually have to be written in vala or could we use Qt for those too? [13:06] mzanetti, if you build Qt bindings for them... [13:06] mzanetti, but anyway they won't be vala for much longer [13:06] mzanetti, and AFAIK we don't want them in Qt, either [13:06] OTOH [13:06] who cares [13:07] if there's going to be a C and a C++ API, if there's bindings for Qt [13:07] we can just as well build them in Qt [13:07] mzanetti, but anyway, not our part of the cake :) [13:07] Saviq: ah ok... [13:07] ok... I'll strikeout the Delegate and Data then [13:07] yeah that's fine [13:20] Saviq: moved the test and renamed the method [13:20] tsdgeos, cheers [13:20] and pushed to the wrong branch [13:20] ... [13:20] :D [13:20] tsdgeos, yeah ;) [13:21] now [13:22] tsdgeos, does not contain a CMakeLists.txt file. [13:22] here's another way of increasing test coverage :D https://code.launchpad.net/~mzanetti/unity/phablet.remove-unused-header/+merge/158364 [13:22] does not? [13:22] indeed [13:23] Saviq: pushed [13:24] tsdgeos, yup [13:24] mzanetti, :) [13:24] :D [13:24] ok then... bbl [13:43] greyback, tried my mail? [13:44] Cimi: no actually I haven't. I'll have a play once I've written up the API proposal [13:45] ok === dandrader is now known as dandrader|afk [13:50] Cimi: btw if you need some help with the fake plugin, try copying mine from the HUD and if you don't understand something just give me a shout [13:50] mterry: you can deploy whenever you want :) [13:50] tsdgeos, ok thx :) [13:51] didrocks, k, waiting for it to automerge. I'm manually patching enough things today [13:52] mterry: it's merged [13:52] (you mean cupstream2distro?) [13:52] didrocks, oh! well then [13:52] didrocks, yeah [13:52] -config* [13:52] mterry: I just skimmed over the emails at the minute it was sent! ;) [13:52] didrocks, you're faster than thunderbird [13:52] didrocks, though I suppose that's not saying much ;) [13:53] tsdgeos, should we just go for "setRoles"? [13:53] Saviq: ok [13:54] didrocks, is there a way to run cu2d-update-stack -U on the whole set? [13:54] mterry: yeah, I'm not sure to like the comparison ;) [13:54] Saviq: done [13:54] mterry: no :/ [13:54] tsdgeos, thanks [13:54] didrocks, should I be running it on the changed phablet ones too? [13:55] mterry: well, if you ran it on your desktop, it's good enough [13:55] mterry: I think we'll still have some FTBFS TBH [13:55] mterry: so let's figure them out first ;) [13:55] didrocks, yes, we will have ftbfs. But I meant should I be running it on the cfg files under phablet/ [13:55] didrocks, http://10.97.0.1:8080/view/cu2d/view/Head/ [13:56] didrocks, I didn't create the 'network' view, there is no job with this name and the name of the stack is 'location' in the configuration file [13:57] mterry: oh not under phablet [13:57] mterry: we never deployed it [13:58] didrocks, ok [13:58] jibel: network and locations are differents [13:59] jibel: let me deploy it quickly, sorry for missing it [13:59] jibel: done [13:59] didrocks, I guessed so, that's why "name: location" in network.cfg sounds weird === dandrader|afk is now known as dandrader [14:02] jibel: no, it was exactly what I wanted to do… hem :p [14:07] didrocks, jibel: when trying to deploy, I keep getting connection timed out errors (but, like, midway through). Any known issues with jenkins? [14:09] mterry: oh? not that I know of or saw today even [14:10] mterry, which stack? always the same or different one each time? can you paste the full output of the command? [14:10] jibel, sure [14:10] jibel, I got this with both the apps and platform stacks: http://pastebin.ubuntu.com/5698566/ [14:10] jibel, I assume I'd get it with more, can try if you want [14:11] It's reliable === dednick is now known as dednick|lunch [14:40] Is there even a chance that the fix for https://bugs.launchpad.net/compiz/+bug/763148 is SRUable for 12.10 and more importantly, 12.04? [14:40] Launchpad bug 763148 in Compiz 0.9.9 "Adding/Removing an external monitor causes open windows to move to another workspace" [Medium,Triaged] === francisco is now known as Guest35830 [14:46] fginther: does indicator-icons still change? [14:47] fginther: I think the icons are merged in ubuntu-themes [14:55] didrocks, there hasn't been a merge since Feb 20 [14:55] fginther: yeah, can you kill it please? [14:55] didrocks, no problem [14:55] thanks! === dandrader is now known as dandrader|lunch [15:04] tsdgeos, what calls fake_libhud_client? === dednick|lunch is now known as dednick [15:12] Cimi: not sure what you mean [15:12] tsdgeos, I'm studying the plugin [15:12] tsdgeos, fake_hud_plugin registers [15:13] tsdgeos, libhud_client_stub is the code of the plugin registered by fake_hud_plugin [15:13] tsdgeos, I'm wondering when all the processing in lin fake_libhud_client happens [15:13] yes [15:13] ChrisTownsend: probably, the code change is not too complicated [15:13] ChrisTownsend: ask the distro team [15:13] Cimi: when those functions are called [15:13] what i'm doing there is implement a stub of the libhudclient [15:14] so i'm "implementing" the functions of the real libhudclient [15:14] they are called from plugins/HudClient/* [15:14] smspillaz: Thanks. Yeah, I'll follow up with them. If they think it's ok, then I'll work on backporting it. [15:14] Cimi: the plugin path that is test in the test overrides the default hudclient path, so it's loaded instead of the one from plugins/HudClient. [15:15] *set in the test [15:15] anyone has any idea why ./run_on_device is not syncing one of my files? (it's new) [15:16] Cimi: so when tst_hud.qml does "importHudClient 0.1" it's loading from the qml folder, where the HudClientStub is registered [15:16] ah ok [15:17] the Panel does it as well, except with qml files instead of a library. [15:18] ok, needed to bzr add them [15:30] mzanetti: what happened? https://code.launchpad.net/~aacid/unity/remove_proxymodel_rolenames/+merge/158307 [15:30] * mzanetti checks [15:30] tsdgeos: thats a bit unfortunate and shouldn't happen... the mediumtests-builder job failed [15:30] fginther: any ideas on that jenkins timeout? [15:32] tsdgeos: 16/16 Test #16: cleanincludes ........................***Not Run 0.00 sec [15:32] tsdgeos: full log: http://s-jenkins:8080/job/generic-mediumtests-builder/1097/console [15:33] mzanetti: oh i see :-/ [15:34] tsdgeos: do you know what failed? [15:34] tsdgeos: actually the generic-mediumtests-builder should never fail if the other ci jobs pass - that's why it has been hidden in the comment that jenkins posts [15:34] mterry, are you referring to tsdgeos' build? [15:35] fginther, sorry no, I was trying to deploy a new config earlier [15:35] fginther, I was getting timeout errors [15:35] tsdgeos: since yesterday I've seen some of the new API team tests fail only on that one... no idea yet what exactly happens [15:35] * fginther checks the logs [15:36] fginther, sorry [15:36] fginther, I meant to ping jibel [15:36] fginther, for some reason I remembered it as you === jhodapp is now known as jhodapp|lunch [15:36] jibel, any ideas on that jenkins timeout? (nailed it!) [15:37] mzanetti: no i don't [15:37] it was a "i see" of "i couldn't find what failed" [15:37] jussi might have an idea... he wrote that test [15:37] mzanetti: but "not run?" [15:37] i "could" understand not passed [15:37] tsdgeos: it says BAD_COMMAND [15:37] but not run... [15:38] 2 lines down [15:38] whatever that means [15:38] binary not available? [15:39] tsdgeos: its a python script [15:39] tsdgeos: but so is the whitespace one, and that passed [15:39] * tsdgeos shrugs [15:42] mzanetti, tsdgeos, autolanding / ci has python [15:43] mzanetti, tsdgeos, but pbuilder does not [15:43] yeah... I know [15:43] or PPA, rather [15:43] Saviq: do you know what "test not run (BAD_COMMAND)" means? [15:44] mzanetti, yeah, python3 wasn't there [15:44] ok... I know whats happening then [15:44] mzanetti, tsdgeos https://code.launchpad.net/~saviq/unity/phablet.add-python3-dep [15:44] * mzanetti fixes [15:44] or https://code.launchpad.net/~saviq/unity/phablet.add-python3-dep/+merge/158398 rather [15:45] mzanetti: i'd give it a "broken hardware" thing [15:45] i mean that test run when it was autolanded [15:45] no? [15:45] tsdgeos: the mediumtests builder can run on precise machines, while the other only run on quantal & raring [15:46] tsdgeos: I'll restrict the builder to quantal and see if that helps [15:46] weird :D [15:49] tsdgeos: indeed... jenkins config says it should be restricted on quantal-i386.. yet it ran on a precise machine. [15:49] lol [15:49] tsdgeos: but I guess the precise machine has a quantal pbuilder chroot which makes it qualify for that [15:50] yep... also the other quantal builds run on precise hosts... so thats not the issue [15:50] now I'm really puzzled why it fails only in there and not everywhere [15:51] didrocks, any word on jenkins/deploying feasibility? [16:00] mterry, no idea, I cannot reproduce it and no error message in servers logs [16:03] jibel, oh. :( will try again [16:11] didrocks, I guess there is some mterry-specific error with jenkins deployment right now. Can you deploy -config trunk for me? [16:11] mterry: sure, what stacks? [16:19] didrocks, stacks/head/hud.cfg [16:19] stacks/head/location.cfg [16:19] stacks/head/network.cfg [16:19] stacks/head/phone.cfg [16:19] stacks/head/apps.cfg [16:19] stacks/head/indicators.cfg [16:19] stacks/head/media.cfg [16:19] stacks/head/mir.cfg [16:19] stacks/head/platform.cfg [16:19] stacks/head/unity.cfg [16:19] all? [16:19] you have made that many changes? [16:19] like location is empty [16:19] I already deployed it this morning :p [16:20] didrocks, then not that one. I was just working off the list of modified files when I did a bzr pull [16:21] mterry: ok, deploying them one afoter another [16:21] /wi60 [16:21] ups [16:21] didrocks, is there a reason we couldn't automate it? [16:21] mterry: we need to first poke if the stack is running [16:22] mterry: because if the stack is running, it needs to wait before deploying [16:22] didrocks, I mean, we still need the atchive-admin bit. but we should always deploy after a change, right? [16:22] hmm [16:23] didrocks, how about right before a stack runs, it deploys itself [16:23] mterry: if you have a patch for that, I would be happy :) [16:24] didrocks, not today, anyway. I think I'll just keep having you deploy for me until you get tired of it and patch it yourself. ;) [16:25] mterry: or get your machine fixed? [16:25] didrocks, yeah, I wonder why only I get this error === dandrader|lunch is now known as dandrader [16:57] Saviq: you have an idea what could be happening here by any chance? [16:57] QXcbConnection: XCB error: 148 (Unknown), sequence: 148, resource id: 0, major code: 140 (Unknown), minor code: 20 [16:57] and the application never finishes to initialize === jhodapp|lunch is now known as jhodapp [17:19] super simple MP anyone? https://code.launchpad.net/~mzanetti/unity/phablet-bring-back-launcher-tests/+merge/158434 [17:19] mzanetti, on it [17:19] mzanetti, about the xcb error, no :/ [17:33] Saviq: FYI: I have no clue why, but code contents in cobertura reports are back [17:34] mzanetti, yay! [17:34] :D [17:34] Saviq: and there is really not much red in our testing doc any more [17:34] mzanetti, yup [17:34] tomorrow I'll check the state of our ListItems [17:35] I'm a bit afraid of the Dashs [17:35] but most likely because I haven't tought good enough about how to test them yet.... [17:37] Saviq: I commented on Shell.qml in the testing doc. when you have a minute think about it and let me know if you agree. Not necessarily today any more. [17:37] I'll call it a day now [17:37] mzanetti, any more? ;) [17:37] mzanetti, cheers [17:58] mzanetti, still around? [17:59] mzanetti, if you are, can you look at http://10.97.2.10:8080/job/unity-phablet-qmluitests/238/console [17:59] sergiusens, or you ^? [18:01] mterry, mzanetti: sorry for again messing up the work items in the blueprint! Had a misunderstanding with firefox ;) But I think it's all ok now [18:01] sil2100, heh, I do it all the time [18:23] mterry: hey, so one item that needs to get added somewhere is "hint where launcher is" from greeter [18:24] should that be an item for launcher? greeter? or just the shell ? [18:25] kgunn, I'd say greeter. Design is looking at various ways to hint both launcher and right-side swipe from the greeter, so they may come up with a related fix for both [18:25] kgunn, I'll add [18:25] mterry: you are awesome... [18:25] thanks [18:25] kgunn, there is a "discover edges" item under greeter that I will expand for that [18:25] mterry: ah...just saw it [18:27] mterry: actually nic d'offay will own the ui portion of the infographic & pete's gonna own the backend [18:27] kgunn, OK. I'm still grappling with the engineers involved, thanks [18:27] kgunn, I didn't have to care before ;) [18:27] :)) [18:36] Saviq: looking [18:37] kgunn, do you know which teams/engineers are working/available for other OOBE stuff, like the installer and first-time customizations? [18:38] mterry: no i'm not...if it needs to be done, add it, then add a note saying no owner [18:38] kgunn, k === dandrader is now known as dandrader|afk [18:56] Saviq: is this /tmp/qmlfile.qml something you talked about with mzanetti? [18:56] sergiusens: whats whit it? [18:56] mzanetti: can't find that file in the tests and aborts it seems [18:56] mzanetti: my first hunch [18:57] sergiusens: oops. I'll fix it [18:57] mzanetti: is it supposed to be in the hook? [18:57] sergiusens: no... [18:57] mzanetti: ps-quantal-server-amd64-1 is offline in jenkins and started if you want to look into it [18:58] sergiusens: ah ok... thats why I can't reach it [18:59] mzanetti: just ssh into it :-) [18:59] sergiusens: no. need to change the job config [18:59] mzanetti: so you have qmlscene /tmp/qmlfile.qml & and also set -e and [ -f /tmp/qmlfile.qml ] is false [19:00] mzanetti: I'll put the machine online again and stop it from virsh if you don't think you'll need it [19:00] sergiusens: fixed [19:01] mzanetti, thanks [19:01] mzanetti: node is back [19:01] sergiusens: so the problem is this: I haven't yet found out why, but sometimes the very first run of a Qt5 app in the VM just hangs [19:01] sergiusens: I had that already with the mediumtests in the i386 vm's [19:02] sergiusens: I just couldn't find the solution so I added a workaround that just fires up qmlscene and kills it again. [19:02] sounds reliable :D [19:02] sergiusens: worked like a charm. at some point I noticed it wasn't required any more and removed it again [19:02] now the same thing started on the amd64 vms [19:02] mzanetti: great, at first I thought you were doing environment validation before running anything [19:03] Saviq: its the xcb error I posted earlier [19:03] mzanetti: do you have a log with the error? [19:03] sergiusens: yep, one sec [19:03] sergiusens: this is the line: QXcbConnection: XCB error: 148 (Unknown), sequence: 148, resource id: 0, major code: 140 (Unknown), minor code: 20 [19:04] sergiusens: everything else is exactly the same as with successful runs [19:04] sergiusens: if it hangs, it stalls at this line === dandrader|afk is now known as dandrader [19:07] mzanetti: this does ring a bell... I'll see if I create a vm on my machine [19:17] mzanetti: other topic, where is our current autopilot branch these days? [19:18] and how close are you with autopilot-1.3? [19:25] mzanetti, we crossed the mark of 200 tests :D [19:28] Saviq, yay. Would you want something like this in ./run? As running things in gdb is slightly annoying atm. [19:28] Saviq, http://paste.ubuntu.com/5699506/ [19:30] bschaefer, sure, looks useful, only thing is that I'd probably drop the UNITY_CORE... [19:30] Saviq: \o/ [19:30] bschaefer, export LD_LIBRARY_PATH [19:30] mzanetti, yup [19:30] Saviq: another 200 and we are gaining on Mir :P [19:30] Saviq, soo have the users do the export? [19:31] or have it in the bash script [19:31] bschaefer, no no, in the script [19:31] Saviq, alright, ill do a MP for that :) [19:31] bschaefer, but export the var instead of just running qml with it [19:31] alright [19:31] bschaefer, and then run gdb directly, without the $OPTIONS var [19:31] bschaefer, and please support -g, too [19:32] bschaefer, and use getopt [19:32] bschaefer, and we good! [19:32] Saviq, sounds good :), ill see what i can do [19:34] bschaefer, one last thing - « gdb -ex run --args ... », please [19:34] bschaefer, so that we don't have to type "run" manually [19:34] Saviq, o right, typing that r would get annoying if we can run it our selfs [19:35] yup [19:49] cyphermox, what do I need to do to get https://code.launchpad.net/~fginther/cupstream2distro-config/qa-stack-update/+merge/158197 deployed? [19:49] cyphermox, the jenkins server looks quite [19:49] s/quite/quiet/ [20:06] Saviq, heres what I have: https://code.launchpad.net/~brandontschaefer/unity/add-gdb-support-to-run-script/+merge/158465 [20:06] works well for me [20:07] bschaefer, no need for the shift [20:07] I _think_ [20:07] Saviq, hmm the shift moves over one if an option is matched right? [20:07] bschaefer, yeah, but we should get the "rest" from getopt [20:07] I _think_, again [20:07] * Saviq reads [20:07] Saviq, hmm well I also stole a bit of that code from ./build [20:08] bschaefer, yeah, but that didn't have $@, so no worry there [20:08] Saviq, as I would think, if its ./run -g 1 2 3, and we hit a -g it shifts $@ = 1 2 3 [20:08] bschaefer, whereas for ./run we need it [20:08] Saviq, correct, ooo you're saying it'll shift all the params [20:09] right, ill remove that and find an option for the qml_phone_shell to test it out if it gets the args or not [20:10] bschaefer, just make sure that there's no "better" way for getopt [20:10] to get "the rest" [20:10] Saviq, alright cool, let me do some more digging to make sure we get all the args from $@ [20:10] bschaefer, and maybe we should separate the args passed to qml-phone-shell with -- [20:10] Saviq, hmm I could look into adding them to the run script [20:11] bschaefer, to be somewhat "standard" compliant [20:11] or you're saying have a break [20:11] Saviq, i've actually never used getopts before soo let me read more of the man pages :) [20:11] bschaefer, yeah, `./run -g -- --whatever --options --for --qml --shell` [20:11] bschaefer, sure [20:12] Saviq, we should be able to stop eating args up when we hit a '--' that would be nice [20:12] * bschaefer thinks there should be a better way possibly [20:13] bschaefer, that might help http://serverfault.com/questions/95077/how-can-i-get-remaining-args-after-pulling-out-parsed-items-using-getopts [20:13] Saviq, you are very good at this google thing [20:13] lol [20:13] haha, thanks! Ill read through it :) [20:14] oh, that's interesting http://rsalveti.wordpress.com/2007/04/03/bash-parsing-arguments-with-getopts/ [20:14] :D [20:14] we have ourselves a getopts master around :] [20:14] fginther: can we also migrate gtester2xunit and pyruntest? [20:14] jezz, that's from 2007! [20:14] :-) [20:14] o awesome [20:15] cyphermox, I don't have permissions to migration gtester2xunit (need Martin) and we don't want to continue support of pyruntest. [20:15] cyphermox, so if you want to wait until the other work can be done, I'm fine [20:18] I'd rather it all be done yeahd [20:19] cyphermox, ok, I'll make a note in the MP [20:19] including pyruntest if possible, if anyone wants to pick it back up then we can just keep doing just the fixes in a stable branch [20:19] ok [20:19] thomi: ^^ how do you feel about branching pyruntest for a stable branch? [20:20] cyphermox: we're actually talking about deprecating pyruntest, since you can do everything with subunit & testtools [20:20] yeah, but still ;) [20:21] you know, there might still be bug fixes even though it's attained perfection already ;) [20:21] cyphermox: if someone else maintains it, that's fine with me, but I have too many projects on the go at once, and it's not particularly well written [20:21] Once martin gets back I'll be pushing that we adopt subunit & friends as our standard way of running python tests [20:23] Saviq, one thing, is rsalveti example didn't shift the arguments out, but the other example has this: shift $(( $OPTIND -1 )) soo that should work nicely :) [20:23] * bschaefer attempts [20:23] unless I missed something in his example :) [20:23] cyphermox, thomi, if we just need to create a '13.04' type branch, I don't have a problem with that. We can then remove it from head once it's removed from all projects? [20:24] bschaefer, yeah [20:25] Saviq, cool, well ill be sure to poke you next when I have it working. Thanks for the links! === seb128_ is now known as seb128 [20:30] bschaefer, cheers === salem_ is now known as _salem [21:09] Saviq, when you get a chance: https://code.launchpad.net/~brandontschaefer/unity/add-gdb-support-to-run-script/+merge/158465 [21:10] order does matter, run options have to come before the qml-phone-shell options [21:10] (shift can't eat specific indexes) [21:12] bschaefer, yeah, that's fine, didn't manage to get the -- to separate args to ./run from args to the binary? [21:12] Saviq, hmm well its not needed, but I can look into getting it that way [21:12] ./run -g -frameless works [21:12] bschaefer, yeah I know it's not needed, but it's the convention [21:12] Saviq, oo alright, let me get that in [21:13] bschaefer, also, please bring back --gdb [21:13] Saviq, getopts can only do single options :( [21:13] bschaefer, --longopts? [21:13] --longoptions, actually [21:13] Saviq, hmm what I read, it can only do single [21:13] Saviq, http://stackoverflow.com/questions/402377/using-getopts-in-bash-shell-script-to-get-long-and-short-command-line-options [21:14] bschaefer, we even have long opts in ./build and ./build_unity [21:14] bschaefer, and you did have them before [21:14] Saviq, but it uses getopt [21:14] ah getopt vs. getopts [21:14] bschaefer, use getopts, then [21:14] as we do in the other scripts [21:14] yup, but I can look back at getopt and see if I can count up to N until we hit a -- [21:15] Saviq, well the other scripts use getopt [21:15] bschaefer, and they use --longoptions, I'm confused [21:15] Saviq, getopt can use --longoptions, getopts cannot [21:15] getopts loops through the options [21:16] err... [21:16] ah got it, getopts is the bash thing [21:16] while getopt is the cript [21:16] script [21:16] * bschaefer is doing bad at explaining this [21:16] confused the two [21:16] Saviq, yeah, the 's', but I can see if I can get getopt working [21:16] bschaefer, yeah, should work fine I imagine [21:16] since we will have an order of things, and stop when we hit an '--', and count up [21:16] cool, let me play with that, im learning quite a bit about bash haha [21:16] yup [21:17] bschaefer, sorry to badger you like that, it's just a freakin' run script after all.... [21:17] but while we're at it, we might just as well make it more useful :) [21:17] Saviq, haha, no worries, I would prefer to do it right :) [21:17] yup! [21:17] should be easy to add more options after this [21:20] afk [21:58] Saviq, when you return, i've got the branch ready. It shifts until it hits a '--' then breaks, leaving the args after the '--' untouched