[00:14] <dominic1134> having 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/hX7DDRgh
[00:14] <stiVal> Hello! 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/trunk
[00:15] <stiVal> well ... two people working in the same thing with the same ideas :-p
[00:15] <dominic1134> hehe :-D
[00:29] <wgrant> stiVal: A single recipe builds a single Debian source package. That source package can produce multiple binary packages in the normal way.
[00:31] <stiVal> If 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:32] <stiVal> the easiest is "meta", which is a package that only holds dependencies
[00:33] <wgrant> Recipes assume that one branch roughly equates to one source package.
[00:33] <wgrant> If your branches don't follow that convention, you're going to have a tough time making recipes fit your workflow.
[00:34] <stiVal> so I should create multiple branches - one for each package?
[00:36] <stiVal> of get rid of the three packages and just create one package altogether
[00:36] <stiVal> hmmmm
[00:38] <nicekiwi> hey, im trying to have a recipe built, but its failing.. any ideas? https://answers.launchpad.net/bzr/+question/151218
[00:43] <stiVal> wgrant: thank you for your input, I will research what to do next!
[00:44] <nicekiwi> https://launchpadlibrarian.net/190055388/buildlog.txt.gz
[00:44] <wgrant> nicekiwi: That's a very old question without any recent comments.
[00:44] <wgrant> What exactly is your problem?
[00:44] <wgrant> bzr: ERROR: bzrlib.errors.BzrCommandError: No control file to take the package name from, and --package not specified.
[00:44] <nicekiwi> wgrant, well there my build log :/ the package fails to build
[00:45] <wgrant> http://bazaar.launchpad.net/~nicekiwi/+junk/hello-packaging/files <- there's no debian/control there.
[00:45] <wgrant> Your recipe needs to result in an unpacked Debian source package.
[00:46] <nicekiwi> Ah.. >_>
[00:46] <wgrant> https://help.launchpad.net/Packaging/SourceBuilds/Recipes
[00:52] <nicekiwi> wgrant, hmm ok.. Ive pushed the debian folder and now a new message im not sure I understand
[00:52] <nicekiwi> bzr: 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:53] <wgrant> nicekiwi: debian/changelog's format is invalid. Have you tried building the package locally with dpkg-buildpcakge?
[00:53] <nicekiwi> wgrant, no. sorry im quite new at this.. following a guide at http://elementaryos.org/docs/code/packaging
[00:55] <wgrant> Huh
[00:55] <wgrant> The changelog format there is very wrong, and you shouldn't normally be manually doing that anyway.
[00:55] <wgrant> One normally uses the 'dch' tool.
[00:55] <wgrant> And you should always test build locally first.
[00:55] <wgrant> http://packaging.ubuntu.com/html/ is probably of interest.
[01:00] <nicekiwi> thats worrying :/
[02:03] <nicekiwi> wgrant, how do I build debs?
[02:05] <nicekiwi> locally :/ hmm.. this isent the best place to ask is it..
[02:12] <nicekiwi> groupon#shameongroupongnome trademark
[02:13] <nicekiwi> oops
[02:33] <wgrant> nicekiwi: The packaging guide goes through that. But you'd use dpkg-buildpackage or debuild.
[17:00] <nickoe> I 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:58] <dobey> nickoe: what do you mean exactly? https://launchpad.net/+apidoc/1.0.html shows everything you can get via the API
[17:59] <cjwatson> nickoe: you might be looking for the activity collection on a bug
[18:00] <dobey> that, or expanding search to include old bugs perhaps.
[18:01] <cjwatson> nickoe: 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 instance
[18:01] <cjwatson> Launchpad itself doesn't keep that kind of information in a convenient form
[18:17] <nickoe> dobey: I was thinking to plot for example graphs over the number of bugs and their status over time.
[18:19] <nickoe> cjwatson:  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:21] <dobey> nickoe: so you want something like the burndown charts we have in ubuntu?
[18:23] <dobey> you probably don't need to iterate over the activity in the bug to do a burndown chart, or to graph how long bugs remained open
[18:23] <dobey> you just need the bug_task and can get the dates and status from that, i think
[18:24] <nickoe> dobey: mmm, burndown, I don't know that term. But I guess that is waht I would like.
[18:26] <dobey> nickoe: something like http://status.ubuntu.com/coreapps-13.10/
[18:26] <dobey> nickoe: where you measure open vs. closed bugs over a period of time up to a milestone
[18:27] <nickoe> dobey: yeap, exactly something like that. So is the script that can fetch that data somewhere out there to fetch?
[18:27] <dobey> afaik, yes
[18:27] <dobey> but i don't know where it is exactly :)
[18:28] <dobey> cjwatson might know where the status.ubuntu.com stuff lives, though
[18:28] <nickoe> Thank you so far :)
[19:37] <cjwatson> I don't know where the code for status.ubuntu.com lives.
[19:37] <cjwatson> As 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:38] <cjwatson> Of course that means you can only start from now, rather than months ago.
[20:54] <nickoe> cjwatson: Ok, thank you.