/srv/irclogs.ubuntu.com/2014/08/15/#launchpad.txt

alesagePPA-builder-masters: is there a way to compel a PPA-build to drag in a package as a dependency save doctoring the build's debian/control file to add?00:12
tsimpsonthat is the way to manage build dependencies00:14
alesagetsimpson, sure; I'm talking about doing this during pkgbinarymangling, e.g. in the dh_auto_test script, to pull in a special dependency to enable coverage reporting--is there a sudo command that'll give me apt-get powers there?00:23
alesagesomehow this seems less illegal than modifying a building package's debian/control00:24
tsimpsonno, you don't have root access in the build00:26
dobeydoesn't pkgbinarymangler mangle *binary* packages?00:30
alesagetsimpson, thanks--which debhelper or dpkg script runs early enough to facilitate editing control?  reading a log but nothing leaping out at me00:31
dobeyie, for the langpacks thing, it strips translations out of binary packages for getting them into langpacks00:32
alesagedobey, I do see that in pitti's code, yes--I think it does this by overriding dh_translations (i.e. diverting it)00:32
dobeyalesage: what are you trying to accomplish exactly? nothing runs early enough to alter debian/control in a PPA (and nothing should alter it)00:33
alesagefor the record I'm using these diversions to replicate a pbuilder-hooks process we use in Jenkins presently00:33
dobeyok, so PPAs don't have diversions for langpacks and such00:33
alesagedobey, right the 'no editing control' seems ethical00:34
dobeyif you want to enable diversions of dpkg build tools on PPAs somehow, you probably need to talk to wgrant about adding a feature to launchpad to do that00:35
alesagedobey just wanting to add li'l ol' gcovr to everybody's control so that I can spit out coverage.xml00:35
dobeyalesage: the best way to do that is probably to just fix the packaging to do that00:36
alesagedobey, for the record it's working in a PPA with pkgbinarymangler installed, I think that's the design00:36
alesagedobey that's fair, good suggestion00:36
wgrantpkgbinarymangler is always installed.00:36
wgrantIt disables most of its functionality for PPA builds.00:36
alesagewgrant ok I'm learning :)00:37
wgrantIf your pkgbinarymangler changes depend on a package, your pkgbinarymangler should depend on that pacakge.00:37
alesagewgrant, intriguing, wouldn't have thought of that--this means I could drag in a package, e.g. via pkgbinarymangler itself00:38
alesagewe'll call it retromangling00:38
wgrantIf a package uses another package, it must depend on that package.00:38
wgrantSo if you adjust pkgbinarymangler to use gcov, pkgbinarymangler must depend on gcov.00:38
alesagefor the curious, an early sketch of this is in lp:~allanlesage/pkgbinarymangler/coverage-mangler00:39
alesagewgrant, this sounds just, let me experiment with00:39
alesagewgrant, also thanks--the 'pkgbinarymangler always installed' resolves a question as to how my modified version was pulled in00:40
=== ndec is now known as ndec|vacations
ricotzhello, please take a look at https://answers.launchpad.net/launchpad/+question/25309312:06
=== cyphermox__ is now known as cyphermox
alesageI'm finding that my dputs to PPA don't always arrive--some do, some don't http://pastebin.ubuntu.com/8056412 --am I making a versioning error here?  or is there a permissions scheme?  this is for https://launchpad.net/~allanlesage/+archive/ubuntu/coverage-mangler-1219:46
dobeyalesage: are you getting e-mails for them?19:49
alesagedobey good q let me investigate19:49
alesagedobey thanks, should've gone directly to that :/19:50
dobey:)19:50
alesagedobey in this case I'm getting 'already exists in primary archive'--can you suggest a versioning scheme for me so that I a) don't break the world and b) can experiment at will?19:51
alesagebeen tacking on ~alesage0X but evidently I have to tick the rev as well19:52
dobeyalesage: don't build the source package with -sa option to debuild19:54
dobeyalesage: the error is about the orig.tar.gz right?19:55
alesagedobey, true19:55
alesagedobey, trying to grok which of the bzr bd options to use to accomplish this, any hints?20:06
dobeyalesage: what are you running right now?20:09
alesagedobey, I'm in trusty20:09
alesagedobey sorry I'm just bzr bd -S 'ing20:09
* alesage is having a case of the Fridays20:10
dobeyalesage: hrmm, that shouldn't be including the orig.tar.gz in the upload then i don't think20:11
dobeyalesage: what is the full error message from LP exactly?20:11
alesagedobey I'll paste one min20:11
alesagedobey http://paste.ubuntu.com/8056735/20:12
dobeyoh20:14
alesageoh?20:15
dobeyyeah, oh, a lot of projects that are managed by ci train do versioning wrong20:16
dobeythey have non-native versions, and act like they aren't native packges, but they really are20:16
dobeyso you changed something in the source files directly in the tree20:17
dobeyand it built a new orig.tar.gz with the same version, and is complaining about that20:17
alesagethis makes sense although the only change I've made was to the changelog20:18
alesage(don't know if we consider that to be "part of the tree" as it's in the repository)20:18
dobeywhat branch did you build the source from?20:19
alesagedobey I'm just going to the lp: repos. . . .20:20
alesagedobey what's the correct source?20:21
dobeythough if you really only changed debian/changelog and used the right branch, it doesn't make sense, as the orig.tar.gz should be the same that's in ubuntu already i would think20:22
alesagedobey this also makes sense20:23
dobeyyou used lp:platform-api ?20:24
alesagedobey yes20:24
dobeyalesage: do you also have a .debian.tar.gz or .diff.gz that has the debian/ contents? or are those in the orig.tar.gz as well?20:25
alesagedobey I mean I start clean--let me produce a run20:27
alesagedobey http://pastebin.ubuntu.com/8057070/20:28
alesagedobey going to ask the ci ppl as they must work around this all day20:31

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