Opened on 03/12/2014 at 12:19:47 PM

Closed on 03/12/2014 at 01:18:29 PM

#102 closed change (fixed)

Update year in license headers

Reported by: greiner Assignee: trev
Priority: Unknown Milestone:
Module: Unknown Keywords:
Cc: Blocked By:
Blocking: Platform:
Ready: Confidential: no
Tester: Verified working: no
Review URL(s):



Currently, the license headers in all projects contain the line Copyright (C) 2006-2013 Eyeo GmbH.

What to change

This should be changed to Copyright (C) 2006-2014 Eyeo GmbH.

Attachments (0)

Change History (2)

comment:1 Changed on 03/12/2014 at 12:39:31 PM by trev

  • Owner set to trev
  • Status changed from new to assigned

Ah, thanks to the switch from MPLv2 to GPLv3 we have to do this every year again...

comment:2 Changed on 03/12/2014 at 01:18:29 PM by trev

  • Resolution set to fixed
  • Status changed from assigned to closed

From what I can tell, all repositories with GPLv3 headers have been updated. Only exception is the adblockplusopera repository, this one is only being kept around for historical reasons:

The following script has been used, might be useful next year:

# coding: utf-8

import sys, os

year = int(sys.argv[1])
fromStr = "Copyright (C) 2006-%i Eyeo GmbH" % (year - 1)
toStr = "Copyright (C) 2006-%i Eyeo GmbH" % (year)

def processDir(path):
  for name in os.listdir(path):
    if name.startswith("."):
    filepath = os.path.join(path, name)
    if os.path.isdir(filepath):
      if not os.path.exists(os.path.join(filepath, ".hg")):
      with open(filepath, "rb+") as file:
        data =
        if data.find(fromStr) >= 0:
          data = data.replace(fromStr, toStr)



Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from trev.
Note: See TracTickets for help on using tickets.