Respect copyright headers
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Tue May 21 14:07:13 UTC 2013
On Tue, May 21, 2013 at 4:38 AM, Dimiter Naydenov
<dimiter.naydenov at canonical.com> wrote:
> Please, let's stick to what's been agreed upon and add
> these 2 lines for all new code:
>
> // Copyright 2013 Canonical Ltd.
> // Licensed under the AGPLv3, see LICENCE file for details.
Note that this should be separated from the top package line by at least
one empty line, as by convention the comment that comes right above
that line is the documentation of the package (automatic doc tools use it).
> In addition to make things easier for maintenance there's the excellent
> bzr update-copyright plugin which can be used like this:
(...)
> It'll update the years accordingly so you don't have to worry about
> listing all of them.
I'd suggest not updating the years at all, as it creates a conflict
that has to be solved by hand when merging, and it's trivial for a
single person to once every few years update these numbers.
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list