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
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      JAVA-2755 Fixed 3.7.0
      PHPC-890 Done 1.2.3
      PHPLIB-223 Done 1.1.1
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion JAVA-2755 Fixed 3.7.0 PHPC-890 Done 1.2.3 PHPLIB-223 Done 1.1.1

      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: