/srv/irclogs.ubuntu.com/2010/01/18/#ubuntu-installer.txt

CIA-6ubiquity: superm1 * r3664 ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_install.py):07:14
CIA-6ubiquity: Drop old hack for reconfiguring mythbuntu-default-settings since07:14
CIA-6ubiquity: this is fixed in user-setup now.07:14
CIA-6debian-installer: cjwatson * r1202 karmic-proposed/ (build/config/common debian/changelog): Use udebs from karmic-security, karmic-proposed, and karmic-updates.13:14
CIA-6debian-installer: cjwatson * r1203 karmic-proposed/ (10 files in 3 dirs): Move to 2.6.31-17 kernels.13:15
CIA-6debian-installer: cjwatson * r1204 karmic-proposed/ (build/config/armel/imx51.cfg debian/changelog): Move iMX51 images to 2.6.31-107 kernels.13:17
CIA-6debian-installer: cjwatson * r1205 karmic-proposed/ (build/config/armel/dove.cfg debian/changelog): Move Dove images to 2.6.31-210 kernels.13:17
CIA-6debian-installer: cjwatson * r1206 karmic-proposed/debian/changelog: fix version13:18
CIA-6debian-installer: cjwatson * r1207 karmic-proposed/debian/changelog: releasing version 20081029ubuntu70.113:19
CIA-6ubiquity: cjwatson * r3665 ubiquity/ (12 files in 6 dirs):14:41
CIA-6ubiquity: Only restart debconf-communicator when changing language, not every time14:41
CIA-6ubiquity: we switch page. This speeds up page transitions quite a bit.14:41
evhrm, perhaps target-config would've been a better place for the apparmor cache generation stuff.14:51
evdebconf-communicator> oh, nice!14:51
saispohi15:16
saispoanyone known how to bypass gpg check in preseed ?15:16
saispoi lost the d-i line :/15:17
cjwatsonsaispo: https://help.ubuntu.com/9.10/installation-guide/i386/preseed-contents.html search for "gpg"15:19
saispogood ! thanks cjwatson15:20
cjwatsonev: I asked James about the GeoIP ticket today; we've tentatively set a due date of 1st Feb, and he's going to hunt around for somebody to implement it.  Will that be time enough for you?15:29
evcjwatson: yes15:29
cjwatsongreat, thanks15:29
evand thanks for chasing it15:29
cjwatsonhmm, there's something odd about translation handling right now.  plugin pages aren't getting translated15:37
CIA-6ubiquity: evand * r3666 ubiquity/ (debian/changelog scripts/install.py):15:39
CIA-6ubiquity: * Don't try to generate an apparmor cache in oem-config.15:39
CIA-6ubiquity: * Slightly better exception printing in scripts/install.py15:39
evI'd put money on it being that the widgets for each plugin page are not added to frontend.all_widgets.  I worked around that for removing labels from the focus ring, but didn't think to do the same for translations.15:42
cjwatsonthat was my first guess but it seems not to be true15:43
cjwatsonaha15:43
cjwatsonI wonder if this is because each plugin instantiates its own gtk.Builder15:43
cjwatsonwhich means that of course self.builder.get_objects() in the frontend doesn't return plugin objects15:43
* cjwatson tries http://paste.ubuntu.com/358553/15:46
cjwatsonnot quite15:48
cjwatsonhmm, that's no good.  we do genuinely need a different builder for each plugin due to how signal connection works.15:52
cjwatsonev: actually you're right, I was confusing frontend.all_widgets with mod.all_widgets16:09
evahh16:09
CIA-6ubiquity: cjwatson * r3667 ubiquity/ (6 files in 3 dirs):16:13
CIA-6ubiquity: * GTK frontend:16:13
CIA-6ubiquity:  - Check plugin builders as well when adding widgets (setting their16:13
CIA-6ubiquity:  names, making them callable by the toplevel, etc.). This fixes16:13
CIA-6ubiquity:  translations of the language, timezone, and keyboard pages.16:13
CIA-6ubiquity: cjwatson * r3668 ubiquity/ubiquity/frontend/ (gtk_ui.py kde_ui.py): spacing16:15
CIA-6ubiquity: cjwatson * r3669 ubiquity/ (3 files in 2 dirs): Fix immediate retranslation when changing language.16:55
CIA-6ubiquity: cjwatson * r3670 ubiquity/ubiquity/frontend/kde_ui.py: spelling16:57
CIA-6ubiquity: cjwatson * r3671 ubiquity/ubiquity/frontend/kde_ui.py: show_browser died a long time ago, and I think this was a GTK thing anyway16:57
cjwatsonev: does http://paste.ubuntu.com/358609/ feel right to you?  this (a) changes regain_privileges/drop_privileges to keep a semaphore, so that if you call regain/drop within a regain/drop pair funny things don't happen (b) makes drop_all_privileges permanent so that you get an assertion if you try to call regain/drop thereafter (c) adds a context manager so that you can do 'with raised_privileges(): BLOCK'18:06
* ev looks18:07
cjwatson(c) sometimes results in greater nesting, but if we use it consistently then we avoid forgetting about putting drop_privileges in a finally: block and that sort of thing18:07
evlooks fantastic18:18
evthanks for doing that18:18
ev(and hooray for python 2.6)18:18
=== dpm is now known as dpm-afk
cjwatsonev: ok, cool.  2.5, BTW :-)19:32
everr yeah20:01
ilowe_Hi guys, I'm trying to preseed an installation on hardware raid and can't seem to find the d-i line to skip the "Do you want to enable RAID" question during the install. Any ideas?20:42
CIA-6ubiquity: cjwatson * r3672 ubiquity/ubiquity/frontend/kde_ui.py: use regain_privileges rather than writing out the same code20:59
CIA-6ubiquity: cjwatson * r3673 ubiquity/ (debian/changelog ubiquity/misc.py):21:05
CIA-6ubiquity: Add a semaphore to misc.regain_privileges and misc.drop_privileges, so21:05
CIA-6ubiquity: that a drop/regain pair always returns to the previous state.21:05
CIA-6ubiquity: misc.drop_all_privileges is now more clearly one-way, enforced by an21:05
CIA-6ubiquity: assertion.21:05
superm1cjwatson, is there a reason that /usr/share/apt-setup/release-files/archive.ubuntu.com contains tons of files from older releases on current media?21:08
CIA-6ubiquity: cjwatson * r3674 ubiquity/ubiquity/ (debconfcommunicator.py i18n.py): factor out unnecessary subprocess_setup functions that just call misc.regain_privileges21:08
cjwatsonsuperm1: we could probably ditch those21:16
cjwatsonev: oh yeah, you had to use the with_statement pragma in 2.5, hmm21:33
CIA-6apt-setup: cjwatson * r180 ubuntu/ (61 files in 23 dirs): Remove Release files for old releases.21:34
evah, whoops.  Are you already working on that or shall I add the from future imports?21:36
cjwatsonwe could just require 2.621:43
cjwatsonI don't particularly mind that21:43
evI'm fine with that as well21:43
cjwatsonI found a neater way to do some of this too21:44
cjwatson@raise_privileges21:44
cjwatsondef func(...):21:44
cjwatson    ...21:44
cjwatsondoes mean you have to carefully distinguish between raised_privileges (context manager) and raise_privileges (decorator); I did find a way to make the same spelling work for both, but the cure was worse than the disease21:45
evheh, very cool though21:48
evI'm a big fan of decorators21:48
evI use one for threads_enter/_leave in usb-creator21:48
cjwatson(cure worse than the disease: it required a class with def __init__(func=None).  I'm OK with default arguments but I don't like the effect of passing a defaulted argument being to make the class be a completely different category of thing)21:50
evyeah, yikes21:50
CIA-6ubiquity: evand * r3675 ubiquity/ (debian/changelog ubiquity/frontend/gtk_ui.py):21:57
CIA-6ubiquity: GNOME Bug #56070 (can't click button twice) has long since been21:57
CIA-6ubiquity: closed. Remove hack.21:57
ubottuGnome bug 56070 in gtk "Can't click button after setting it sensitive." [Major,Resolved: fixed] http://bugzilla.gnome.org/show_bug.cgi?id=5607021:57
evcjwatson: is there a particular reason why UTF characters, specifically an ellipsis, are not used in debconf description fields?  Digging through my ~/bzr doesn't find any, and my google-fu is failing to find a reason.  I can understand why we didn't do it historically, but what doesn't have proper unicode support these days?22:59
evs/UTF/unicode/22:59

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