Closed
Description
People don't consistently update the year in the copyright block when they edit a file. Could we either (a) just globally update them all to the latest year when the year changes (as suggested by @thestinger on IRC), or (b) if we really have to have per-file copyright granularity, have tidy check that the copyright year matches the last-modified date of the file?
Activity
thestinger commentedon Sep 9, 2013
cc @brson - probably just have to ping Mozilla's legal department and see if we could handle the copyright year on a project basis rather than a file basis
As far as I know, we only have the per-file headers to avoid mistakes if someone extracts a portion of the project, and to keep it clear which files are under different licenses.
brson commentedon Jan 8, 2014
I've been given advice that the entire copyright line, including the date is legally all but worthless, so it basically doesn't matter whether we keep them up to date or not. It was suggested that we continue to do it on a best-effort basis and not sweat it, though I guess that's not too satisfying since putting any effort into something useless is kinda silly.
brson commentedon Jan 8, 2014
Having them be inconsistent also just rubs one the wrong way too. If anyone feel strongly we should add some automation here we can still consider it.
ahmedcharles commentedon May 28, 2014
Just curious, where's the check code that runs during the build to verify line lengths? That's probably easy to update to check the header of each file?
brson commentedon May 28, 2014
@ahmedcharles src/etc/tidy.py and src/etc/licenseck.py
remove copyright lines
frewsxcv commentedon Feb 2, 2015
/cc @gerv since he was consulted in #21481
IANAL, but realistically I wouldn't think there's much of a difference if the year in the header is off by a couple years.
gerv commentedon Feb 2, 2015
The policy I recommend is:
The actual copyright status of the file is unaffected by what it says at the top, so people for whom it's actually important when the copyright expires (i.e. no-one) will have to do more research in any case.
frewsxcv commentedon Feb 2, 2015
@gerv Sounds very sane in my opinion. Given that response, this can be closed?
lkuper commentedon Feb 2, 2015
Yeah, since filing this bug over a year ago I came to realize (from working on another project) that the dates in the files really don't matter. I also think it can be closed.
alexcrichton commentedon Feb 2, 2015
Ok, thanks for the info @gerv!
9 remaining items