/srv/irclogs.ubuntu.com/2012/06/02/#ubuntu-motu.txt

=== wylde_ is now known as wylde
=== arand_ is now known as arand
=== mitya57_ is now known as mitya57
=== yofel_ is now known as yofel
jtaylorhm requestsync does not work in precise18:41
jtaylorit just hands at please edit the report18:41
jtaylorok no its just hanging on getting the changelog from the server18:47
jtaylora very long time but finally it made it :) there should be some indication that its doing somethng18:49
AmberJ_Hello19:21
AmberJ_I just uploaded a source package to my PPA using 'dput'. Why did it uploaded the .deb file as well (created by 'debuild' on my system)?19:22
jtaylorprobably because you built with default debuild options19:24
jtayloryou want -S for source only19:24
jtayloradd -sa if its a new upstream19:24
jtaylorthose are options to dpkg-genchanges19:24
AmberJ_Ah right, I simply ran 'debuild'.19:26
AmberJ_Moreover, Launchpad PPA rejected my upload with error: "Unknown section 'unknown'". Time to get debian/control in shape...19:26
AmberJ_jtaylor, What does it do with .deb file that gets uploaded (if I use default 'debuild' options)?19:27
jtaylorlaunchpad will reject the upload19:28
jtaylorbut its the default upload mode in debian19:28
jtaylorthe deb will be published19:28
jtaylornot rebuilt19:28
AmberJ_ok19:28
AmberJ_Launchpad PPA rejected my upload with error: "Unknown section 'unknown'". So, I edited debian/control accordingly. Then I did 'debuild -nc'.19:43
AmberJ_Now when I dput source.changes, I get "Package has already been uploaded to ppa on ppa.launchpad.net"19:43
AmberJ_Nevermind. https://help.launchpad.net/Packaging/UploadErrors has the solution...19:44
AmberJ_How common (and normal) is it for a project to include a debian/ in upstream source/repo/tarball?19:51
jtaylornot common and not encouraged19:52
jtaylorif they do it should be in a branch or subfolder19:52
AmberJ_in a subfolder? Suppose I branch the project repo in directory 'xyz'... Do you mean that we should keep debian/ in xyz/subfolder/debian/ instead of xyz/debian/ ?20:08
AmberJ_+in case they really do it20:08
jtaylorfor example20:11
jtaylorthat makes simpler for debian packagers20:11
jtayloras upstream debian/ folders can cause issues20:12
AmberJ_Ok, I'll communicate the message to the developers.20:17
AmberJ_Thanks!20:17
jtaylorI think its not so bad with the 3.0 format20:18
jtaylorit removes the debian folder before unpacking20:18
jtaylorbut I think that still causes issues with VCS20:18
AmberJ_ok20:22
AmberJ_How do most debian/ubuntu developers automate debian/ creation then? Is this documented somewhere?20:28
jtaylorits no automatic process20:29
jtayloryou can use dh_make to get a starting template20:29
AmberJ_ok, that means for every new version of deb that you create, you start from dh_make and manually edit debian/control , debian/rules etc (?20:34
jtayloryes20:38
AmberJ_ok20:41
directhexit's not so bad, starting with a blank slate means less "legacy" nonsense that only made sense in 200721:16

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