/srv/irclogs.ubuntu.com/2013/08/23/#launchpad-dev.txt

=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
StevenKwallyworld: Can I pick your brain?03:48
bigjoolshe's in my kitchen03:48
StevenKYou've put him to work?03:48
bigjoolsonly thing he's good for03:48
StevenKTrue03:48
StevenKbigjools: He's chained to the cooktop?03:49
bigjoolsactually I think he's stealing my food03:49
StevenKThat sounds more like wallyworld03:49
bigjoolswill have to send him to Port Arthur03:49
StevenKI didn't think he was cooking you anything :-)03:49
wallyworldStevenK: hello there03:51
StevenKwallyworld: What did you score? :-P03:54
wallyworldfresh bread03:54
StevenKwallyworld: I'm looking at the BMP page, and I can't work out how the inlineedit widgets get created to start with03:55
wallyworldlol. i can't recall ottomh. i can look at the code03:55
StevenKwallyworld: javascript/branchmergeproposal.reviewcomment.js uses them in Y.lp.widgets[name], but I can't work out what populates them03:55
wallyworldi'll have alook03:56
wallyworldexcept i need to re-install some stuff cause my raring went tits up a couple of weeks ago and i had to rebuild, so give me a minute03:57
wallyworldStevenK: so, branchmergeproposal-index.pt loads the javascript, wheich then hooks up the widgets, is that the bit you are after?04:09
StevenKwallyworld_: I can't work out what populates Y.lp.widgets[name]04:12
wallyworld_StevenK: ok, let me look. my fucking computer shutdown due to low battry. i thought it would have suspended, but noooooo04:13
StevenKI think it's the trickery in branchmergeproposal-index.pt <tal:widget replace="structure view/commit_message_html"/>04:14
StevenKWhich returns a TextAreaEditorWidget04:15
StevenKwallyworld_: Or am I barking up the wrong tree?04:18
wallyworld_StevenK: so, BranchMergeProposalView has a property commit_message_html04:18
wallyworld_which loads a TextAreaEditorWidget04:19
wallyworld_which has a template text-area-editor.pt04:19
wallyworld_which has javascript with a line: lpns.widgets['${view/content_box_id}'] = widget;04:19
wallyworld_so the tal replace injects the value of the property04:20
wallyworld_which uses the editor tal to render some html04:20
wallyworld_make sense?04:20
StevenKwallyworld_: Yes, clear as mud04:21
wallyworld_you sure?04:21
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
wgrantStevenK: Hm, does your workitem preloading not exclude deleted ones?04:59
StevenKwgrant: It would seem not :-(05:00
wgrantStevenK: Can has fix? :)05:00
StevenKwgrant: Should I change load_referencing to ignore them, or just not add them to the defaultdict if deleted?05:01
wgrantStevenK: load_referencing might already take extra conditions. If not, I'd suggest letting it take extra conditions.05:02
wgrantIt seems like it would be generally useful.05:03
StevenKwgrant: No extra conditions05:04
StevenKwgrant: Is there a bug?05:26
wgrantStevenK: I don't think so.05:26
StevenKwgrant: http://pastebin.ubuntu.com/6016516/05:27
wgrantStevenK: Looks reasonable.05:28
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/no-preload-deleted-workitems/+merge/18170805:44
wgrantStevenK: Land it.05:45
wgrant:)05:45
=== tasdomas_afk is now known as tasdomas
=== stub` is now known as stub
wgrantStevenK: Your caching introduced a seriously weird bug where adding workitems to a blueprint that has none returns an empty workitems_text08:03
wgrantI'm investigating, but it's really really weird.08:03
wgrantThe new SWIs aren't being flushed immediately for some reason.08:04
wgrantWill investigate and fix tomorrow.08:04
StevenKwgrant: Why are you playing with workitems, out of interest?08:04
wgrantStevenK: QAing your thing.08:05
wgrantHm08:05
wgrantSWI is a StormBase, not an SQLBase, so it shouldn't have been working without an explicit add.08:05
wgrantI wonder how they are being added today.08:05
StevenKHeh08:05
wgrantI intend to deploy your fix shortly.08:06
stubBecause fixing SWI flushing is what you do on Saturday :-P08:44
shadejhi08:57
shadejI want to participate on ubuntu devt software localization08:58
shadejquick start help?08:58
dowsonThe instructions mentioned here: https://dev.launchpad.net/Soyuz/HowToUseSoyuzLocally is out of sync with the source tree here: http://bazaar.launchpad.net/~canonical-launchpad-branches/launchpad-buildd/trunk/files12:27
dowsonI can't find a lib/canonical/buildd folder in the launchpad-buildd source tree.12:28
wgrantdowson: That's now in lp:launchpad-buildd12:29
wgrantOr you can just install launchpad-buildd from ppa:launchpad12:29
dowsonI want to build from sources. I tried the following command: bzr branch lp:launchpad-buildd12:30
wgrantThat's correct.12:30
dowsonis that the correct command?12:30
dowsonI want to try out the local build slave12:31
wgrantYes.12:31
dowsonhttps://dev.launchpad.net/BuildFarm/TryOutBuildSlave12:31
=== BradCrittenden is now known as bac
dowsonBuild the package12:31
dowson  cd lib/canonical/buildd12:31
dowson  debian/rules package12:31
dowson  dpkg-buildpackage -b12:31
dowsonso there is no lib/canonical/buildd folder12:31
=== bac is now known as InigoMontoya
wgrantNo, it's just in the root now12:32
wgrantBecause it's in its own branch.12:32
dowsonwhat should I be doing?12:32
dowsonshould I create the folder lib/canonical/buildd12:33
dowsonand then execute the the rest of the commands?12:33
wgrantdowson: No, omit the cd12:37
wgrantThe package is in the root of lp:launchpad-buildd12:37
dowsonI'm sorry, I can't find it.12:39
dowsonthe root of the package doesnt have a lib folder to begin with12:39
wgrantThere is no lib/canonical/buildd12:39
wgrantThat tree was moved into a separate branch12:39
dowsonoh, so just run the second set of commands .. ok got it now.12:39
dowsonif I have to setup a pbuilder chroot, does the rest of the instructions still hold good here: https://dev.launchpad.net/BuildFarm/TryOutBuildSlave12:40
wgrantdowson: A pbuilder chroot?12:42
wgrantFor what?12:42
wgrantLaunchpad doesn't use pbuilder.12:42
dowsonthis for soyuz.12:42
wgrantHowToUseSoyuzLocally describes where to get a prebuilt chroot.12:43
dowsonthe instructions in the link above talked about setting up a pbuilder root. I will be trying to cross compile Ubuntu for ARM locally on an X86_64 machine.12:43
wgrantWhy are you trying to do that?12:44
dowsonI want to build for my i.MX6 board, with a specific toolchain generated from the Yocto project, and then use that to fully rebuild a Ubuntu for ARM distro, using that toolchain.12:44
dowsonI get an error while running the debian package command12:46
dowsondh_clean12:46
dowsonmake: dh_clean: Command not found12:46
dowsonmake: *** [clean] Error 12712:46
dowsondpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 212:46
dowsondebuild: fatal error at line 1350:12:46
dowsondpkg-buildpackage -rfakeroot -d -us -uc -S failed12:46
wgrantDoing that with Launchpad without thoroughly knowing Launchpad from a normal user's perspective is going to be quite a challenge.12:46
wgrantAnd without knowing Debian packaging well.12:46
dowsonI know, but I want to give it a shot.12:46
dowsonI'm familiar with cross compiling using Yocto and openembeded, I haven't done building Ubuntu before.12:47
wgrantThose two are designed for cross-compilation.12:47
wgrantUbuntu can't be cross-compiled as such; if you want to do it cross-arch then you have to build it with qemu12:48
dowsonyes, i understand.12:52
dowsonI plan on using an Yocto generated QEMU for this.12:53
dowsonI just need to know how to tie in my Yocto generated QEMU to the Ubuntu build infrastructure, and where to get the package specifications to perform a build of Ubuntu 12.04 for ARM, using a custom toolchain, also generated using Yocto.12:54
dowsonis there a file that you can point me to, where the qemu image and cross-compiler toolchain location and name is specified?12:59
wgrantThere's no easy way to just rebuild Ubuntu.12:59
wgrantThere's nothing like that.12:59
wgrantWe don't generally cross-compile, except for some relatively experimental ARM PPA builds, which just use qemu-user-static.12:59
wgrantWhich isn't terribly reliable.12:59
dowsonI have an actual target board as well, a freescale i.MX6 quad, which already has ubuntu running on it. but I want to bootstrap it from scratch13:00
dowsonI prefer to try the QEMU approach first if possible, rather than native compilation.13:00
=== InigoMontoya is now known as bac
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== tasdomas is now known as tasdomas_afk
=== Ursinha is now known as Ursinha-afk
dowsonIs there some documentation that describes how to build Ubuntu with qemu?16:25
=== Ursinha-afk is now known as Ursinha
=== tasdomas_afk is now known as tasdomas
=== tasdomas is now known as tasdomas_afk

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