bzr-update-copyright
Martin Pool
mbp at canonical.com
Mon Jan 11 05:20:26 GMT 2010
2010/1/9 John Arbash Meinel <john at arbash-meinel.com>:
> So having thought about this a bit, I realized there is a *really* good
> use case for this. I went even one step further and the plugin now
> installs a 'start_commit' hook. Which means that if you have the plugin
> installed, and set "auto_update_copyright=True" in your configuration,
> every time you commit I'll scan for modified files, and then check to
> make sure that their copyright headers are correct.
>
> IOW, it will permanently keep your Copyright headers in sync with the
> data that Bazaar has for the file. (For files which you modify.)
>
> This is a neat enough feature that I'm turning bzr-update-copyright into
> its own project.
>
> lp:bzr-update-copyright
That's great. Can you add it to the plugin guide too?
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list