Cannot handle multiple copyright lines
Bug #506043 reported by
John A Meinel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Copyright Updater Plugin |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Related to bug #506041
The code also doesn't know how to handle multiple copyright lines. Eric de Castro Lopo added a copyright hook for his coding, which checks to make sure that the current date is listed in one of many copyright headers, where each line is a different author.
It might be interesting to have this as a configuration. Certainly Bazaar can determine what authors modifed the file, and what years they did so. If we really wanted to, we could use annotate information, and auto-prune out authors whose lines are no longer present.
Changed in bzr-update-copyright: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
This is something I was hoping to find/do when someone pointed me to this project.
Basically we have a copyright header that looks roughly like:
/*
* Copyright (c) 2009 Author1, Author2, Author3
* Copyright (c) 2010 Author1, Author3, Author4
*
* GPL Text here
*/
which I was hoping to automatically update. The author list could come from bzr log perhaps.