/srv/irclogs.ubuntu.com/2012/05/12/#ubuntu-motu.txt

brodertumbleweed: do we have a helper function in ubuntutools yet for "what version of $foo is current across all pockets in $release"?00:29
broderooh, there is. sweet00:31
tumbleweed:)00:31
pdtpatrickQuestion - would someone please explain/help me with .deb packaging. I'm using deb helper and i've gone through the PackagingGuide.pdf -- and i still cannot understand how you move files around. For instance, if i want the .deb file when installed to have files in /etc/ and then /home/user/.filename  .. where/how do i do that ?  would this be the dh_installdeb helper script ?00:50
sorenpdtpatrick: You can't generally ship files in /home.00:50
sorenpdtpatrick: ...because you don't know at the time you build the package what the users on the system are called.00:51
pdtpatricksoren: okay let's say i make a package and i want to dump them around for instance, in /etc or maybe /data00:51
sorenpdtpatrick: I'm supposing you'll elaborate?00:53
sorenpdtpatrick: Otherwise, my answer will be equally (un-)specific: Use the mv command.00:54
pdtpatrickLet's assume i've created a shell script that allows admins to type "sstat" and it displays something like: http://cl.ly/1U0Z0a0R2e341z1f0c0300:55
pdtpatricksoren: and i'd like that script deployed in /usr/local/sbin when the package is installed00:55
sorenpdtpatrick: Why?00:56
pdtpatrickI'm just trying to learn how to do - it has also confused me on how to accomplish that00:56
pdtpatricksoren: for instance, i'll install an asterisk package and it creates /etc with all the configs and such. I'd like to know how to do something like that00:56
sorenpdtpatrick: Then ask about that :)00:57
pdtpatricksoren: sorry- would u please help with that :)00:57
sorenpdtpatrick: Don't ask how to put stuff in /usr/local/bin if you really want to put things in /etc.00:57
sorenPackaging tools will likely (and should) shout and scream if you try to put things in /usr/local.00:57
pdtpatrickfair enough. Is this something u could explain/help with ?00:57
sorenNot with this little detail. Most things we package install things in etc themselves and the packaging magic just leaves it there.00:58
sorenSo to figure out why that doesn't work for you... We need more detail.00:58
tumbleweedif you don't have any kind of build system for the upstream package, it's fairly easy to install things with dh_install (see its manpage)00:59
pdtpatrickfor instance, i was learning by following the guide00:59
pdtpatrickhttp://cl.ly/27142Z260M3w1F1y3q1200:59
pdtpatrickbut now i'd like for testing purposes to have it put something /etc/<dirname>/filename01:00
pdtpatricki don't know how to accomplish that01:01
sorenpdtpatrick: Yeah, what tumbleweed said ^01:01
pdtpatricktumbleweed: is there an example you can share please01:02
tumbleweedpdtpatrick: "foo.cfg /etc" in debian/install01:03
pdtpatrickand foo.cfg would be in debian/  right ?01:04
tumbleweedno01:04
tumbleweedI quote from the manpage: The name of the files (or directories) to install should be given relative to the current directory01:05
pdtpatrickwas just reading that. Thanks01:05
=== ara is now known as Guest66847
LaneyPackaging branch status: CURRENT01:26
Laneyis there anything sweeter?01:26
tumbleweeddebdiffs? :)01:27
Laneyi might agree with you, depending on how well bzr handles this merge01:27
Laney(emacs23) :(01:28
Laneyalthough trying to bzr branch on crappy airport wifi …01:29
* Laney should get barry to do it as TIL :P01:31
brodercommitter: Evan Broder <evan@caron.(null)> > uuuugh01:32
broderi hate having to re-do this for every vcs01:32
brodercan i...do some sort of rebase to fix that?01:33
brodertumbleweed: around to do a u-d-t review? (will timeout in a minute or so and open a mp)01:35
* Laney NFI01:35
tumbleweedbroder: in the bar01:35
* broder heads that way01:35
LaneyI assume you have an .$SHELLrc; you might want to make that set BZR_EMAIL01:36
broderLaney: equally easy to run bzr whoami 'Evan Broder <evan@ebroder.net>'01:36
broderthere would be no difference if i actually had a sane dotfile management system01:37
Laneyequally easy to forget you mean? ;)01:37
LaneyI assume one dotfile you don't forget is that one01:37
broderi don't really have any dotfile htat's on all my machines01:37
Laneyfair01:38
* Laney makes a mental note to digest http://vcs-home.branchable.com/ at some point01:38
Laney100mb to branch emacs23 so far ...01:41
* Laney reflects that this would have taken 33⅓ hours on his first internet connection01:43
pdtpatrickQuestion - i've got a setup like this: http://pastie.org/private/y6dsewj2lnbeamylrzg05:12
pdtpatricki would like the helloworld.py to get copied to /tmp on the filesystem when the .deb is installed05:12
pdtpatrickhowever i seem to be doing it wrong05:12
pdtpatrickI keep getting the following error after running "pbuilder create "05:16
pdtpatrickhttp://pastie.org/pastes05:17
cody-somervillepdtpatrick, You need to link to the specific paste.05:18
pdtpatrickcody-somerville: http://pastie.org/389853705:19
pdtpatrickcody-somerville: here's a structure of my source05:20
pdtpatrickhttp://pastie.org/private/y6dsewj2lnbeamylrzg05:20
cody-somervillepdtpatrick, I need the full log including the command you executed.05:20
pdtpatrickok05:20
pdtpatrickcody-somerville: http://pastie.org/private/hzuppi2mblgihjm27codfa05:22
pdtpatrickcody-somerville: I'm using the default rules file.05:28
pdtpatrickhttp://pastie.org/389856305:28
=== ripps_ is now known as ripps
pdtpatrickwell after some battles - finally figured it out by reading:06:15
pdtpatrickhttp://static.debian-handbook.info/browse/stable/sect.becoming-package-maintainer.html#idp1250775206:15
=== pi-rho is now known as pi-rho|away
=== yofel_ is now known as yofel
=== Zic is now known as Guest33267
=== Guest33267 is now known as Zic
PaoloRotoloHi all!16:14
=== fabo_ is now known as fabo
=== pi-rho|away is now known as pi-rho
=== wylde_ is now known as wylde
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away

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