Comment 7 for bug 673407

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 673407] [NEW] automatic tarball creation for tags

On Thu, Nov 11, 2010 at 9:10 AM, Tim Penhey <email address hidden> wrote:
> On Thu, 11 Nov 2010 08:50:34 Aaron Bentley wrote:
>> On 11/10/2010 02:21 PM, Robert Collins wrote:
>> > It might be nice to allow 'tag causes release' even if we don't assume
>> > all tags are releases.
>>
>> If we don't assume all tags are releases, then we would need a rule to
>> determine which tags are releases.  What kind of rule would you propose?
>
> What if we had the ability to provide a tag in the release meta-data.
>
> This would cause the tarball to be created and added for that release.

That could be nice. It would also be very nice to drive it entirely from bzr:
 - get Release notes and changelog from the branch
 - export a tag
 - voilà

As for rules - one way would be a policy knob:
Tags can be used to create releases from this branch:
[] Do not create releases from tags
[] All tags should cause releases
[] Tags matching this regex should cause releases [ ]
[] Tags on commits by members of this team should cause releases [v
            ]

I doubt that there is an a-priori sensible default other than 'do not
create releases from tags' - but perhaps there is?
Rob