Test suite should give a warning when the copyright is outdated

Bug #191253 reported by Diogo Matsubara
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Every year we receive a bug report telling us that the copyright notice for Launchpad is outdated. We should have a test that notifies us that the copyright is outdated so we can fix it as soon as the year turns.

As part of this bug fix we should have a single place where the copyright is updated and all templates should use that information, similar to how we automatically generate the build information.

Changed in launchpad:
importance: Undecided → Low
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

We could use Python code to return the current year. This would be inaccurate between January 1st and the first rollout each year (we'd be claiming that the code had been changed that year, when it hadn't yet been), but it would be less work than updating the year manually.

To remove that inaccuracy, we could get Launchpad to run "bzr log -r -1" on its own codebase, and cache the year value from that.

Changed in launchpad:
status: New → Confirmed
Jonathan Lange (jml)
tags: added: build-infrastructure test-system
removed: infrastructure
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.