/srv/irclogs.ubuntu.com/2010/12/20/#ubuntu-motu.txt

=== nixternal_ is now known as nixternal
=== apachelogger is now known as fdsafdsafdsafdsa
=== fdsafdsafdsafdsa is now known as darthlulu
=== darthlulu is now known as apachelogger
kaushalhi05:27
kaushalwhen would Openoffice 3.3 will be ported to 10.10 ?05:28
RAOFTo 10.10?  I'd guess it won't be; it's pretty big and serious.05:36
micahgkaushal: there's a PPA for backports, https://launchpad.net/~openoffice-pkgs/+archive/ppa, no guarantee on when05:37
RAOFOnce it (or LibreOffice) is in Natty it might get backported.05:37
micahgor if for that matter05:37
kaushalok05:40
kunalhello07:31
=== jussi01_ is now known as jussi
udienzbug 69245708:40
ubottuLaunchpad bug 692457 in bash (Ubuntu) "Please merge bash 4.1-3 (main) from Debian unstable (main)" [Undecided,New] https://launchpad.net/bugs/69245708:40
geserudienz: why bumping the Standards-Version?09:12
udienzgeser: as far as i know, debian-policy is 3.9.109:14
Rhondaudienz: Yes, but it's an unneeded change09:14
RhondaKeeping diffs to a minimum helps future merges09:14
RhondaWhat does "enhached" mean?09:15
udienzRhonda: but someone ask me to write it at changelog09:15
udienzRhonda: i mean enhanced09:16
geserudienz: we usually don't bump the Standads-Version as it's a "useless" change (it gives us no benefit, only a larger delta)09:16
Rhondaudienz: If you change something, of course it has to be written in the changelog. But the thing is, you didn't need to bump the standards-version in the first place.09:16
RhondaThere is no need at all to change the Standards-Version in a package coming from Debian.09:17
udienzgeser, Rhonda: okay i change it now09:19
* Rhonda . o O ( it's interesting that a package maintained by a canonical person within Debian would actually need a merge instead of a simple sync … )09:19
udienz:)09:20
=== bigon__ is now known as bigon
bdrungtumbleweed: will we loose python 2.5 compatibility with the u-d-t change?11:02
tumbleweedbdrung: no, dh_python2 arrived during default python = 2.6, supported pythons = 2.5 + 2.6 in debian11:03
bdrungtumbleweed: where can i read more about dh_python2?11:04
tumbleweedPOX's brain / the source code. It has a basic manpage too11:05
tumbleweedI guess the best palce to read about it is the debian-python list archive11:06
bdrungtumbleweed: isn't there a policy document describing what you have to write into d/control, etc.?11:06
tumbleweedyes, in the python package. IIRC it has some cobwebs, though.11:07
tumbleweedit still says you should have XB-Python-Version, which has been deprecated11:08
bdrungtumbleweed: debian has python-all (2.6.6-3+squeeze4) in unstable11:09
tumbleweedwhoops, 2.6.5-1311:10
bdrungtumbleweed: should we use ${python:Versions}?11:12
bdrungtumbleweed: can we use setup.py for creating symlinks and installing the bash completion to get rid of d/links d/*.install d/*.examples?11:13
tumbleweedbdrung: re python:Versions (XB-P-V) the deperecation is discussed here: http://lists.debian.org/debian-release/2010/06/msg00211.html11:15
tumbleweedre setup.py: yes, should be able to11:15
tumbleweedalthough I'd say it's arguably more correct to install manpages, bash_completion, and examples via debhelper helpers11:16
udienzHi, i want to ask about patch. Upstream have a patch, but a patch not yet apllied at debian. can i submit a patch to ubuntu?11:25
tumbleweedif there's a good reason for ubuntu to have this patch. If we can wait for it to filter down, why not wait.11:26
geserudienz: yes11:26
udienzok thanks11:27
geserudienz: and document it properly in the debian/changelog. it will make is easier during merging later to decide that we can drop the patch (when it got included in the new upstream release or Debian package revision)11:27
tumbleweedwhile we are on that topic, if the package has a patch system, please put headers on the patch http://dep.debian.net/deps/dep3/ so people can see where it came from11:28
udienztumbleweed: linke this? http://launchpadlibrarian.net/60875721/fix-one_addr.patch11:31
udienz*like11:31
tumbleweedudienz: that's not quite compliant ("Bug URL"), but it's better than nothing. One really wants to know if the patch came from upstream or debian, and if its been applied upstream.11:33
tumbleweederr, "upstream or ubuntu"11:33
udienztumbleweed: hm.. so a patch become like this? http://paste.ubuntu.com/545918/11:45
tumbleweedudienz: yes, that's the way to make the next person to touch that package love you11:48
udienztumbleweed: :) thanks, i'm working at nginx for lucid now11:48
udienzrr... lucid-proposed11:49
TeTeThi, there's a potential buffer overflow in opensc in universe. I took the upstream patches and applied them to Ubuntu Lucid, Maverick and Natty, see bug 692483 for details. What is the next step? Asking for sponsorship?12:57
ubottuLaunchpad bug 692483 in opensc (Ubuntu) "Buffer overflow" [Undecided,New] https://launchpad.net/bugs/69248312:57
BachstelzeTeTeT: subscribe ubuntu-sponsor13:00
geserTeTeT: yes, you might also try to talk someone from the security team (and read the wiki page about SRUs)13:01
tumbleweedbdrung: re dh_python2, before I forget. POX gave a talk at debconf on it, and those slides are probably the best current documentation.13:02
TeTeTgeser: isn't an SRU only for main?13:02
Laneyno13:02
TeTeTthanks13:02
gesermdeslaur: would bug 692483 qualify for a -security upload?13:22
ubottuLaunchpad bug 692483 in opensc (Ubuntu) "Buffer overflow" [Undecided,New] https://launchpad.net/bugs/69248313:22
bdrungtumbleweed: do you have a link to those slides?13:23
mdeslaurgeser: sure13:24
mdeslaurgeser: follow the procedures here: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures13:24
geserTeTeT: ^^13:24
tumbleweedbdrung: http://penta.debconf.org/dc10_schedule/events/570.en.html13:25
tumbleweed(predates X-P-V, though)13:25
TeTeTgeser, mdeslaur: thanks13:27
TeTeTjust discovered another problem on Natty, opensc doesn't build anymore, complains about a missing symbol13:28
tumbleweedTeTeT: that's listed here: http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi13:29
tumbleweedfixes obviously welcome :)13:30
=== RainCT_ is now known as RainCT
=== RainCT is now known as C
=== C is now known as RainCT
bdrungtumbleweed: is it a final decision to move to X-P-V?14:16
tumbleweedyes, python3 is only supported via X-P3-V. And that decision actually did make it into the python-policy14:18
bdrungtumbleweed: merged14:21
TeTeTtumbleweed: I fixed the build failure, hopefully the correct way and filed it as a patch to newly submitted bug 69257114:22
ubottuLaunchpad bug 692571 in opensc (Ubuntu) "FTBFS natty " [Undecided,New] https://launchpad.net/bugs/69257114:22
tumbleweedbdrung: thanks14:22
tumbleweedTeTeT: seems reasonable, please forward it to the upstream14:25
TeTeTtumbleweed: is debian concered about a ftbfs for Ubuntu?14:26
TeTeTconcerned14:26
tumbleweedTeTeT: the patch headers contain boilerplate, and when you are ready, subscribe ubuntu-sponsors14:26
tumbleweedthey will be concered about these failures, as their are the result of linker changes that Debian will make as well, after squeeze has released14:27
TeTeTok14:27
tumbleweedTeTeT: http://wiki.debian.org/ToolChain/DSOLinking14:28
=== Quintasan_ is now known as Quintasan
tumbleweedTeTeT: oh, also: please close the bug in the changelog entry, and your debdiff contains leaked testing version-number14:34
TeTeTtumbleweed: what does 'leaked testing version-number' mean?14:38
tumbleweed~tetet in the version number14:39
TeTeTtumbleweed: so the debiff should just be version 0.11.13-1ubuntu3?14:40
tumbleweedyes, otherwise the sponsor has to manually edit it14:40
TeTeTtumbleweed: I think I'm ready, thanks for your pointers, way faster to fix it this way than via bug mail14:45
tumbleweednp. We try to encourage mentorship in public, where it can benefit lurkers (and you are less likely to get bad advice). But once it hits the sponsorship queue, discussion tends to happen on the bug where other sponsors are sure to see it.14:47
tumbleweedTeTeT: W: opensc: debian-changelog-line-too-long line 114:56
tumbleweedalso please link the lp bug to any debian / upstraem bug you file, otherwise, you'll probably be asked if you've forwarded it or not.14:57
TeTeTtumbleweed: I've not filed a debian bug, just sent an email to eric dorland directly, taking his email from the changelog14:59
tumbleweedTeTeT: cool, in that case it's great if you can note that in the bug15:00
TeTeTtumbleweed: fixed the too long line, thanks, will add a note on the email15:04
TeTeTtumbleweed: thanks again for your help, now back to my original task on the buffer overflow fix :)15:05
tumbleweedyeah, sorry, we should have rolled them into one. I only started paying attention at the FTBFS stage15:05
tumbleweedTeTeT: so, all three of your patches contain two changelog entries. The stable release patches should be targeted at the -security pocket, and be versioned according to https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Packaging15:10
TeTeTtumbleweed: the two changelog entries come from two calls of edit-patch. Found this cleaner than mixing the buffer overflow fix with the helper macro. I guess it's safe to combine them in one changelog?15:13
tumbleweedyes, one changelog entry for each upload15:17
=== JanC_ is now known as JanC
TeTeTtumbleweed: I'm not sure about the version number in Maverick. It would be the same as the updated one in Natty. So according to the wiki page of versioning, should it be: 0.11.13-1ubuntu3.10.10.1 ?15:41
tumbleweedTeTeT: we already have a ubuntu3 in natty (we just uploaded it) so you can use ubuntu2.1 for maverick15:42
tumbleweednormally if natty had the version (say 1.2-1) as maverick, we'd uplead 1.2-1ubuntu1 to natty and 1.2-1ubuntu0.1 to maverick15:44
tumbleweedif maverick had the same version as lucid, ubuntu0.10.04.1 to lucid and ubuntu0.10.10.1 to maverick15:45
TeTeTok15:48
TeTeTupdated the debdiff for maverick and lucid on bug 69248315:49
ubottuLaunchpad bug 692483 in opensc (Ubuntu) "Buffer overflow" [Undecided,New] https://launchpad.net/bugs/69248315:49
TeTeTI'm waiting for the updated package to appear in Natty and will base another debdiff on that next15:49
tumbleweedTeTeT: look good (although https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation also recommends a changelog format). I'm not a security-team member, so I can't really comment more than that.15:57
bdrungtumbleweed: can you update your config-681693 branch?16:18
bdrungtumbleweed: you can't change the license of common.py without asking the previous authors.16:19
tumbleweedbdrung: I checked, I can.16:19
tumbleweedthe previous copyright statement refers to code that got moved elsewhere16:19
bdrungtumbleweed: and the remaining code is from you?16:20
bdrungtumbleweed: i don't think that command line checking should be done in get_value16:21
tumbleweedexcepting the negligable bit of code remaining there. I can ask jpds if he's ok with relicensing it, but it's debatably too small to be copyrightable (depending on your jurusdiction, I guess)16:22
tumbleweedbdrung: it simplifies the API (and is the same approach that devscripts uses), but it could be handled by a module-wide variable16:23
tumbleweeds/wide/level16:23
bdrungtumbleweed: what do you think about a config object instead of function?16:24
tumbleweedI don't see it buying us that much, this isn't really an OOish problem, unless we subclass OptionParser16:26
tumbleweedbdrung: branch updated.16:30
tumbleweedbdrung: another question is whether it's ok to use get_value() for OptionParser's default parameter, because that affects --help16:32
bdrungtumbleweed: that will generate a cyclic dependency if we allow --no-conf16:36
tumbleweedbdrung: sorry, not too sure what you are saying16:38
bdrungtumbleweed: i think that we should parse --no-conf with OptionParser16:40
tumbleweedok, coming up soon.16:41
ScottKtumbleweed: The notion of "too small to copyright" is a myth.16:45
tumbleweedScottK: I know that's certainly the case in ZA.16:46
tumbleweed(a myth, that is)16:46
micahgMTecknology: once nginx is sync'd, future versions will come in automatically until Debian Import Freeze, so unless you think 0.8.53-2 is broke, it can be sync'd16:46
tumbleweedbtw, that code can almost certainly be removed, it's a workaround for a fixed bug in python.16:46
MTecknologymicahg: oh.. i had it in my head we already passed that point16:46
micahgMTecknology: Dec 3016:47
MTecknologyalrighty, thanks   0.8.54-1 is going have to be reviewed after kartik uploads it tomorrow, but it should be ready pretty soon.16:48
MTecknologyoh crap... I wanted to get lal in- but i guess i'll need to get it done before 11.1016:49
bdrungtumbleweed: only requestsync uses the code. maybe we should move it into requestsync and get rid of common.py completely17:06
tumbleweedbdrung: removing it doesn't seem to break requestsync, when using https_proxy17:12
tumbleweedand bug 94130 is fixed17:13
ubottuLaunchpad bug 94130 in apport (Ubuntu) "HTTPS over proxy fails" [Undecided,Triaged] https://launchpad.net/bugs/9413017:13
bdrungtumbleweed: so we can drop it17:18
tumbleweedpretty sure. The reason I put that memoize thing there is that I remembered lots of manual memoization elsewhere in u-d-t, but I haven't done anything about that yet.17:19
=== Lutin is now known as Guest43017
bdrungtumbleweed: what does memoize_noargs do?19:14
tumbleweedbdrung: caches the value of a fuction after the first run19:16
tumbleweeda generic memoization decorator would be a little more complex19:16
bdrungtumbleweed: can't we create a object that runs this function on __init__?19:17
tumbleweedyeah, can do19:17
=== yofel_ is now known as yofel
highvoltageI'm still getting the hang of quilt patches, what am I doing wrong here?19:41
highvoltagehttp://paste.ubuntu.com/546070/19:41
ebroderhighvoltage: You need to add the file before you modify it19:41
ebroderBecause when you add it, quilt snapshots the old state of the file, and that's what it diffs against19:41
highvoltageebroder: ok. I'm not modifying, just adding.19:43
highvoltage(and not quite sure what you meant)19:44
highvoltageah, I think I do now19:44
ebroderhighvoltage: Creating a file is a sort of modification of it19:44
highvoltageI just got that, thanks :)19:45
bdrungtumbleweed: isn't the test run automatically?20:19
tumbleweedbdrung: no, setup.py test isn't supported by Debhelper's python_distutils yet20:23
bdrungtumbleweed: why? autotool tests are run if they exit.20:24
ebroderbdrung: Because there's no way to detect if setup.py supports a test argument20:24
bdrungis there a bug report requesting support?20:24
ebroderbdrung: No way at present, at least20:24
tumbleweedprobably because it's new feature in distribute, and many many pcakages don't use it (yet?)20:24
tumbleweedbdrung: r874 btw. I'm about to start bolting it into other scripts20:26
bdrungtumbleweed: please let me review it before you gonna spread it everywhere20:30
=== ximion1 is now known as ximion
tumbleweeddoing so :)20:30
bdrungtumbleweed: reviewing small changes is easier than reviewing big changes20:31
tumbleweedyeah, unfortunatley there was some heavy lifting there20:31
ari-tczewScottK: what's the next step of backport procedure?20:32
ScottKari-tczew: Needs time for an archive admin to look at it in New.  Let me see where it is.20:36
ScottKari-tczew: I accepted the source.  It'll build now and then hit binary New again.20:37
ari-tczewScottK: thanks!20:38
ScottKYou're welcome.20:38
=== ximion is now known as ximion1
bdrungtumbleweed: i think you should select one of '--no-conf', '--noconf'20:41
bdrunghaving both is inconsistent20:41
tumbleweedok, we don't need to carry other people's warts20:42
tumbleweedbdrung: pushed r87720:46
bdrungtumbleweed: d/rules: the for loop should be indented one tab less20:46
bdrungtumbleweed: and you could pull override_dh_auto_test: into the ifeq block20:47
tumbleweedok. I suppose so.20:48
tumbleweedbdrung: r87920:50
bdrungtumbleweed: and the indentation?20:51
tumbleweedr87820:51
bdrungaha, you pushed two revisions ;)20:52
bdrungtumbleweed: why do we need debian/clean?20:54
tumbleweeddistribute (setuptools) likes writing files in .egg-info20:55
bdrungtumbleweed: and dh_python2 doesn't clean that up?20:55
tumbleweedit's not dh_python2's job. If anything it's the python_distutils buildsystem's job20:56
bdrungtumbleweed: can it cleaned by setup.py?20:56
tumbleweedI suppose so, never seen anyone do that, hough20:57
bdrungtumbleweed: i prefer having that in setup.py instead of the packaging part20:57
bdrungtumbleweed: doc/ubuntu-dev-tools.5 -> as the \fIfirst\fR command\-line20:59
tumbleweedbdrung: I removed that, if we are using optparse to parse them, we don't have that restriction21:00
ebrodertumbleweed: Is parse_devscripts_config just stripping quotes?21:02
tumbleweedebroder: yes, do we really want to match bash variable assignment syntax exactly?21:03
ebrodertumbleweed: I wonder if you want to use ' '.join(shlex.split(m.group(2)) or something21:04
ebroderOtherwise you'll get caught by screw cases like "foo"'bar' or whatever21:04
tumbleweedebroder: seesm reasonable21:05
ebrodertumbleweed: And why use a regex instead of something like .split('=')?21:06
tumbleweedalthough the ' '.join() bit is dodgy, because foo=bar baz is interpreted as running baz (in sh)21:06
ebrodertumbleweed: Hmm, good point21:06
tumbleweedbut we currently have that problem21:06
ebrodertumbleweed: On the terrible ideas front, you could parse the output of `bash -c '. /etc/devscripts.conf; . ~/.devscripts; set'` :)21:07
tumbleweedeek :) no, shlex is exactly what I need, thank21:07
tumbleweedebroder: the re saves on having to detect comments, and strip everywhere21:08
bdrungtumbleweed: backportpackage.1: it's not clear with env of BACKPORTPACKAGE_BUILDER and UBUNTUTOOLS_BUILDER is preferred if both are provided21:09
ebrodertumbleweed: I feel like ubu_email is way too automagical. I can set DEBEMAIL='Evan Broder <evan@ebroder.net>', but it'll only parse an e-mail address out of that?21:11
ebroderDo people do that? And expect that behavior?21:12
tumbleweedebroder: see the linked bug for it, somebody did expect that, yes21:12
ebroderIf I set DEBEMAIL to that, I'd be expecting it to guess both a name and an e-mail address, not only one21:12
tumbleweedso what if you've set DEBFULLNAME too?21:13
ebroderThen I'm setting myself up for broken behavior of some sort21:13
tumbleweedhehe. Actually that behavior matches devscripts21:14
ebroderI'm less concerned with what happens if I set both variables, because clearly something screwy will happen in that case. But only setting one in that form seems more likely21:14
* ScottK routinely only has DEBEMAIL set with just the email address.21:14
ScottKSince the system name on my account is correct, it just uses that in devscripts21:15
tumbleweedhmm, I didn't test fully enough, it doesn't quite match devscripts. DEBFULLNAME="Name <a@name.org>" DEBEMAIL="Email <b@email.com>" dch => Name <a@name.org> <b@email.com>21:16
ebrodertumbleweed: Like I said, it's clear what you do if you set DEBFULLNAME="Name" and DEBEMAIL="b@email.com". And (I think) it's clear what you should do if you set DEBEMAIL="Name <b@email.com>". I think those are the only specs that matter21:18
ebroderIf something screwy happens in any cases other than those, I think it's the user's fault, and not our problem to work around21:18
bdrungtumbleweed: we should have testcases for the two use cases mentioned above21:19
tumbleweedOK, and both specs for UBUEMAIL21:19
ScottKebroder: I think DEBEMAIL set to an email address and DEBFULLNAME is a common use case and should be supported.21:20
ScottK... DEBFULLNAME not set ...21:20
tumbleweedScottK: already handling that fine21:20
tumbleweed(although I suppose this discussion is about handling too much)21:21
ebroderScottK: Err, yeah. And any combination of other variables. What I'm saying I *don't* think we should have any sort of support for is setting multiple variables to Foo <bar@baz.com>. One of the variables should just win in that case21:21
ScottKOK21:21
bdrungtumbleweed: i don't think that we should always have UBUNTUTOOLS_*, because some values could be script specific21:22
tumbleweedbdrung: yes, I was assuming I'd get there, but hadn't hit any scripts needing that yet21:23
bdrungtumbleweed: get_value(self, key, default=None, foobar=True, compat_keys=[]):21:24
bdrungtumbleweed: and a good name for foobar21:24
tumbleweedpackage_wide21:24
tumbleweedanother option is to have a list of blessed package-wide variables21:25
bdrungtumbleweed: that's better21:25
bdrungtumbleweed: add this testcase: PREFIX_KEY in config file should win against UBUNTUTOOLS_KEY in the environment21:26
* tumbleweed now has a reasonable todo list again :)21:27
bdrungtumbleweed: "def getBuilder(builder='pbuilder'):" -> "def getBuilder(builder):"21:28
bdrungtumbleweed: we don't want to set the default in two places21:28
tumbleweedok, it can pull it out of defaults.21:29
bdrungyes21:29
bdrungtumbleweed: test_any_environment_precedence is wrong21:39
bdrungPREFIX_KEY should always win against UBUNTUTOOLS_KEY21:40
tumbleweedmy reasoning for that was for variables like BUILDER, but I suppose we are deprecating those (and not documenting them any more)21:41
bdrungdid we had BUILDER?21:42
tumbleweedhmm, why did I think we did21:43
tumbleweedebroder: r883, toned down ubu_email magic21:57
bdrungtumbleweed: please let me know once you processed your toto21:58
tumbleweedwill do21:58
ebrodertumbleweed: Where are the name and email args to ubu_email supposed to come from? Comamnd-line args?21:58
bdrungs/toto/todo list and have the branch updated for the next cycle of review/21:58
tumbleweedebroder: yes, i.e. ack-sync21:59
* ebroder nods21:59
tumbleweedbdrung: is it plausible that if something appears in defaults it's package-wide?22:00
bdrungtumbleweed: yes22:01
tumbleweedyeah, I think we want defaults for all package-wide variables, and other defaults belong in thier scripts anyway22:01
ebrodertumbleweed: I still think it's weird that you ignore components of A <b@c> style variable values. Let me try to sketch up what I think it should do...22:01
tumbleweedebroder: e.g. UBUEMAIL=joe@ubuntu.com DEBEMAIL="Joe <joe@debian.org>"22:02
ebroderNo, I'm thinking of if just DEBEMAIL="Joe <joe@debian.org>" is set. You'll extrapolate an e-mail address out of that, but drop the name22:03
ebrodertumbleweed: I would do something like http://pastebin.com/9vmdthFT for that inner loop22:03
ebroderThat will have slightly screwy behavior if you do something like UBUEMAIL=joe@ubuntu.com DEBEMAIL="Joe <joe@debian.org>", but I think you're setting yourself up for that if you set your variables up that screwily22:04
tumbleweedebroder: with your loop, DEBEMAIL overwrites UBUEMAIL22:04
ebroder(That being said, I think it'll still do what I would consider to be the "right" thing - take the e-mail from UBUEMAIL and the name from DEBEMAIL)22:04
ebroderNo, it would only overwrites the name component22:04
ebroderOh, hmm. One moment to make a slight tweak22:05
=== ximion1 is now known as ximion
tumbleweedalso, you can't write to locals, but I know what you mean :)22:05
ebrodertumbleweed: http://pastebin.com/G1ChmX7Y22:05
ebrodertumbleweed: You can totally write to locals22:06
ebroderhttp://pastebin.com/srVSBq8J22:06
ebroder(It's terrifying that you can do so, and I don't really encourage it, but it can be done)22:06
tumbleweedsorry, what I meant is, writing to locals won't affect the same variable outside th eloop, IIRC22:07
ebrodertumbleweed: I don't see why it wouldn't. Python doesn't have a concept of scope at any finer granularity than the function level22:07
tumbleweedI'm pretty sure I tried it22:08
tumbleweedoh, and "Note The contents of this dictionary should not be modified; changes may not affect the values of local and free variables used by the interpreter"22:08
ebroderMaybe just store the values you want to return in a dict and manipulate that, then?22:09
tumbleweedor spend an extra three lines of code :)22:09
ebroderOr that22:09
tumbleweedebroder: r885 has your version22:18
ebrodertumbleweed: Thanks. I like that logic much better22:20
ebrodertumbleweed: Do we care about backporting u-d-t to Python 2.4? If not, can you use the named fields for pwd.getpwuid?22:21
ebroder(e.g. pwd.getpwuid(os.getuid()).pw_name)22:22
tumbleweedwe declare ourselves as >= 2.6, so sure22:22
bdrungtumbleweed: >= 2.522:22
ebroderI find those much more informative than [0], etc.22:22
tumbleweederr, that, yes22:22
tumbleweedbdrung: r888 meets everything we've been discussing, short of changes to setup.py22:31
ScottKLast LTS has 2.6, so you may as well got 2.6+ if it's convenient.22:31
ScottKgot/go22:31
tumbleweedyeah, no real need to yet22:32
bdrungtumbleweed: my proposal was "def getBuilder(builder):"22:34
bdrungtumbleweed: the caller will have already pulled the config value if not passed via command line22:34
tumbleweedok22:35
tumbleweedbdrung: clean is acknowledged as a bug in distribute https://bitbucket.org/tarek/distribute/issue/122/setuppy-clean-should-delete-sourcestxt22:39
akoskmhi!22:48
akoskmdoes it possible to create a link to a library what I'm installing as build-dependency but I have to use it under different a name?22:54
akoskmthat actual file is /usr/lib/qt4/plugins/phonon_backend/phonon_gstreamer.so, but the package what I'm building tries to find it as libphonon_gstreamer.so22:57
RAOFakoskm: phonon_gstreamer is a phonon plugin, right?  What are you packaging such that it wants to link against a plugin?22:59
akoskmRAOF, qtjambi-4.722:59
RAOFAnd what *is* it?  ☺23:00
akoskmjava binding for Qt.23:00
RAOFAh.23:00
RAOFUm, why would that link to a phonon plugin?23:00
RAOFI was very much under the impression that phonon abstracted the backends away.23:01
RAOFIndeed, if it *doesn't* why would you bother using gstreamer through phonon rather than just gstreamer directly?23:01
akoskmthere is module called multimedia. since we aren't implemented the modularized building yet I have all the libraries installed23:02
akoskmand this multimedia modules requires the phonon plugin23:02
ebroderRAOF: Maybe Java has limited dlopen'ing capabilities or something?23:02
RAOFebroder: But java wouldn't be dlopening, would it?  It'd just be libphonon-ing, and libphonon can certainly dlopen its plugins.23:03
ebroderOh, good point23:03
RAOFakoskm: Anyway, it sounds like the package bulid system is wrong :)23:06
bdrungtumbleweed: ./backportpackage --no-conf ubuntu-dev-tools 2>&1 | pastebinit23:09
bdrunghttp://pastebin.com/NRppV9Ax23:09
akoskmRAOF, what do you mean by the package build system is wrong? Do we need to change our reference from libphonon_gstreamer.so to phonon_gstreamer.so ?23:15
tumbleweedbdrung: thanks23:16
RAOFakoskm: It sounds like something is trying to do -lphonon_gstreamer, which will look for libphonon_gstreamer.so.  That's incorrect.23:17
RAOFAs the file is phonon_gstreamer.so :)23:18
RAOFakoskm: At this point it might be useful to pastebin relevant build logs and makefiles.23:19
bdrungtumbleweed: i have more:23:20
bdrungSet more values in setup.py for egg info?23:20
bdrungbackportpackage: WORKDIR not documented23:20
bdrungshould we move ubuntutools/test/* to test/*?23:20
bdrungUPDATE_BUILDER not in ubuntu-dev-tools(5)23:20
bdrungbackportpackage.1: CONFIGURATION VARIABLES not sorted alphabetical23:20
tumbleweedour egg info is relatively unimportant, as don't care much about non-deb distribution23:24
tumbleweedPython test suites should generally be within the code's namespace, and distributed with the source code23:24
bdrungtumbleweed: the tests should be in the installed binary package?23:27
tumbleweedthat's generally what's done23:28
bdrungtumbleweed: i see no reason for putting in the binary23:28
bdrung*it23:29
tumbleweedI assume the reason for it is that users may want to run the test suite if they suspect misbehavior. I don't know much about the history of this.23:30
ebroderI think it's a good idea to leave it in, if the test suite does run successfully when it's installed (I've seen installed test suites that will only run from a source checkout)23:31
bdrungtumbleweed: three point left23:32
bdrungebroder: do you want to review tumbleweed's branch too?23:32
bdrungs/point/points/23:32
tumbleweedbdrung: I'm dealing with two of those. The sorting in backportpackage matches the configuration options. I suppose there's no harm in sorting them alphabetically.23:33
ebroderbdrung: Sure, but I can't now23:37
bdrungtumbleweed: "Boolean." is not specific enough. true/false, 0/1, yes/no?23:39
tumbleweedok. Should probably improve boolean handling anyway.23:40
bdrungtumbleweed: do we want a global workdir variable?23:43
tumbleweedthat would require a global default workdir policy23:44
tumbleweed(which is a reasonable thing to have)23:44
bdrungtumbleweed: i propose the behaviour of backportpackage23:45
bdrung/tmp/scriptname-XXXXXXX23:46
tumbleweedworks for me23:47
bdrungdefaults = {..., "WORKDIR": None}23:47
ebroderbehavior of backportpackage> +123:49
udienzmicahg: are you there?23:50
micahgudienz: yep23:52
bdrungtumbleweed: we should define this rule: UBUNTUTOOLS_* variables are only allowed if at least two script uses them23:53
udienzmicahg: from latest merge, both patch already apllied at upstream23:53
bdrungtumbleweed: (which will be the case for those four variables)23:54
udienzbut not in natty23:54
tumbleweedbdrung: sounds good, I'll add a comment stating that23:54
micahgudienz: right, so we need them in natty before they can go into lucid-proposed23:54
udienzmicahg: ok, so i can proposed both patch to natty now?23:54
micahgudienz: so I was told 0.8.54 will be in Debian soon, I suggest talking to MTecknology about any other patch you'd like to have SRUd so that it can get in through Debian23:55
micahgudienz: since we just sync'd nginx and have active Debian maintainers, I'd prefer the patches to go through Debian23:55
bdrungtumbleweed: i will go to bed soon. if you address the remaining points before, i will do the merge before laying down.23:56
micahgudienz: MTecknology is part of the Debian team for nginx I believe23:56
udienzmicahg: okey, thats mean only one patch is not apllied yet in natty (i asumsed id 0.8.54 is landed in natty)23:57
micahgudienz: no, 0.8.53-223:57
udienzmicahg: yup, MTecknology is debian team for nginx23:57
micahgbut 0.8.54 should be coming soon23:57
tumbleweedbdrung: r895. I'm going to make a fair amount of noise in trunk when I add support script by script, then.23:57
micahgudienz: so, just coordinate with him about the other patch so it lands in natty with 0.8.54-1 and you should be fine23:58

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