Public bug reported:

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.

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1592395

Title:
  Add test to notice when copyrights need updating

Status in unity8 package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1592395/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to