Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-329

Common policy for copyright dates in headers and documentation

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      Per legal, header files should use the following format for date ranges: "<year the file was created>-present". For example:

      # Copyright 2009-present MongoDB, Inc.
      #
      # Licensed under the Apache License, Version 2.0 (the "License");
      # you may not use this file except in compliance with the License.
      # ...
      

      Replace 2009 with whatever year the file was created.

      For documentation footers, the following text should be used:

      © MongoDB, Inc 2008-present. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.

      Replace 2008 with the inception year of the project.

      Original description follows
      -------------------------------------

      Different driver projects have different conventions for updating copyright dates in files:

      • Never update the year (list year of first creation)
      • Update the year in a file whenever the file is modified
      • Update all the files to the current year every year

      Should we have a common approach? Does it matter?

      As a criteria: if it doesn't really matter, we should choose the approach that requires the least amount of work for engineers.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: