/srv/irclogs.ubuntu.com/2012/06/20/#ubuntu-installer.txt

CIA-12ubiquity: themuso * r5511 trunk/ (bin/ubiquity-dm debian/changelog ubiquity/frontend/gtk_ui.py):06:13
CIA-12ubiquity: * Show the a11y profile indicator in oem-config as well as in06:13
CIA-12ubiquity:  maybe-ubiquity mode.06:13
CIA-12ubiquity: * bin/ubiquity-dm: Load at-spi for both OEM config and ubiquity.06:13
CIA-12ubiquity: cjwatson * r5512 trunk/debian/ (changelog tests/control):08:04
CIA-12ubiquity: debian/tests/control: Depend on python3-mock rather than python-mock08:04
CIA-12ubiquity: (LP: #1015400).08:04
CIA-12ubiquity: cjwatson * r5513 trunk/debian/real-po/ (76 files): debconf-updatepo08:05
CIA-12apt-setup: cjwatson * r239 ubuntu/ (debian/changelog generators/01setup): Convert multiarch setup to new world order as of dpkg >= 1.16.2.08:28
CIA-12apt-setup: cjwatson * r240 ubuntu/debian/changelog: releasing version 1:0.56ubuntu208:33
CIA-12ubiquity: cjwatson * r5514 trunk/ (d-i/manifest debian/changelog):08:37
CIA-12ubiquity: Automatic update of included source packages: apt-setup 1:0.56ubuntu2,08:37
CIA-12ubiquity: partconf 1.38, partman-basicmethods 50, partman-jfs 36, partman-newworld08:37
CIA-12ubiquity: 27, partman-reiserfs 53, partman-xfs 50.08:37
CIA-12ubiquity: cjwatson * r5515 trunk/debian/changelog: releasing version 2.11.608:45
CIA-12ubiquity: cjwatson * r5516 trunk/bin/ubiquity-bluetooth-agent: PEP-8 import ordering.08:50
CIA-12ubiquity: cjwatson * r5517 trunk/bin/ubiquity-bluetooth-agent: Remove duplicate import.08:52
CIA-12ubiquity: cjwatson * r5518 trunk/ (bin/ubiquity-dm debian/changelog ubiquity/frontend/gtk_ui.py): Remove hardcoded paths to xfsettingsd and various accessibility tools.08:54
xnoxdoes anyone know which package/script generates the /etc/apt/sources.list on the desktop live CD's ?09:43
xnoxhttp://askubuntu.com/questions/140940/why-do-i-receive-the-duplicate-sources-error-message-during-an-ubuntu-12-04-li09:45
xnoxapt-get update in livecd gives errors09:46
cjwatsonapt-setup09:48
cjwatsonOh live CDs09:48
cjwatsonEr, I think it's live-build09:48
cjwatsonBut that bit is actually the fault of apt-cdrom called by casper at boot time09:49
cjwatsonI thought I remembered filing a bug about that not dealing with multiarch very gracefully09:49
cjwatsonNot sure I see it though09:50
xnoxcjwatson: ok, thanks. I'm seeing this with precise and quantal cd's. Are you going to find/file the bug about it? Or should I do something, such that we don't loose it again?10:27
cjwatsonCould you file it on apt?10:27
xnoxcjwatson: ok I will.10:27
cjwatsonThanks10:27
xnoxcjwatson: bug #101549510:44
ubot2Launchpad bug 1015495 in apt "“duplicate sources” error message during an Ubuntu Live CD session" [Medium,Confirmed] https://launchpad.net/bugs/101549510:44
CIA-12ubiquity: cjwatson * r5519 trunk/ (debian/changelog ubiquity/plugins/ubi-usersetup.py):11:47
CIA-12ubiquity: Fix bogus attribute access in usersetup plugin leading to crashes with11:47
CIA-12ubiquity: the KDE frontend (LP: #1008255)11:47
=== skaet_ is now known as skaet
xnoxev: cjwatson: so how would I go about unit-testing ubi-partman.py's run function?16:12
xnoxand the options / extra_options?16:12
xnoxwhat should / shouldn't be unit tested....16:13
cjwatsonSo, a few things16:13
xnoxor is it for me to find out.16:13
* xnox is listening =)16:13
cjwatsonFirstly, it is interesting to test that ubiquity's idea of the state machine matches partman's; but we don't have any tests that do that kind of thing yet, and that would probably involve at the very least a mock parted_server so is I think quite a lot of work16:14
cjwatsonThere might be things you can improve without having to go that far16:14
cjwatsonFor instance, you could have a mock debconf instance that it talks to, and feed in carefully selected sequences of commands16:15
cjwatsonOr you could split up the giant run method into pieces (which might be a good idea anyway) and see if there are sections you can unit-test separately from that16:15
cjwatsonYou could reasonably set up some state and test single iterations of run16:16
cjwatsonThat kind of thing16:16
cjwatsonI would say, don't let yourself get blocked on doing a complete job; anything's an improvement and will leave something to build on later16:16
cjwatsonBecause a complete job is a heroic amount of work here16:16
xnoxok. So i was thinking to take dialogs from real possible scenarios, and tweak them, to see how ubiquity reacts to them. but that's kind of integration testing, not unit-testing.16:17
xnoxok I understand you point.16:17
cjwatsonYah16:17
xnoxI first need to learn into that function more to see how it can be split up.16:17
cjwatsonOne method per question, I'd say16:18
cjwatsonAnd maybe split up partman/choose_partition further than that since it has all the cache-building stuff16:18
cjwatsonAnd a dispatch table to pick which method to invoke16:18
cjwatsonThat alone would be a pretty good improvement16:19
cjwatsonIt has accreted over the years16:19
xnoxok.16:23
xnoxi'll try working on that.16:23
xnoxmy worry is that lvm recipe doesn't support some case (there is todo about it, not sure if it's fixed) with respect to use remaining free space or keep some space unused or something like that16:23
xnoxand i really don't want ubiquity to think that a certain recipe will work, when in actual fact partman will do something different16:24
xnoxcjwatson: if I am adding translations to ubiquity via templates and the translation unit test passes, I'm all good w.r.t. merging translations from launchpad?16:25
cjwatsoneh, not sure how useful that test is16:27
xnoxok.16:27
cjwatsonI use http://paste.ubuntu.com/1051160/ (rosetta-merge) and http://paste.ubuntu.com/1051161/ (rosetta-merge-all)16:27
xnoxok. thanks.16:27
cjwatsonI think with '(cd debian/po && rosetta-merge-all --apply --prefix ubiquity-debconf /path/to/export)' and stuff like that16:28
cjwatsonit's a giant hack but I've had it for eight years and am reluctant to fix what isn't broken :-)16:28
xnoxcjwatson: are these scripts committed somewhere in e.g. ubiquity or somewhere more generic?16:28
cjwatson'fraid not16:29
xnoxor they are on your external harddrive only? =)16:29
cjwatsonoh I have more than one copy :-P16:29
cjwatsonmostly they're for dealing with the case of doing partial updates of d-i translations16:29
* stgraber also uses a copy of these for edubuntu-live ;)16:29
xnoxyes, but we do not have more than one copy of *you* =)16:29
cjwatsonwhere I only want to update translations of the Ubuntu-specific strings16:29
cjwatsonyeah, I've passed them around before, as you can tell ...16:29
cjwatsonnothing I could find was very good at doing that sort of partial update, and it took me some time to find the right invocations16:30
xnoxcjwatson: are you planting a copy-right lawsuit over all translations for your retirement or something ? =)16:30
cjwatsonI suspect for ubiquity a fairly simple pile of msgmerge calls would give much the same result16:30
xnoxok16:30
cjwatsonbut, well, I just use what I know to work :)16:30
CarlFKwget -N http://archive.ubuntu.com/ubuntu/dists/quantal/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux and initrd, pxe boot with append initrd=ubuntu/quantal/amd64/initrd.gz ... url=g2a17:43
CarlFKserver log: 192.168.1.252 - - [20/Jun/2012:12:16:26 -0500] "GET /d-i/precise/./preseed.cfg17:43
CarlFK"precise:" string is still in quantal17:44
CarlFKcarl@g2a:/var/lib/tftpboot/ubuntu/quantal/amd64$ zgrep precise initrd.gz ; Binary file (standard input) matches17:47
CarlFKI'll bug this if someone spoon feeds me a package name17:48
xnoxCarlFK: filing a bug against debian-installer package in ubuntu will get attention of the right people.17:49
xnoxs/ will / should /17:49
CarlFKthanks17:50
bdmurraycjwatson: https://code.launchpad.net/~brian-murray/ubuntu/quantal/grub2/apport-hook-changes/+merge/107426 I updated that a bit ago17:51
CarlFKhttps://bugs.launchpad.net/ubuntu/+bug/101572717:59
ubot2Ubuntu bug 1015727 in ubuntu ""precise:" string is still in quantal" [Undecided,New]17:59
xnoxCarlFK: cooleao, thanks17:59
CIA-12preseed: cjwatson * r944 ubuntu/ (33 files in 3 dirs): merge from Debian 1.5118:31
CIA-12preseed: cjwatson * r945 ubuntu/debian/ (changelog network-preseed.templates):18:31
CIA-12preseed: Change default preseed root to "d-i/quantal/./preseed.cfg"18:31
CIA-12preseed: (LP: #1015727).18:31
CIA-12preseed: cjwatson * r946 ubuntu/debian/changelog: releasing version 1.51ubuntu118:33
CIA-12debian-installer: cjwatson * r1709 ubuntu/ (7 files in 3 dirs): Move to 3.5.0-1 kernels.21:33
CIA-12debian-installer: cjwatson * r1710 ubuntu/debian/changelog: releasing version 20101020ubuntu14921:34
* infinity looks at the diff for that commit and wonder if the KERNELVERSION in armhf/highbank.cfg might be pointless.21:40
infinityShouldn't it inherit from armhf.cfg?21:40
infinityCertainly seems like it should.21:42
CIA-12debian-installer: adconrad * r1711 ubuntu/ (build/config/armel/highbank.cfg debian/changelog):21:56
CIA-12debian-installer: Make highbank.cfg more closely match omap.cfg, and remove21:56
CIA-12debian-installer: the redundant KERNELVERSION that's inherited from arm*.cfg21:56
cjwatsonYou'd'a thunk, yes.22:01
infinitycjwatson: Oh, speaking of.  -highbank is in precise-updates now.  It might be high time to backport highbank d-i bits to precise and try a build in -proposed.22:06
infinityThough, they may still need to get their flash-kernel ducks in a row too.22:06
cjwatsonSomebody who knows about ARM should feel free ;-)22:07
infinityYeah, I might do so later.  Do we have a precise-proposed d-i branch yet?22:07
infinityI also should backport the armadaxp "fix the archive layout" fix.22:07
cjwatsonNot one I've created.22:08
infinityKay.  I'll create the branch later too, if one doesn't appear before I care.22:08

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