Add test to notice when copyrights need updating

Bug #1592395 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Right now, we update copyright headers haphazardly. But it should be easy to automate.

A line like this should get all the files in bzr that updated this year:

bzr status --short --versioned -r date:2016-01-01.. | grep -v ^-D | grep -v '^R '

Then we use one of the various copyright update tools in the archive to check/update those files. (Something like copyright-update, licensecheck, license-reconcile, or licensing. I haven't surveyed them for which is best for us.)

So we could add a test for this and a convenience script to automatically update the files that are out of date.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.