/srv/irclogs.ubuntu.com/2014/11/11/#launchpad.txt

=== stiV_ is now known as stiVal
dominic1134having a problem to build a ppa. build process fails with "bzr: ERROR: bzrlib.errors.BzrCommandError: No control file to take the package name from, and --package not specified."  , build log http://pastebin.com/hX7DDRgh00:14
stiValHello! Is it possible to build multiple packages using ONE recipe in ONE ppa. I am trying to build three packages (not arch dependend) but I just can't find the information on how to tell launchpad (or the bzr-builder) to use three different subdirectories to start building. The project im working on is: https://code.launchpad.net/~open-as-team/open-as-cgw/trunk00:14
stiValwell ... two people working in the same thing with the same ideas :-p00:15
dominic1134hehe :-D00:15
wgrantstiVal: A single recipe builds a single Debian source package. That source package can produce multiple binary packages in the normal way.00:29
stiValIf you would have a look at the code, there are multiple directories, three of those have the code and information to build packages (dpkg-buildpackage works inside those directories). they are "meta" "lib" and "gui". Is there any way to tell a recipe to build one of those (and therefor create three recipes to create all three packages)?00:31
stiValthe easiest is "meta", which is a package that only holds dependencies00:32
wgrantRecipes assume that one branch roughly equates to one source package.00:33
wgrantIf your branches don't follow that convention, you're going to have a tough time making recipes fit your workflow.00:33
stiValso I should create multiple branches - one for each package?00:34
stiValof get rid of the three packages and just create one package altogether00:36
stiValhmmmm00:36
nicekiwihey, im trying to have a recipe built, but its failing.. any ideas? https://answers.launchpad.net/bzr/+question/15121800:38
stiValwgrant: thank you for your input, I will research what to do next!00:43
nicekiwihttps://launchpadlibrarian.net/190055388/buildlog.txt.gz00:44
wgrantnicekiwi: That's a very old question without any recent comments.00:44
wgrantWhat exactly is your problem?00:44
wgrantbzr: ERROR: bzrlib.errors.BzrCommandError: No control file to take the package name from, and --package not specified.00:44
nicekiwiwgrant, well there my build log :/ the package fails to build00:44
wgranthttp://bazaar.launchpad.net/~nicekiwi/+junk/hello-packaging/files <- there's no debian/control there.00:45
wgrantYour recipe needs to result in an unpacked Debian source package.00:45
nicekiwiAh.. >_>00:46
wgranthttps://help.launchpad.net/Packaging/SourceBuilds/Recipes00:46
nicekiwiwgrant, hmm ok.. Ive pushed the debian folder and now a new message im not sure I understand00:52
nicekiwibzr: ERROR: bzrlib.errors.BzrCommandError: No previous changelog to take the upstream version from as {debupstream} was used: No previous changelog to take the upstream version from: debian/changelog didn't contain any parseable stanzas.00:52
wgrantnicekiwi: debian/changelog's format is invalid. Have you tried building the package locally with dpkg-buildpcakge?00:53
nicekiwiwgrant, no. sorry im quite new at this.. following a guide at http://elementaryos.org/docs/code/packaging00:53
wgrantHuh00:55
wgrantThe changelog format there is very wrong, and you shouldn't normally be manually doing that anyway.00:55
wgrantOne normally uses the 'dch' tool.00:55
wgrantAnd you should always test build locally first.00:55
wgranthttp://packaging.ubuntu.com/html/ is probably of interest.00:55
nicekiwithats worrying :/01:00
=== broder__ is now known as broder_
nicekiwiwgrant, how do I build debs?02:03
nicekiwilocally :/ hmm.. this isent the best place to ask is it..02:05
nicekiwigroupon#shameongroupongnome trademark02:12
nicekiwioops02:13
wgrantnicekiwi: The packaging guide goes through that. But you'd use dpkg-buildpackage or debuild.02:33
=== Trevinho__ is now known as Trevinho_
=== alexlist` is now known as alexlist
nickoeI was just looking at https://github.com/percona/launchpad-bugs-python , it is posisble for the python launchpadlib to fetch  historical bug data? The script I linked only shows the current stats.17:00
dobeynickoe: what do you mean exactly? https://launchpad.net/+apidoc/1.0.html shows everything you can get via the API17:58
cjwatsonnickoe: you might be looking for the activity collection on a bug17:59
dobeythat, or expanding search to include old bugs perhaps.18:00
cjwatsonnickoe: though if you're looking for historical stats about bugs on a given target, I don't think there's a good way to do that; you could get some of it by searching for all statuses and reconstructing things from activity collections, but there's no reasonable way to get hold of bugs that were once on that target and have since been reassigned somewhere entirely different, for instance18:01
cjwatsonLaunchpad itself doesn't keep that kind of information in a convenient form18:01
nickoedobey: I was thinking to plot for example graphs over the number of bugs and their status over time.18:17
nickoecjwatson:  dobey:  Ok, yes I have seen that doc, and I did indeed see that I can get the bug_task one, where I can get the date of the status. So if I could seach a bug for each status then I guess I can query them.18:19
dobeynickoe: so you want something like the burndown charts we have in ubuntu?18:21
dobeyyou probably don't need to iterate over the activity in the bug to do a burndown chart, or to graph how long bugs remained open18:23
dobeyyou just need the bug_task and can get the dates and status from that, i think18:23
nickoedobey: mmm, burndown, I don't know that term. But I guess that is waht I would like.18:24
dobeynickoe: something like http://status.ubuntu.com/coreapps-13.10/18:26
dobeynickoe: where you measure open vs. closed bugs over a period of time up to a milestone18:26
nickoedobey: yeap, exactly something like that. So is the script that can fetch that data somewhere out there to fetch?18:27
dobeyafaik, yes18:27
dobeybut i don't know where it is exactly :)18:27
dobeycjwatson might know where the status.ubuntu.com stuff lives, though18:28
nickoeThank you so far :)18:28
cjwatsonI don't know where the code for status.ubuntu.com lives.19:37
cjwatsonAs far as I know, everything that draws graphs of things in Launchpad over time stores its own data over time, rather than expecting Launchpad to store it.19:37
cjwatsonOf course that means you can only start from now, rather than months ago.19:38
nickoecjwatson: Ok, thank you.20:54

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