/srv/irclogs.ubuntu.com/2009/12/07/#ubuntu-motu.txt

=== freeflyi1g is now known as freeflying
=== _stink__ is now known as _stink_
magdalenahello\01:02
=== propagandist1 is now known as propagandist
RoAkSoAxScottK, ping?06:05
dholbachgood morning07:14
poolielifeless (or anyone): when james_w says "updated package targeted to -proposed" what does that mean?07:15
pooliein what way is the package, as opposed to the upload, targeted to -proposed?07:16
persiapoolie: the targeted suite for an upload is typically defined in the most recent entry of the debian/copyright file in the package.  It's possible to override it in various ways during package construction, but the tools don't do this by default.07:20
jmarsdenpersia: Most recent entry of the debian/changelog file... right?07:21
persiajmarsden: Right.07:22
poolieoh so that can just change from karmic to karmic-proposed for example?07:29
pooliehello btw07:30
persiapoolie: Right.  karmic is closed to upload.  Best to change in the changelog rather than faking it, just so that the code has the appropriately documented history.07:32
poolieok thanks07:36
=== ogra_ is now known as ogra
=== ogra is now known as Guest91885
=== Guest91885 is now known as ogra
Rhondahmm. Now it's dec 7th, I was told that I can expect the CoC 1.0 on the 5th. Any reason for why it's still not there? :/10:11
Rhondahttps://launchpad.net/codeofconduct that is, still links the old CoC :/10:11
LaneyRhonda: I got some bugmail over the weekend saying it was fixed in launchpad-devel11:13
dholbachLaney: it's on staging11:13
Laneyindeed it is on edge11:13
dholbachah ok11:13
Laneydunno when the next rollout to production is11:13
jpds16th.11:14
Laney\o11:14
RhondaLaney, dholbach, jpds: Thanks for the heads-up :)11:25
dholbachno worries11:31
rc55Are universe packages considered untested / unsupported?11:49
jpdsThey're supported and tested by the community.11:49
alkisgCan I somehow share code between my package and its postrm script?11:53
alkisgE.g. afaik I can't include other scripts from my-package.postrm script... I can only do that from the .prerm script, right?11:53
persiaalkisg: The trick is that at the time the postrm runs, the package has been removed from the system.11:54
alkisgpersia: right... :( so could I do the opposite? Have a function in the .postrm script, and call it from a regular script of mine? Can I rely on /var/lib/dpkg/info/sch-server.postrm being there? (I guess not, I just want to verify it :))11:55
persiaI don't actually know.  I suppose you might be able to do that, but I'd not want to rely on it.  What are you trying to accomplish?11:56
alkisgThere's a purging function that would be ran on postrm, but the user may also want to run it without removing the package11:56
alkisgAnd I was trying to see if there's some way to not duplicate code11:57
persiaWhat does the purging function do?11:57
alkisgRemove some files in /etc/ (non-conffiles), un-registers some settings (e.g. in /etc/ssh/sshd_config) ...11:57
persiaYour package is ssh?11:58
alkisgNo, it just tries to help the user configure some servers (sshd, apache etc) so it writes on other packages files :D11:58
soren/etc/ssh/sshd_config is not a conffile.11:59
alkisgNot the best thing to do, but I don't think there's another way...11:59
alkisgsoren: right, I just put some entries there and remove them when my package is purged11:59
sorenalkisg: My comment was meant for persia, actually :) I knew where he was going.11:59
alkisgAh, sorry, I don't quite get it yet12:00
persiaalkisg: I do believe that is in contravention to policy, but 10.7.4 might offer a loophole12:00
* alkisg looks...12:00
persiaThat said, I don't think you want to do that as a shared function.12:00
soren10.7.4 is about packages that offer a utility to change their config isn't it?12:00
persiasoren: 10.7.4 has a section about sharing configuration files12:01
persiaIt has "The maintainer scripts must not alter a conffile of any package, including the one the scripts belong to."12:01
persiaBut it seems to be looser for non-conffile configuration files.12:01
soren The owning package should also provide a program that the other packages may use to modify the configuration file.12:01
persiaalkisg: So, anyway, back to my line of reasoning.  Is there a case where you would want to preserve the modifications to /etc/ssh/sshd_config, etc. when your package isn't installed?12:02
persiasoren: Right, but it's only a should.12:02
sorenmeh12:02
persiaheh12:03
alkisgpersia: e.g. my package puts the server ssh keys to the client so that the teacher has complete control over the client PCs. It also does a lot of other stuff, messing around with configuration files (non conffiles, mostly). Now, it's possible that some teachers doesn't want all 100% of the settings I do for him, so I'd like to allow him to undo some changes without uninstalling the whole package12:03
persiaalkisg: careful about the "mostly" with the non-conffiles bit: touching those violates 10.7.412:04
persiaalkisg: I think it's a good idea to have a purge, but I'd run that at uninstall, rather than purge.12:04
persiaIt's not necessarily safe to assume that the modifications are applicable after the package is removed (even if the package is not yet purged)12:04
alkisgpersia: I know, but I couldn't find any other way to make it easy for teachers that don't have support tech around. Would you have some idea that would help here?12:05
persiaSo, stick it in your prerm12:05
alkisgI don't want to remove the settings on plain package removal, because most times the teacher will want to keep them12:05
alkisgAh, you mean prerm / purge... hm... right12:05
persiaalkisg: Sure.  Modify the packages that provide the conffiles to make them non-conffiles (which basically means creating a configuration file management mechanism)12:05
alkisgI'd hate to have to do that for every version of openssh-server, apache2, php, etc etc that comes out12:06
persiaalkisg: Right.  The difference between uninstalled and purged is tricky to get right.12:06
persiaalkisg: No, just for all the ones in the repo, and document it well as best practice for future maintained versions.12:06
persiaIf you work with the relevant Debian maintainers, this tends not to be complicated.12:06
persiasoren: Just as a counter-example to "The owning package should also provide a program that the other packages may use to modify the configuration file.", many packages provide the management functionality thorough a conf.d mechanism so that other packages don't have to have anything special in the postinst.12:07
alkisgSorry, I don't get this last one. Suppose I want to do this:12:07
alkisgsed -i -e 's/MaxStartups 20:30:60/#MaxStartups 10:30:60/' /etc/ssh/sshd_config12:07
alkisgHow should I do it?12:07
sorenpersia: in that case they're not sharing a configuration file.12:08
alkisg(that's on postrm, and I do the opposite on postinst)12:08
persiasoren: depends on how conf.d is implemented.  I've seen cases where cat is used :)12:08
sorenpersia: Ah, right. I may actually be guilty of something like that :)12:08
persiasoren: Actually, I suppose that appropriate implementation with cat would be to cat into /var/cache/${package}/conffile and target that or something similarly wonky, but I may be mistaken.12:10
sorenpersia: Sounds sound.12:11
soren:)12:11
persiaalkisg: Ask yourself two questions: 1) why should the value not be 20:30:60 for every installation, and 2) is there a way that ssh could read a config produced from a collection of files rather than a single file (as does, say, apache).12:11
persiaalkisg: If the value could reasonably *always* be set, arrange for it to be changed by default.12:12
alkisgpersia: it'd be a bless if all the packages I was trying to mess with provided a conf.d directory, or even if they were accepting proposals about default values. Unfortunately, I don't think that's feasible (at least for a newbie developer/teacher like me) :-/12:13
persiaIf not, prepare a configuration file management system (there are several extent, with apt, cron, and apache all being interesting examples) that allows you to place a file containing the desired configuration change separate from the files provided by the managing package.12:13
persiaalkisg: This is Ubuntu.  Everything is subject to proposals, by anyone willing to defend their reasoning.12:14
persiaChanging defaults tends to be fairly easy.  Typical successful procedure is to find relevant developers on IRC, and chat about it a bit to understand what needs researching, and then file a bug with the proposed change, rationale, and other support from the research.12:15
alkisgI've done that many times, and I was succesful on some of them. But only some.12:16
persiaImplementation of configuration file management mechanisms are often gleefully accepted by the relevant Debian maintainers, unless there's some specific reason why doing so may break the package.12:16
alkisgThere are times where "good defaults for schools" aren't "good defaults for everybody"..12:16
alkisgAnd unfortunately, I only have some hours to invest on this per day. Implementing file management mechanisms for other packages would divert me from my real purpose, helping teachers...12:17
* alkisg shrugs12:18
persiaalkisg: In those cases, you want the configuration management facility.  Having already taken the first path, you're well armed with arguments as to why the defaults should differ under differing circumstances in common enough cases that it makes sense to be able to alter them programatically.12:18
persiaalkisg: Don't discount yourself.  A few hours a day is many more than many people have to spend on this stuff.  Also, there are some fairly easy to implement conf.d mechanisms (e.g. the weak cat implementation I described earlier).12:19
alkisgI'm trying to push changes upstream or to package maintainers wherever I think it'll be easily accepted, but I have to make do when that's not possible .... :(12:20
alkisgpersia: thanks a lot for your advice, and your time :)12:20
persiaalkisg: And thank you for spending time to make Ubuntu better for teachers.  I often hear favorable reports from educators I know, and I presume that's in part from what you've done.12:21
alkisg:)12:21
thekornhello MOTUs! if anybody of you has a bit of spare time, can you please have a look at http://revu.ubuntuwire.com/p/python-fusepy ?12:29
thekornthanks you so much ;)12:29
* Yagisan sighs13:25
* Yagisan is sure buildbot hates him13:27
* slytherin kicks buildbot for hating Yagisan13:29
Yagisanthanks slytherin13:29
YagisanI think it needs a few more13:29
Yagisanjust until it actually starts working13:29
slytherinYagisan: what problem are you facing?13:31
Yagisanslytherin, I just reported bug #49357513:31
ubottuLaunchpad bug 493575 in buildbot "Buildbot master generates a setupBuild exception when attempting to run a builder" [Undecided,New] https://launchpad.net/bugs/49357513:31
Yagisanslytherin, in a nutshell - it crashes13:32
Yagisanslytherin, and google didn't help :/13:32
slytherinI was confused. I thought you were calling out build servers as buildbot. I did not know you were referring to buildbot software.13:34
feastyWhen doing some bug fixes is it preferable to do multiple fixes in one package or one for each bug ID? I have a fix done but there is another one for the same package I think I may work on after but wondered if I should do them together in one or separate them?13:37
=== sommer_ is now known as sommer
directhexfeasty, multiple bugs can be closed by a single upload, so work with that in mind13:38
Yagisanslytherin, not a problem - although the reason for sighing was that I had build 16 slaves machines before I noticed the "bug"13:38
slytherinfeasty: multiple fixes in one upload is nice. That means users will get more bug fixes in single download.13:39
feastydirecthex, slytherin ok thanks for that. I'll try and get this other one in the same upload then. Thanks again.13:40
YagisanO-o wow, it's been 3 and a half years since my last upload to Ubuntu13:51
=== dholbach_ is now known as dholbach
=== dholbach_ is now known as dholbach
=== jcastro_ is now known as jcastro
=== Quintasan1 is now known as Quintasan
mok0Testing... 1, 2, 3, testing15:16
ScottKmok0: You're on.15:17
mok0:)15:17
* geser waits on what mok0 has to say15:17
mok0(uhm, just testing... to see what my nick was :-] )15:18
gesermok0: that's easy: your nick is mok0 :)15:18
mok0Hehe :-P15:18
MenZaAre there plans to package Pidgin 2.6.4 in Karmic?15:50
Laneypidgin is routinely backported15:51
Laney(if someone does the work)15:52
micahgMenZa: there's a pidgin developers ppa15:53
micahghttps://launchpad.net/~pidgin-developers/+archive/ppa15:53
MenZamicahg: Aye, I found that15:53
MenZaIt was more of a question whether it was going to be packaged, er, properly for Ubuntu15:53
=== noodles775 is now known as noodles775-otp
LaserJockwhat's a good programmatic way to tell if a package is in main or universe?16:32
pochudoesn't 'apt-cache show' say it?16:33
jpdsLaserJock: apt-cache policy|madison <package>, rmadison <package>,16:33
achadwickapt-cache show $PKG | grep -q 'Section: universe'16:34
LaserJockbut I need to do it programmatically, i.e. in a shell script16:34
LaserJockok, that's pretty good16:34
=== noodles775-otp is now known as noodles775
achadwick'^Section: *universe' for a little more robustness maybe16:35
pochu'^Section: universe$' rather? :)16:35
geserno, this will fail at "Section: universe/devel"16:36
pochuah right16:36
=== dholbach_ is now known as dholbach
=== stgraber_ is now known as stgraber
CarlFKwhat is the name of the script that converts diff files to debpatch ?16:56
pochudebpatch?16:57
CarlFKpochu: the patch file format found in debian/patches16:58
geserCarlFK: dpatch as patch system or an other patch system?16:59
CarlFKi think debpatch is the name of the scrip I am looking for :)16:59
dholbachdebdiff maybe?16:59
CarlFKmaybe..17:00
dholbachhttps://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff17:00
geserwhat are you wanting to do?17:00
CarlFKget a gtk patch applied to karmic17:03
mok0_What's the deal with that Python discussion on dd?17:03
kklimondamok0_: now there is a discussion about python on dd when I've unsubscribed? ;)17:04
kklimondadamn17:04
mok0_kklimonda: yep. I've followed it with shock and awe17:04
kklimondamok0_: it's a discussion about why isn't python 2.6 in unstable yet?17:04
mok0_kklimonda: you got it17:04
mok0_The maintainer is getting many coarse words17:05
mok0_and the anger is spilling over onto Canonical17:05
micahgdon't know if bug 493649 would interest anyone17:05
ubottuLaunchpad bug 493649 in soyuz "include estimated time to build in accepted email" [Undecided,New] https://launchpad.net/bugs/49364917:05
ScottKThere isn't any new information in the d-d thready on Python 2.6 except that some people are trying to get things resolved in private.17:10
ScottKthready/thread17:10
mok0_... but what's the problem upholding the upload?17:11
av`mok0, missing maintainer's communication and willing to do it :)17:11
mok0_av`: that doesn't make sense17:12
av`mok0, I know, but it's what is currently happening17:12
mok0_Perhaps Debian should sync from Ubuntu, LOL17:12
av`don't propose that or you gonna get flamed like hell :)17:13
ScottKYeah.  Please don't.17:13
mok0_I wont17:14
=== dholbach_ is now known as dholbach
=== yofel_ is now known as yofel
=== highvolt1ge is now known as highvoltage
highvoltagehi. any REVU admins around?18:41
=== DktrKranz is now known as DrKranz
=== micahg1 is now known as micahg
=== asac_ is now known as asac
akheronmotus around? http://revu.ubuntuwire.com/p/jansson19:25
kklimondawhy does opts="uversionmangle=s/(b[0-9]+)$/~\1/" change 1.80b1 into 1.80~1 ?19:29
gesertoo less escaping perhaps?19:31
gesertry "~\\1"19:31
kklimondahmm.. thanks19:33
kklimondaand the second question - if I work on an update to the package and in the meantime the never version is released can I add the new changelog entry and leave the old one UNRELEASED?19:35
ScottKI generally prefer to merge them.19:35
av`kklimonda, I would say yes, saw some packages with UNRELEASED19:36
av`kklimonda, just be sure your current changelog's entry is targeted to the right place19:36
av`kklimonda, just be sure your current changelog's entry is targeted to the right place = otherwise it will be hopefully rejected19:37
kklimondaScottK: but is this a matter of preference or is there a rule somewhere for ubuntu developers? in Debian I've seen some UNRELEASED entries but there every package have a maintainer so it's his choice19:37
av`kklimonda, leaving UNRELEASED in Ubuntu doesnt make sense19:39
av`kklimonda, it is on Debian but not on Ubuntu19:39
av`kklimonda, so merging would be nice as ScottK suggested19:39
kklimondaav`: why it doesn't make sense? Just curious19:39
av`kklimonda, packages are not personally maintained here, so someone at the next revision upload will start asking 'hey, why did you left UNRELEASED here?'19:40
av`kklimonda, also UNRELEASED is quite alwais meant for vcs purposes19:41
av`kklimonda, e.g for multiple maintainers and for big packages with big changes, having a small package with UNRELEASED is usually not the best, that's why merging should be the right thing to do in these cases19:42
av`but anyway really up to you19:43
av`kklimonda, :)19:43
kklimondaheh19:44
ScottKkklimonda: debian/changelog is a record of the changes of the package in the archive.  Almost never does it make sense to track intermediate changes that never got into the archive.19:47
kklimondaScottK: so UNRELEASED is used by developers who want to keep a track of their changes but aren't willing to move to vcs?19:48
ScottKkklimonda: Usually when I've seen it in the archive, I'd consider it a mistake.19:48
ScottKIMO it's used by lazy maintainers who won't go to the effort to make a proper changelog entry.19:49
=== RainCT_ is now known as RainCT
kklimondaScottK: ok, thanks :)19:55
ptingcan someone confirm this for me as a bug... apt-get source php5 && cd php5-5.2.10.dfsg.1 && ./debian/rules configure-cli-stamp && ./debian clean ... errors with: Patch suhosin.patch does not remove cleanly (refresh it or enforce with -f) make: *** [unpatch] Error 1 i'm on karmic amd6420:23
ScottKYes.  It's a bug.20:25
ptingcool, i guess i'll submit it20:26
ptingyeah, my first bug creation https://bugs.launchpad.net/ubuntu/+source/php5/+bug/493761 ... it's beautiful20:57
ubottuUbuntu bug 493761 in php5 "php5: build from source: Patch suhosin.patch does not remove cleanly after running configure-* rules" [Undecided,New]20:57
FlannelWhat's the rationale behind "recommends" being treated as required for universe/main/etc classification stuff?21:06
ScottKFlannel: Look at the policy manual at the definition of Recommends.  I think it's pretty self evident.21:09
FlannelScottK: Ah, thanks21:12
MTecknologyTime to learn how to package...22:20
AmaranthMTecknology: you guys getting any snow?22:29
=== debfx_ is now known as debfx
mdc_laptopwhere can i find info about packaging a openoffice extensions? (in this case a better dictionary)22:43
RoAkSoAxHey guys, is there automatic renaming from XX/python2.6/site-packages to XX/python2.6/dist-packages ??22:54
kklimondaRoAkSoAx: automatic?22:58
RoAkSoAxkklimonda, as in during build process something that is in  XX/python2.6/site-packages will be renamed to XX/python2.6/dist-packages23:00
RoAkSoAxScottK, during build process something that is in  XX/python2.6/site-packages will be renamed automatically to XX/python2.6/dist-packages ??23:14
ScottKRoAkSoAx: It depends.  Often yes.  I can't promise it in all cases.23:18
RoAkSoAxScottK, so it would be better to not rely on that, and just do whatever change is needed to make it install directly into XX/python2.6/dist-packages ??23:20
ScottKRoAkSoAx: No, test and see if it works without customization and if it does, be happy.  If not, then do that.23:20
RoAkSoAxScottK, ok, awesome. Thanks :)23:21
ptingi'm trying to build php5 from source with some custom patches, how do i build a specific .deb file without building it? for example, how would i only build the deb for the cgi build?23:33
dtchencjwatson: hi, do you mind if I work with bddebian on the libsdl1.2 merge from experimental? The ALSA and PulseAudio backends are in serious need of help, and that work has been done in experimental's upload.23:36

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