/srv/irclogs.ubuntu.com/2011/07/07/#ubuntu-nz.txt

ojwbnot really ubuntu related, but ...00:29
ojwbhttp://www.nzosa.org.nz/ is giving 502 Bad Gateway and seems to be hosted at catalyst it00:30
ojwbanyone here know who to prod?00:30
* ibeardslee prods00:33
mwhudsonso... do people who actually do ubuntu development have a .pbuilderrc that's about a megabyte?00:33
ajmitchmwhudson: I don't know about others, but mine surely isn't that large00:36
ajmitchit's large, yes00:36
mwhudsoni guess a megabyte is pretty unlikely00:37
mwhudsonbut long00:37
ajmitchabout 120 lines00:37
ojwbmine is 18 bytes00:37
ojwbthough I'm not sure I really count00:37
mwhudsonwhat i actually want to do is add a ppa to the sources.list in the chroot00:37
mwhudsonis that straightforward?00:37
ajmitchyou can do that with a hook00:38
ojwbor with OTHERMIRROR - e.g.: OTHERMIRROR='deb file:/data/olly/svn/xapian-trunk-debian/build/ ./'00:38
ojwbthat's what I use to build a package against another that's not yet uploaded00:39
ojwbbut any sources.list entry can go in there00:39
ajmitcheg I have a hook called D10_use_results which echoes a repository line into /etc/apt/sources.list & does apt-get update00:39
mwhudsonah right, --othermirror works i guess00:39
ajmitchthat works as well, I guess :)00:39
ajmitchmy pbuilder configuration has mutated over several years00:39
ojwbif you are doing a lot of building, sbuild is faster, but harder to set up00:39
mwhudsoni think https://wiki.ubuntu.com/PbuilderHowto has mutated over the years too00:40
mwhudsonojwb: how come?  less downloading?00:40
ojwbless unpacking of tarballs helps00:40
ojwbyou can set it up in all sorts of ways, but e.g. I have chroots on btrfs which it will snapshot to get a build env, then just discard after the build00:41
ojwbit can also do overlays with a ram disk, snapshots on lvm00:41
mwhudsoni'll just abuse my SSD for now i guess :)00:42
ojwbwith an SSD, pbuilder is probably a good solution - the reduced space from keeping the chroot in a tarball is nice if your SSD isn't huge00:42
ajmitchI think there'd be other speedups you can do with dpkg like libeatmydata or similar flags to make it avoids fsyncs00:44
ajmitchnot sure how much it'd impact on an SSD00:44
mwhudsoni guess building in a ramdisk or something would be better for drive lifetime00:46
hadsI'm guessing you'd be upgrading an SSD because it's obsolete before you kill it.00:47
ojwbI run the build under eatmydata00:48
ojwbbtrfs fsync performance with dpkg is apparently somewhat disappointing, and if the cloned chroot is trashed you really don't care00:48
mwhudsonwoot i have packages00:51
mwhudsoni guess the next thing is a vm (or lxc?), because i sure don't trust myself enough to install them on my system :)00:52
ajmitchI use virtualbox for that00:52
ajmitchand if you're really not confident in the packages, vm snapshots help :)00:52
mwhudsonheh00:53
ojwbjust upload them to unstable and let other people test them for you00:55
ojwb(joke)00:55
ajmitchif noone complains for 10 days, you're set?00:56
ojwbyep00:56
ibeardsleeojwb: should be back now01:14
ojwbibeardslee: cool, that looks happier01:14
ibeardsleeI got an "ah shit" then "it's back"01:28
mwhudsonajmitch: do you have a trick for getting debs onto the vm?04:21
mwhudsonajmitch: i've been doing it by copying them via london, seems silly04:21
ajmitchmwhudson: I don't really, though you can use shared folders with virtualbox, or serve them from a local httpd04:22
ajmitchI tend to go for the local httpd option, since I run dpkg-scanpackages after building04:22
mwhudsoni can't figure out how to get to the host from the guest04:23
mwhudsonnetwork wise04:23
ajmitchusing virtualbox & NAT?04:23
mwhudsonyeah04:23
mwhudsonadmittedly i haven't tried /very/ hard04:23
ajmitchyou should be able to just use the normal internal network address on the host04:23
ajmitchI tend to switch them to bridged mode04:24
ajmitchthen I can have the VM automatically pick up ipv6 & be available by ssh outside my home network04:24
mwhudsonajmitch: oh yeah, that works04:25
mwhudsonhang on, no it doesn't04:26
mwhudsonping works, but no tcp04:26
ajmitchno iptables or funny routing ?04:27
mwhudsonnope04:28
ajmitchodd04:28
mwhudsoni guess i should figure out bridged mode04:28
ajmitchit's pretty simple, no real configuration needed04:28
mwhudsonit's just a "i'm doing eleventy million things i don't really understand already" sort of day :)04:29
ajmitchheh :)04:30
ajmitchthose days are just so much fun04:30
mwhudsondoes debhelper have documentation?04:42
ajmitchshould have manpages & some documentation online04:46
ajmitch'man dh', or 'man debhelper'04:46
ajmitchyou can often get away with a pretty minimal debian/rules if it's a straightforward package04:46
mwhudsonyeah, i've cargo culted a minimal one :)04:47
mwhudsonand now need to make it a bit less minimal04:47
mwhudsoni'm so happy pbuilder spends time04:50
mwhudsonmv debian/tmp/usr/twisted debian/tmp/04:50
mwhudsonBuilding database of manual pages ...04:50
mwhudsonrather04:50
mwhudsonduring a build04:50
ajmitchheh04:51
ajmitchso you're doing a python package?04:51
mwhudsonyeah04:51
ajmitchseen the guides on the python helpers & example packages?04:51
mwhudsonwhat i want to do is move a file after the default action for the install step04:52
mwhudsonajmitch: no04:52
mwhudsonbut i don't know what the cwd will be there04:52
ajmitchhttp://wiki.debian.org/Python is where it starts04:52
ojwbthe cwd will be the directory with the debian directory in04:53
ojwbunless I misunderstand what you mean04:53
ajmitch$(CURDIR) is often used there04:54
ojwbbut if you just want to install a file in a different place, you can do that in a .install files04:54
mwhudsonyeah that might be more appropriate04:54
mwhudson(an .install file i mean)04:55
ajmitch'man dh_install' for details04:55
mwhudsonwhat's the relationship between dh_foo and dh_auto_foo?04:55
ojwbsimilar names04:56
ojwband they're both part of, or at least to do with, debhelper04:56
mwhudsoni see04:56
mwhudsonthey're not related in any magic way?04:57
ajmitchmanpage for dh_auto_install seems to say that it's called before dh_install is used04:57
ojwbno04:57
ajmitchI'm not very familiar with it tbh04:58
ojwbthere doesn't even seem to be a dh_foo for several of the dh_auto_foo04:58
ojwbno dh_test or dh_configure for example04:58
ojwbhmm, downloaded a CSV of bank transactions and one of the names has "&" in06:01
ojwbnot exactly confidence inspiring06:01
ojwbthough I guess it could be wrong in the data the bank got06:02
ajmitchat least it wasn't bobby tables06:10
hadsBank systems suck.07:01
ajmitchmorning19:35
ibeardsleemorning19:59
ibeardsleeahh shit .. looks like I'll be looking elsewhere for a distro20:06
ajmitchibeardslee: why?20:17
ibeardsleethunderturd looks looks like it'llbe the default mail client20:20
ajmitchand you can't install evolution yourself?20:23
ajmitchswitching distro based on one default app seems like a bit of overkill20:25
ibeardsleeyeah .. haven't had enough coffee yet20:26
ibeardsleewill throw my toys if they drop ope/libre office from the CD though20:26
ajmitchI wouldn't think that you'd be an irrational fanboy :)20:26
ibeardsleewhat do you think the 'i' in 'ibeardslee' means ;)20:27
ajmitchpersoinally I wouldn't care too much if it was dropped, but I know that others use it20:27
ibeardsleemy gripe about the thought of dropping it is that if Ubuntu is going to be the CD for the masses .. what good does it become if people then need to go download a fairly commonly used app for kids homework etc20:28
ajmitchthis is why they were talking about a ~1.5GB image as well20:29
ajmitcha single CD is great, but it's not a lot of space20:29
ajmitchI don't think they'll drop it soon though20:29
ibeardsleethere will be much gnashing of teeth and philosophical debate when that time comes20:30
ajmitchespecially given ubuntu's appeal in countries where high-speed uncapped internet isn't the norm20:32
ibeardsleeand just quickly back to Thunderbird .. I hope that means that they are going to put effort into making sure that Lightning works and doesn't get out of sync with the Thunderbird version20:33
ajmitchdon't hold your breath20:35
ajmitchI know that the guys who do firefox/thunderbird packaging do a lot of work, but I don't know how much upstream development would be done, or how much is needed20:35
ajmitchhttps://blueprints.launchpad.net/ubuntu/+spec/desktop-o-default-email-client lists a few lightning tasks20:38
* ibeardslee starts installing the alpha-220:48
* mwhudson is an equal opportunity mua hater20:59
ajmitchstill using pine? :)21:01
mwhudsongod no21:12
mwhudsoni use notmuch, but i realise that's not a client for everyone :)21:13
ajmitchI used to be a regular mutt user21:14
chiltsmorning21:41
chiltsI used to use mutt, and I _think_ I may go back to it, but online email wins21:43
chilts(and yes, I know the two aren't mutually exclusive) :)21:43
mwhudsoni've never understood mutt at all21:49
ibeardsleevirtualbox IS better for testing ubuntu releases :(21:54
ajmitchibeardslee: what broke?21:55
ibeardsleecan't use the unity interface in kvm21:55
ajmitchyou could try the unity-2d fallback21:56
ibeardsleeerr yeah .. that appears to be broken as well .. maybe it is the alpha status21:56
ibeardsleehmm .. now why did that work better that time?21:57

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