Merge lp:~jelmer/launchpad-buildd/correct-target-distribution into lp:launchpad-buildd

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Graham Binns
Approved revision: 41
Merged at revision: 44
Proposed branch: lp:~jelmer/launchpad-buildd/correct-target-distribution
Merge into: lp:launchpad-buildd
Diff against target: 11 lines (+1/-0)
1 file modified
buildrecipe (+1/-0)
To merge this branch: bzr merge lp:~jelmer/launchpad-buildd/correct-target-distribution
Reviewer Review Type Date Requested Status
Graham Binns (community) code Approve
Review via email: mp+83580@code.launchpad.net

Description of the change

Use the actual target distroseries name in changelog, rather than the same as the last entry.

This is the fix suggested by James Westby in bug 855479.

To post a comment you must log in.
Revision history for this message
Graham Binns (gmb) wrote :

Hi Jelmer,

Thanks for this branch. I don't know enough about buildd to know whether or not the fact that you haven't added a test is a bad thing or a necessary evil. Can you enlighten me?

review: Needs Information
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi Graham,

Thanks for looking at this branch.

Am 29/11/11 11:52, schrieb Graham Binns:
> Review: Needs Information
>
> Hi Jelmer,
>
> Thanks for this branch. I don't know enough about buildd to know whether or not the fact that you haven't added a test is a bad thing or a necessary evil. Can you enlighten me?
We don't have any real tests for this code, although Martin (Pool) has
started looking at refactoring it so it can be more easily tested. When
we do, we will hopefully also be testing the exact invocation of "bzr
dailydeb".

A regression of this bug wouldn't be the worst thing in the world, it
just means a slightly incorrect debian/changelog file. We've lived with
it until now without problems.

Cheers,

Jelmer

Revision history for this message
Graham Binns (gmb) wrote :

Okay, thanks for the info. I'm happy for this to land.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'buildrecipe'
--- buildrecipe 2011-11-18 02:02:34 +0000
+++ buildrecipe 2011-11-28 11:00:57 +0000
@@ -127,6 +127,7 @@
127 '-Derror',127 '-Derror',
128 'dailydeb', '--safe', '--no-build', recipe_path,128 'dailydeb', '--safe', '--no-build', recipe_path,
129 self.tree_path, '--manifest', manifest_path,129 self.tree_path, '--manifest', manifest_path,
130 '--distribution', self.distroseries_name,
130 '--allow-fallback-to-native', '--append-version',131 '--allow-fallback-to-native', '--append-version',
131 '~%s1' % self.distroseries_name], env=env)132 '~%s1' % self.distroseries_name], env=env)
132 if retcode != 0:133 if retcode != 0:

Subscribers

People subscribed via source and target branches