/srv/irclogs.ubuntu.com/2015/10/25/#launchpad.txt

sergio-br2can anyone enable arm for this ppa? https://answers.launchpad.net/launchpad/+question/27304822:37
wgrantsergio-br2: Done.22:38
sergio-br2thanks22:39
carakaNoob question: Happy to RTFM if I could find it. Have launchpad mirroring github, separate bzr debian repo. Daily builds not autobuilding without a manual update of changelog in bzr debian repo. ANy way to automate this?23:41
carakaDev manages github, I maintain launchpad and bzr debian. Is there something dev needs to do at github end to make it work?23:43
carakaNow searching answers.launchpad, which I'd never seen until the header p[rovided here.23:46
wgrantcaraka: Can you link to the recipe?23:50
carakahttps://code.launchpad.net/~caraka/+recipe/gridcoin-daily23:51
carakaThanks23:51
wgrantcaraka: https://code.launchpad.net/~gridcoin/+archive/ubuntu/gridcoin-daily/+recipebuild/100565923:52
wgrantIf you look at the upload log you'll see the problem.23:52
wgrantINFO File gridcoinresearch_3.5.1.7-r162~ubuntu14.04.1.tar.gz already exists in gridcoin-daily, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.23:52
wgrantFrom your recipe:23:52
wgrant# bzr-builder format 0.3 deb-version {debupstream}-r{revno:packaging}23:52
wgrantSo the recipe build will build a version string from the latest upstream version in debian/changelog, plus the revno of the packaging branch.23:53
wgrantThat will break if the upstream branch (lp:gridcoin) changes without the packaging branch also changing -- the version number won't change.23:53
carakamakes sense23:54
wgrantYou probably want a version template something like {debupstream}+r{revno}-0ppa1+r{revno:packaging}23:54
wgrantThe r{revno} being the important bit here.23:54
carakaand as there is no changelog in the upstream (github), this cause the error?23:54
wgrantWell, sort of.23:55
wgrantEven if the upstream repo did have debian/changelog, it would still fail to upload unless they changed the upstream version in the changelog on every commit.23:55
carakaOk, I'm not entirely clear how this syntax change will fix it, but I'm more than happy to give it a go23:56
wgrantThe thing to remember is that package versions must be unique, so any change to one of the components of the package must change the version. And your current version template doesn't include anything about lp:gridcoin, so it will cause a conflict whenever lp:gridcoin changes.23:56
carakaAhh.23:56
wgrantAdding "r{revno}" to the template includes the revno of lp:gridcoin, fixing the issue.23:56
carakabingo. I think I'm following tyou now23:57
carakaso currently, the {debupstream} is an empty thing, i.e.not cvoming from github as Ii presumed23:57
carakaas I presumed23:58
wgrant{debupstream} is replaced with the upstream version (everything before the last "-") in debian/changelog.23:58
wgrantWhich will be from the packaging branch in this case.23:58
carakavery good. Where can I read up on this syntax, so I learn this rather than ape your good advice?23:59
carakabest time to study is when prob solving23:59

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