/srv/irclogs.ubuntu.com/2007/10/19/#ubuntu-classroom.txt

Virusurbanohey, how are you!02:13
Virusurbanohello peopleĀ“.02:13
sgtdgood,you?02:20
ezzieyguywufhello jrib :-)06:04
jribhi06:04
ezzieyguywufso i've downloaded the patch06:04
jribdoesn't matter where the patch is, just where you are06:05
ezzieyguywufok06:05
jribso... where are you?06:05
ezzieyguywufwell i downloaded the .tar.gz and extracted it06:05
ezzieyguywufand i'm in that directory (this is kdebluetooth btw)06:05
jribwhat does 'pwd' say?06:05
ezzieyguywuf/home/wolfie/Desktop/kdebluetooth-1.0_beta206:06
jribok06:06
jriband 'ls'?06:06
ezzieyguywuflots of files06:06
ezzieyguywufany in particular we're lookin for?06:06
jriband 'ls -d */'?06:06
ezzieyguywufacinclude.m4   configure        kdebluetooth               Makefile.in06:06
ezzieyguywufaclocal.m4     configure.files  kdebluetooth.kdevelop      po06:06
ezzieyguywufadmin          configure.in     kdebluetooth.kdevelop.pcs  README06:06
ezzieyguywufAUTHORS        configure.in.in  kdebluetooth.kdevses       stamp-h.in06:06
ezzieyguywufbemused.patch  COPYING          kdebluetooth.tag           subdirs06:06
ezzieyguywufChangeLog      Doxyfile         Makefile.am                VERSION06:06
ezzieyguywufconfig.h.in    INSTALL          Makefile.am.in06:06
ezzieyguywufand admin/  kdebluetooth/  po/06:07
jrib!paste06:07
jribok06:07
ezzieyguywuf!paste06:07
ezzieyguywufguess ubotu isn't in here06:07
jribso... is there a "bemused" directory in kdebluetooth/ ?06:07
ezzieyguywufyes06:08
jribubotu is sleeping06:08
jribok06:08
jribdo you understand what -p does with patch?06:08
ezzieyguywufsomewhat06:08
ezzieyguywufsomething to do with the location of something06:08
jribheh06:08
ezzieyguywuf:-[06:08
ezzieyguywufh06:08
jribopen up your patch in a text editor for a sec06:09
ezzieyguywufok06:09
jribsee those first two lines?06:09
ezzieyguywufyea06:09
ezzieyguywufone looks like a directory and the other one some kind of address06:09
jribthey tell patch the path to the files it needs to patch06:10
jribkdebluetooth/bemused/kbemusedsrv.cpp.old kdebluetooth/bemused/kbemusedsrv.cpp06:10
ezzieyguywufahhh06:10
ezzieyguywufi see06:10
ezzieyguywufso if i'm in that directory, i don't have to worry about -p right?06:10
jribso you are fine without a -p right06:10
ezzieyguywufi should be06:10
ezzieyguywufok so recap06:11
jribif you were in kdebluetooth, then you would strip the first '/' with -p106:11
ezzieyguywufbut if i'm in bemused06:11
ezzieyguywufi'm fine06:11
ezzieyguywufcorrect?06:11
jribno06:11
jribwell06:11
ezzieyguywuf?06:11
jribwhere you are now, you would use -p0 to tell it not to strip anything06:12
ezzieyguywufok06:12
ezzieyguywufand by strip you mean take stuff off the end of where it thinks the files are06:12
ezzieyguywufright?06:12
jribif you pass no -p then it strips everything and you need to be in the same dir06:12
ezzieyguywufok06:13
jribkdebluetooth/bemused/kbemusedsrv.cpp with -p1 will be bemused/kbemusedsrv.cpp06:13
ezzieyguywufwell, if i ls right now i see both files06:13
jribkdebluetooth/bemused/kbemusedsrv.cpp with -p2 will be kbemusedsrv.cpp06:13
jribwhat does 'pwd' return?06:13
ezzieyguywuf/home/wolfie/Desktop/kdebluetooth-1.0_beta2/kdebluetooth/bemused06:14
jribok06:14
ezzieyguywufok so i should run patch with no -p correct?06:15
ezzieyguywufor with -p006:15
ezzieyguywufor are both the same06:15
jribthat is ok here because both files are kdebluetooth/bemused/kbemusedsrv.cpp and kdebluetooth/bemused/amarokcontroller.cpp06:15
jribno -p06:15
ezzieyguywufok i get it06:15
ezzieyguywufand this is going to compile the whole program using that patch06:15
ezzieyguywufcorrect?06:15
jrib-p0 would say no06:15
jribI mean: no06:15
jribpatch just patches (modifies) files06:16
ezzieyguywufoh06:16
ezzieyguywufso i have to have it installed first06:16
jribyou should have patch06:16
ezzieyguywufcuz i'm running patch right now and the terminal is just kind of, froze06:16
jribhit ctrl-c06:16
ezzieyguywufno output06:16
ezzieyguywufthat kills the program right?06:17
jribthe syntax is:  patch > /path/to/file.patch06:17
jribugh06:17
jribthe syntax is:  patch < /path/to/file.patch06:17
ezzieyguywufoh!06:18
ezzieyguywufit works06:18
ezzieyguywufi did not think the < was needed for some reason06:18
ezzieyguywufwow thanks06:18
ezzieyguywufso now that the files are patched06:19
ezzieyguywufi have to compile the whole thing right, with those patched files?06:19
jribyes06:19
ezzieyguywufok and i think that link you gave me will help with that06:20
ezzieyguywufdpkg-buildpackage06:20
jribyes06:20
ezzieyguywufok06:20
ezzieyguywufi'll go try to figure out how that works06:20
ezzieyguywufi'll ask if i have any questions06:20
ezzieyguywuf:-)06:20
ezzieyguywufok so where exactly does dpkg need to be run from?06:23
ezzieyguywufit says "from the directory that was created for the package after downloading"06:24
ezzieyguywufi didn't use apt-get to download the package, i just got it from the website, so its on my desktop06:24
ezzieyguywufand i'm in the directory, but dpkg returns dpkg-parsechangelog: error: cannot open debian/changelog to find format: No such file or directory06:24
jribthen follow the first set of instructions ubotu sent06:24
jribthen you don't get a package though06:25
ezzieyguywuf?06:26
ezzieyguywufi'm sory i don't follow06:26
jribdeb06:26
jribyou don't get a deb if you don't use apt to grab a source package06:26
ezzieyguywufoh i see06:26
ezzieyguywufok, let me go try this over with apt-get then06:26
ezzieyguywufjrib:kdebluetooth-1.0_beta206:29
ezzieyguywufer h/o06:29
ezzieyguywuf Unable to find a source package for kdebluetooth-1.0_beta206:30
jribthat's not the name of the package06:30
jribno need to ping me in two channels :)06:30
ezzieyguywufoh sorry06:30
ezzieyguywufi don't know if you keep checking here06:30
ezzieyguywufhow do i find the name of the package? cuz i need that particular beta version06:31
ezzieyguywufyou know what, i was looking at the wrong link, i never checked the prvt message from ubotu06:32
ezzieyguywuflet me go read that real quick :-)06:32
jribnight06:39
n2diyjrib: 7306:42
jribn2diy: ?06:42
jrib387406:42
jribi win06:42
n2diyjrib: google 7306:43
jribThe Romans capture Masada ?06:43
jribThe atomic number of tantalium ?06:44
n2diyjrib: Wait please?06:45
jribk06:45
n2diyjrib: Try this: http://www.ac6v.com/73.htm#7306:46
jribcool, never knew that06:49
n2diyjrib: 10-4 :)06:54
jrib7306:55
n2diyjrib: 73 OM :)06:58
ezzieyguywufjrib still here?07:05
pentuxhello Fritha - welcome to ubuntu-classroom08:30
aleph1hi14:02
jribaleph1: is this after an upgrade or just random apt breakage?14:03
aleph1powercut in the middle of "aptitude update"14:03
jribthat wouldn't do it14:04
jrib"upgrade" maybe?14:04
aleph1sorry. yeah14:04
aleph1but I think I have found a solution.14:04
jribk14:04
aleph1I replaced /etc/init.d/mysql with "exit 0"14:04
aleph1but thanks! :)14:05
jribaleph1: glad you got it14:05
dholbachMOTU Q&A session in two minutes14:57
AmaranthI forgot the name of the other channel :/14:59
dholbachhello everybody :)14:59
dholbachwelcome to the MOTU Q&A Session!14:59
dholbachwho do we have here - can we go through a round of introductions? :)14:59
AmaranthOh, this isn't Open Week yet :)14:59
dholbachI'm Daniel Holbach, MOTU for quite a while now and trying to make becoming a MOTU as easy and enjoyable as possible. :)15:00
dholbachwho else do we have here? :)15:01
persiaI'm Emmet Hikory, MOTU, and active with QA and library porting.15:01
fernandoI'm Fernando Ribeiro, trying to be a MOTU.15:01
dholbachhey rulus, ntaylor0909, nalioth_, welcome to the session - we're just going through a round of introductions15:02
sommerme... Adam Sommer I'm relatively new to the community and looking for ways to contribute.  Was at another QA meeting, but was called away before the end.15:02
zul_im chuck short, member of the motu team amongst other things15:02
* dholbach high-fives sommer15:02
geserI'm Michael Bienia, MOTU15:02
dholbachwho of you is interested in becoming a MOTU and has prepared some questions for us? :)15:03
rulusdholbach: I'm just listening :)15:03
gaspaandrea gasparini, not motu.15:03
gaspa:-P15:03
sommerI'm interested, but didn't come prepared with anything specific.15:03
dholbachsommer, rulus, gaspa: great to have you around15:03
dholbachanything you'd like to know about MOTU? contributing or ubuntu development?15:04
gaspathere' s already a roadmap, or a list of things that i can do to help ubuntu development?15:04
dholbachgaspa: sure15:05
dholbachon http://wiki.ubuntu.com/MOTU/TODO we list quite a lot of different things you can start looking into15:05
=== allee_ is now known as allee
dholbachthe 'bitesize' bugs for example are suited for new contributors for example15:05
dholbach'packaging' bugs deal with packaging related problems, that *might* be easy to fix15:05
gaspadholbach: ok, i saw only the hardy roadmap, but it's quite vague.15:05
dholbachgaspa: we'll be fixing a lot of bugs, so I think that's a good way to get involved in the MOTU team15:06
gaspayep, just starting in it ;)15:06
dholbachhttp://wiki.ubuntu.com/MOTU/Recipes will help you to play with the tools we use most15:07
norsettoperhaps gaspa is referring to this: https://wiki.ubuntu.com/UbuntuDevelopment ?15:07
huatsgaspa: and sometimes if you are doing stuffs on a bug with a MOTU called norsetto as a mentor on this bug, be prepared to do a lot of things, even for a bitesize bug... But you'll learn a lot...15:07
norsettohuats: I never asked you to do a triple somersault .....15:08
dholbachhey nealmcb15:08
dholbachnorsetto: not yet :)15:08
persiagaspa: You might also take a look at https://wiki.ubuntu.com/MOTU/Contributing, which has some suggestions on using the tools, and some of the basic processes for getting things uploaded.15:08
huatsdholbach: :-D15:08
gaspanorsetto: I was referring to https://wiki.ubuntu.com/HardyReleaseSchedule?highlight=%28hardy%2915:08
dholbachgaspa: right, that page only explains the various phases of the release cycle we'll go through15:09
nealmcbdholbach: howdy.  I was late to the other discussion, just caught up on the log, and figured I'd lurk some more here15:09
dholbachand it's not even a final document yet :)15:09
norsettogaspa: yes, but I think if you want to know more about ubuntu development, you really should look at the wiki link I posted15:09
gaspadholbach: in fact i wasn't satisfied. ;)15:09
dholbachnealmcb: excellent :)15:09
persiagaspa: That's more a schedule to keep track of how release management affects our work.  The goals are more to implement as many features as we want prior to Feature Freeze, and fix as many bugs as possible.15:09
norsettopersia: fix bugs? which bugs?15:10
dholbachany other questions around packaging, MOTU, Ubuntu Development, processes?15:10
* norsetto forgot that the Bug Master is in the room15:10
persianorsetto: All of them would be great, but most new people would do best with those with the bitesize tag.15:10
=== nalioth__ is now known as nalioth
huatsnorsetto: you mean the packaging king right ?15:11
dholbachhe must mean seb128 and pedro_ :)15:11
huatsdholbach: I have one question for you15:11
huats:-)15:11
dholbachhuats: fire away15:11
norsettodholbach: how can a contributor submit a patch?15:11
dholbachnorsetto: good question :)15:11
dholbachit's all explained at http://wiki.ubuntu.com/SponsorshipProcess15:12
* norsetto writes that down15:12
huatsright now, do what distribution we put in the changelog ? gutsy or gutsy-proposed ?15:12
dholbachthe gist of it is: if you're fixing a bug, attach the patch that you've produced and subscribe the reviewer team to it15:12
dholbachfor main/restricted that's ubuntu-main-sponsors15:12
norsettohuats: hardy15:12
dholbachfor universe/multiverse that's ubuntu-multiverse-sponsors15:12
AmaranthWhoa even I didn't know about requestsponsor15:13
persias/ubuntu-multiverse-sponsors/ubuntu-universe-sponsors/15:13
dholbachIf you've never produced a patch before: https://wiki.ubuntu.com/MOTU/Recipes/Debdiff might help you with that15:13
dholbachpersia: yes, sorry - was a bit distracted, as I just got a call :)15:14
dholbachhiya blueyed15:14
blueyedHi dholbach :)15:15
dholbachhuats: if you want to fix a bug in gutsy (it's already release, so we can't upload to 'gutsy' itself any more), you'll need to follow http://wiki.ubuntu.com/StableReleaseUpdates15:16
dholbach(which has both instructions for main and universe)15:16
gaspaok, if i decide to write a patch for a bug in https://wiki.ubuntu.com/MOTU/TODO, what should i do to prevent  someone else from making the same work?15:16
dholbachI just noticed that seb128 didn't do the most uploads after all: http://ubuntu.joejaxx.org/ :-)15:17
norsettogaspa: you should assign the bug to yourself15:17
gaspanorsetto: i can't15:17
gaspai launchpad i can't modify nothing of the bug.15:17
norsettogaspa: you can't!? Ask for membership in the bugsquad then15:17
dholbachgaspa: you need to login to launchpad and click for example on the status of the bug15:17
dholbachnorsetto: that's not required15:17
norsettodholbach: ah, yes, perhaps he is not logged15:18
gaspa... i wasn't able to do it... i'll retry...15:18
gaspano ,i'm logged...15:18
dholbachgaspa: click for example on the status of the line in the middle of page, which has the status/sourcepackage etc information15:18
gaspai'll retry later, maybe i lost something.15:19
dholbachgaspa: and follow up with information on the bug as you have new findings to report, that's also important to not do the same work twice15:19
dholbachgaspa: alright, let me know if things still go wrong, or ask on #launchpad15:19
gaspayep15:19
gaspaah, but...15:19
nxvlis there going to be Q&A meeting?15:19
norsettonxvl: right now15:20
dholbachwelcome nxvl :)15:20
persianxvl: #ubuntu-classroom15:20
nxvlhere or in #ubuntu-meetings?15:20
huatsI am experiencing some timeout with LP today too... so may be it is related to your pb gaspa15:20
persianxvl: here15:20
gaspaif I assign the bug to me, when does it becomes fixed? when i attach a debdiff?15:20
nxvl:D15:20
persiagaspa: When it gets uploaded.  The changelog in your debdiff will close the bug.15:20
persiagaspa: You'll unassign yourself when you add the debdiff, and use http://wiki.ubuntu.com/SponsorshipProcess to get a sponsored upload.15:21
seb128dholbach: thanks to the rocking contributors we had in the desktop team this cycle ;-)15:21
norsettogaspa: when you subscribe u-u-s, if your patch is accepted, the sponsor will mark the bug as fix-committed, and then, as persia said15:21
dholbachseb128: care to advertise the DesktopTeam and what contributors can do in it? :)15:22
seb128the desktop team is a wonderful place to contribute to the Ubuntu desktop ;-)15:22
coNP[uni]Desktop Team definitely rocks :)15:23
seb128we have a nice IRC channel (#ubuntu-desktop), a mailing list, a wiki (https://wiki.ubuntu.com/DesktopTeam)15:23
seb128the wiki has a summary of the team and pointers, we also have a TODO on https://wiki.ubuntu.com/DesktopTeam/TODO15:23
seb128we welcome questions, etc on #ubuntu-desktop and usually contributors find sponsor easily for their patches or updates so feel free to join ;-)15:24
seb128dholbach: good enough ? ;-)15:24
norsettoseb128: what was that thing about champagne free for any patch uploaded?15:24
dholbachseb128: sounds good - especially the kick-ass DesktopTeam/TODO page :)15:24
huatsseb128: If I wasn't already convinced I would have been....15:24
seb128coNP[uni] is one of the rocking contributors which joined the team this cycle ;-)15:25
seb128some things we are looking at for hardy BTW15:25
coNP[uni]It is not impossible to become a MOTU15:25
coNP[uni]:)15:25
seb128- packaging GNOME 2.21.n to 2.22.1, listing annoy glitches laying around for too long that we should fix for the coming lts, make the wiki documentation nicer, and maybe switch to packaging in bzr if we can make the workflow easy enough ;-)15:26
dholbachthat sounds like a lot of action in the hardy cycle :-)15:26
seb128yes15:26
seb128would also be nice to have some webpage summary for things like version of the package in ubuntu, debian, upstream15:27
seb128patches browsable easily for upstream also15:27
dholbachalso experimental versions15:27
seb128well, I've abused enough this classroom with desktop advertising, I'm waiting for you on #ubuntu-desktop now ;-)15:28
dholbachbut yeah - sounds like a nice small project for somebody :)15:28
dholbachok. any other questions?15:28
dholbachmaybe a problem somebody has, we look at together?15:29
* norsetto welcomes giftnudel to the MOTU Q&A session15:30
sommer /me admits to still reading the packaging guide15:31
dholbachsommer:  that's no problem15:31
dholbachnorsetto, coNP[uni], huats: do we have an easy bug we can tackle in the remainder of the session?15:31
persiasommer: That's great.  Reading is probably the best way to get questions :)15:31
* norsetto checks15:31
coNP[uni]bug 115:31
coNP[uni]Oh, no :(15:31
sommeris it better to be proficient with packaging from scratch section before moving on?15:32
sommeror jump to the more automated tools?15:33
norsettobug 154399 seems a nice bitesized one15:33
norsettoubotu seems to be sleeping: https://bugs.edge.launchpad.net/ubuntu/+source/util-linux/+bug/15439915:34
dholbachsommer: I think it's good to work on easy bugs to get a feeling of what you're dealing with15:34
persiasommer: I'd recommend reading the entire guide to build familiarity, and then working with a bunch of different packages while chasing bugs, to see different implementations.  That will likely give a better understanding than trying to understand completely from the guide.15:34
sommerpersia, dholbach: ah, sounds good15:34
dholbachnorsetto: ok, so how do we attempt to fix it?15:34
persiasommer: That's the big advantage of open-source :)  it's easy to build on others work.15:35
norsettodholbach: well, I would first check if nfs-utils is in the repo15:35
norsettodholbach: for instance apt-cache search nfs-utils15:35
norsettomake sure you have an updated cache first15:36
norsettoanyone has done that?15:36
dholbachI don't have it15:36
dholbachI have a source package called nfs-utils though - I used    apt-cache showsrc nfs-utils    for that15:37
norsettoanyone know what that is?15:37
norsettodo you know what is a source package?15:38
norsettodholbach: will you or shall I?15:38
dholbachnorsetto: go ahead :)15:38
* coNP[uni] votes for norsetto :)15:39
sommerisn't a source package a package that will build multiple binaries?15:39
norsettook, I try .....15:39
coNP[uni]sommer: you can have one or more binaries built from a source package15:39
norsettosommer: yes, a source package its a pacjage that contains, as the name says, the sources, and the instructions for the build system on how to make binaries out of it15:39
norsettoyou download source packages with the apt-get command too; for instance apt-get source nfs-utils15:40
geserif you have a deb-src line in /etc/apt/sources.list15:40
norsettoso, you see, in this case there is a source package for nfs-utils, but there is no binary package15:41
norsettogeser: yes ;-)15:41
dholbachand the binary package is the .deb package that gets actually installed15:41
norsettoif you do an apt-cache search nfs-utils you will see that nfs-utils is actually provided by another package, its a virtual package15:41
coNP[uni]Actually you can also download a source package for a binary package, with apt-get source <binarypackagename>15:42
coNP[uni]So you don't have to know the source package name.15:42
norsettonow you just have to check if the man page object of the bug is really provided by the nfs-common package15:43
norsettoone way to do it (there are many) is to download it, and check its content with a dpkg -c command15:43
giftnudelisn't it sufficient to look at the file list for that?15:44
norsettogiftnudel: you mean the one at http://packages.ubuntu.com/? As I said, there are many ways to do it15:45
giftnudelwell, you explained it already :)15:45
sommerso to address the bug, would you change the mount man page to say install nfs-common instead of nfs-util?15:45
norsettosommer: if the man page is indeed in nfs-common, yes15:45
sommernorsetto: but it may not be?15:46
sommerah you check the nfs-util package, correct?15:46
norsettosommer: I would also check the options section, to see that it indeed contains the mount options for nfs and nfs415:46
giftnudells15:47
giftnudelups :)15:47
gesersommer: this is also a check if the information from the bug is correct15:47
sommeryep, mount has options for nfs and nfs415:48
norsettosommer: we should check that in the nfs man page too15:49
sommernorsetto: okay, I'm not finding anything in the mount man page about nfs-utils though.15:50
norsettosommer: what distribution are you using?15:51
sommernorsetto: Gutsy15:51
giftnudelwell I can see it there15:51
* geser too15:51
giftnudelright at the bottom15:51
sommerI did man mount... is that right15:51
giftnudelyes15:51
giftnudelthen go to the end and you should see it15:52
sommerwoops I'm blind15:52
sommerI see it now15:52
norsettosommer: I think it is because using space you end up with the header just at the end, so you may miss it15:53
sommernorsetto: I used /nfs to do a search and when it highlighted the nfs part I skipped over the -utils at the end... heh15:54
norsettohas any of you tried to check the nfs-common package, and its nfs page?15:55
giftnudelat least the dpkg seems to contain it and debian/nfs-common.manpages wants to install it :)15:55
sommernorsetto: trying to install it now.15:55
norsettoalso checking it with: http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=nfs.5.gz&searchmode=searchfilesanddirs&case=insensitive&version=gutsy&arch=i38615:56
norsettook, so we checked the correctness of the bug report, the solution given was correct, do we all agree?15:57
sommerI concur15:57
dholbachwhat do we do now? :)15:58
norsettohow do we actually patch this out, anyone?15:58
giftnudelwell, in the mount source package change the string?15:58
sommermove the man page back to nfs-util, or change the man page of mount?15:58
giftnudelthe first idea is also nice :)15:59
norsettosommer: well, I think changing the man page of mount is more appropriate, but, is there anything else we should check first?15:59
sommerwhy it was changed?15:59
norsettosommer: exactly .....16:00
sommerprobably in nfs-util changelog?16:00
norsettosommer: could be, we could also ask upstream, perhaps is something specific to ubuntu16:00
giftnudelmaybe there's a patch in debian already ...16:01
norsettogiftnudel: good point16:01
norsettonorsetto: anyhow, for the sake of the exercise, lets suppose we need to patch this16:01
norsettohow would we go about it?16:02
sommerapt-get source mount16:03
norsettoin which source package is the mount man page?16:03
sommerthen find the man page file and edit it16:03
sommerutil-linux?16:04
giftnudelsommer: yes, it's in tehre16:04
norsettosommer: thats what the reported said, seems like he knows what is doing, but lets check it16:04
proppyhi, Q&A still going on ?16:04
dholbachproppy: right now norsetto helps us to fix https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/15439916:05
norsettook, so everybody agrees is in there?16:06
proppyok16:06
giftnudelfinding the offending file is not that difficult, but then16:06
norsettogiftnudel: yes?16:07
giftnudelediting is not appropriate, so we need a patch, right?16:07
proppyusing cdbs-edit-patch ?16:07
norsettoproppy: is the package using it already?16:08
giftnudelhow do you see that?16:08
sommergiftnudel: why isn't editing the file appropriate?16:08
proppyby checking dependencies in control and include in rules16:08
norsettothere is also a nice util you can use to determine what patch system a package is using, its called what-patch, and its in ubuntu-dev-tools16:09
huatssommer: since you won't easily remember every modification you've done... so there are tools to help you.... norsetto just mentions...16:09
persiasommer: giftnudel: It depends on the package.  In general, patches are preferable to direct edits, but some packages don't use patches, and we avoid adding patch systems.  The tool norsetto advises may be the easiest way to decide.16:09
huatssommer: you will edit the file, but with the tool16:10
sommerah... thanks I'm with ya16:10
nealmcbpardon a query out of the blue: what is u-u-s?16:10
proppysommer: if the file you need to edit is not in debian/ then I've been told you need to patch16:10
norsettonealmcb: ubuntu-universe-sponsors16:10
nealmcb:-)16:11
* proppy apt-get sourcing the package16:11
dholbachnealmcb: http://wiki.ubuntu.com/SponsorshipProcess16:11
giftnudelit doesn't seem that util-linux has patches in it already, at least I see none and the control file doesn't have dependencies on a patch system16:11
giftnudelproppy: that's what I remembered, too16:11
sommerso it's cool to directly edit this package?16:12
norsettogiftnudel: I think you are correct, so in this case we have two options, either we do an inline patch or we include ourselves a patch system16:12
norsettopersonally, I will never go for inline, even in a simple case like this, but others may have differnt opinions16:13
nxvlwhat are we working at? i losted lot of the conversations :S16:13
persianorsetto: Please reconsider.  For many packages, we try to sync back to Debian, and some Debian maintainers are strongly opposed to patch systems, as it breaks their workflow.16:13
proppythe package seems to do some man tweaking already16:14
proppyperl -pi.bak -e 's/agetty/getty/g' debian/util-linux/usr/share/man/man8/getty.8 \16:14
norsettopersia: yes, in thats case I simply revert it back when we merge16:14
proppydebian/rules:7116:14
=== zul_ is now known as zul
norsettobut persia is right, we should try to stick with what the debian maintainer is doing, so, in this case we might have to do, as proppy suggested, a little hacking16:15
sommersweet... lets hack!16:15
giftnudelits only one line, so it's probably not bad16:15
proppy"as proppy suggested, a little hacking" I like the sound of that :)16:16
nxvlis Q&A still going on?16:16
dholbachnxvl: if you read the backlog, you will find that it's still going on :)16:17
proppynorsetto: by inline you mean using sed/python/perl/awk/cat ?16:17
nxvldholbach: :D16:17
norsettoproppy: or simply manually changing the source16:17
norsettothe change will be in .diff.gz16:18
proppynorsetto: how can you change something which is not in debian ?16:18
dholbachLjL: ?16:18
LjLdholbach: bot is down16:18
nxvldholbach: so what are we working at?16:18
nxvldholbach: MOTU/TODO?16:18
proppyso you will end with a .diff.gz with 'outside of debian/ changes ?16:18
dholbachnxvl: check out the back log - it's still the same bug: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/15439916:18
proppynorsetto: I thought it was not accepted16:18
norsettoproppy: its debatable, personally, I don't like it, its makes it difficult to trace your changes16:19
giftnudelproppy: probably a case of "Never ever do that, but know, it's just easier"16:19
giftnudel(now, not know)16:19
proppygiftnudel: norsetto: understood thanks for clearing it up16:20
sommernorsetto: why is it harder to trace changes?  Wouldn't it show up in the debdiff?  also documented in changelog?16:20
norsettosommer: yes, but it is showing up in the .diff.gz too, and that change will be incremental16:21
dholbachsommer: imagine you have 10 different patches all applied directly to the source16:21
norsettosommer: so, suppose you do 10 changes, how do you associate the changelog to the change?16:21
dholbachsommer: they affect 30 different files, now you want to remove one patch of them, because you understood that it's obsolete16:21
proppynorsetto: I guess we need also to patch SEE ALSO ?16:21
dholbachit's easier, if you can just remove one patch file in debian/patches :)16:21
sommerah... I'm with you16:22
persiasommer: Also consider that upstream may want your patches, and may only apply a subset.  It's a lot easier to deapply them separately when you manage them separately.16:22
norsettoand you know immediately which one16:22
dholbachgreat16:22
sommerthanks, that makes sense now.16:22
dholbachexcellent16:22
norsettodholbach: are we running short on time?16:23
dholbachif you guys want to continue, go ahead, that's fine - anybody who doesn't have time anymore, can go :)16:23
giftnudelso for just a simple fix like that, there's nothing that speaks against it, but for bigger patches, individual patches are  better16:24
norsettoso, what do we do once you have your patch? In this case corrected the line in the man page?16:24
norsettosomebody mentioned a changelog?16:24
sommerdch -i?16:24
norsettosommer: for instance16:24
norsettowhat is it going to be the new version number?16:25
persiagiftnudel: rather, it's better to follow the package you're working with.  Even a one-line change deserves a dedicated patch if the package has an patch system in use.16:25
giftnudelright, I forgot that16:25
sommernorsetto: good question... I'm still fuzzy on version numbering.16:26
proppynorsetto: perl -pi.bak -e 's/nfs \(5\)/nfs-common \(5\)/g' correct ?16:26
norsettosommer: its not difficult, check what is in the changelog already16:27
norsettoproppy: I like it when you talk to me like that ;-)16:27
proppynorsetto: ubuntu2 ?16:27
norsettoproppy: yes, in this case the old one was 2.13-8ubuntu1, so, since this is an ubuntu revision, we will use 2.13-8ubuntu216:28
norsettowhat if the old one was 2.13-8 ?16:28
giftnudelproppy: well, should nfs-utils not be changed to nfs-common?16:28
norsettobrb16:29
proppygiftnudel: you're right, my patch is bad :)16:29
proppygiftnudel: I missread the bug report16:29
sommerin 2.13-8. -8 is the debian package number correct?16:30
proppygiftnudel: the package is to be changed, not the manpage name16:30
dholbachsommer: yes16:30
dholbachsommer: if we do an ubuntu change, we simply add ubuntu1 and then increment it16:30
sommerdholbach: gotcha16:30
dholbachsommer: if we were the first to package 2.14 (which is not in debian yet, we'd have 2.14-0ubuntu116:30
norsettosorry about that, important phone call16:30
dholbachnorsetto: don't worry16:31
sommerokay... so the 8 isn't the 8th ubuntu version?16:31
norsettook, anything else we should do?16:31
norsettosommer, no its the debian revision16:31
persiasommer: That's the Debian revision.  For any -XubuntuY, X is the Debian revision, and Y is the Ubuntu revision.16:31
dholbachcoNP[uni], persia, huats, geser are here too and can help out :)16:31
* dholbach is about to call it a day16:32
norsettoa little thingie that we should not forget .....16:32
dholbachthanks everybody for showing up, thanks norsetto for running the biggest part of the session :)16:32
norsettosince we made an ubuntu modification, we should also change the maintainer16:32
proppygiftnudel: perl -pi.bak -e 's/nfs-utils package must be installed/nfs-common package must be installed/g' better ?16:32
sommercool... I think I'm good on revision numbers now too, thanks fellas16:32
sommerdholbach: thank you16:33
dholbachrock on :)16:33
giftnudelI wanted to help so often, but everytime I wanted to fix such an easy thing, there was so much I needed to think of and then I resigned again ...16:33
* dholbach hugs y'all - see you around, guys16:33
norsettogiftnudel: please come to #ubuntu-motu and ask for help, we are there also for this16:34
giftnudelyeah, I sometimes forget that ...16:34
sommernorsetto: what would we change the maintainer to?16:34
proppyit is not enough to know *what* line to add, we should also figure *where* :)16:35
sommerI see it's already Ubuntu-Core16:35
norsettosommer: yes, in this case you are correct16:35
giftnudelproppy: somewhere in the mount pos-inst part of control?16:35
giftnudelor that vincinity16:35
giftnudeleh, rules16:36
giftnudelor the mount.postint16:36
giftnudelso many places where this might work ...16:36
proppywhere is the mount.8 installed ?16:37
proppyoh I just grepped it in mount.files16:37
norsettook guys, I have to go too, it was nice talking to you, see you again in #ubuntu-motu16:37
sommernorsetto: thanks I appreciate your help16:38
giftnudelyes, hopefully16:38
proppygiftnudel: why not in rules install: target ?16:40
giftnudelwell, I don't know16:40
proppythat's where there is already some patching going on16:41
proppyme neither16:41
giftnudelyes, for this reason it's probably better there16:41
sommerI gotta run too... thanks all16:43
proppybut the install: target is large which line :)16:43
proppymaybe near dh_installdocs -i -s16:44
proppyjust after the endif16:44
proppyoops maybe Q&A is ended ? anybody stillup ?16:46
coNP[uni]proppy: sure16:48
coNP[uni]But you can also ask on -motu as always.16:48
proppyo k16:49
proppygiftnudel: still up to work on it ?16:49
LjLUbotwo: PART17:44

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