[merge] bzr re-sign update

John A Meinel john at arbash-meinel.com
Wed Feb 15 00:44:48 GMT 2006


Aaron Bentley wrote:
> John A Meinel wrote:
>>> I updated 'bzr re-sign' so that it can take more than one revision id as
>>> an argument.
> ...
>>> I'm seeking a +1 so I can put it into integration.
> 
> +1, but it would be cooler if you could re-sign all your old revisions
> without using xargs.
> 
> Aaron

Because I realized I really do agree with you, I wrote a plugin.

http://bzr.arbash-meinel.com/plugins/signing/

which provides:

 bzr sign-my-commits
and
 bzr pull-sigs

'bzr sign-my-commits' goes through all of the revisions and signs ones
that match your committer information for that branch.
It uses the BranchConfig, so it should handle if you have special
committers for different branches, or special signing rules for
different branches.

It also supports signing branches over sftp (tested). So you can sign
your public repository if you want. It probably is a bit slower, since
it has to pull all of the revision information across the network.

Actually the biggest reason I wrote this, is because I wanted to create
signatures only for revisions I haven't signed yet. Since I'll pull the
other signatures from branches that do have signatures.

pull-sigs does what one might expect. It checks all revisions for
signatures, and attempt to pull ones that it doesn't have.

The branch is available, and I've used it for my work.
There are no tests, but the code is pretty straightforward.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060214/71f901b6/attachment.pgp 


More information about the bazaar mailing list