)]}'
{
  "commit": "eca3aeb352c964bdb28b8e191d6326370245e03f",
  "tree": "4d84d0d3881ca8f60a6405efb47bb5f6277cd3e9",
  "parents": [
    "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
  ],
  "author": {
    "name": "Wolfgang Denk",
    "email": "wd@denx.de",
    "time": "Fri Jun 21 10:22:36 2013 +0200"
  },
  "committer": {
    "name": "Tom Rini",
    "email": "trini@ti.com",
    "time": "Wed Jul 24 09:44:16 2013 -0400"
  },
  "message": "Licenses: introduce SPDX Unique Lincense Identifiers\n\nLike many other projects, U-Boot has a tradition of including big\nblocks of License headers in all files.  This not only blows up the\nsource code with mostly redundant information, but also makes it very\ndifficult to generate License Clearing Reports.  An additional problem\nis that even the same lincenses are referred to by a number of\nslightly varying text blocks (full, abbreviated, different\nindentation, line wrapping and/or white space, with obsolete address\ninformation, ...) which makes automatic processing a nightmare.\n\nTo make this easier, such license headers in the source files will be\nreplaced with a single line reference to Unique Lincense Identifiers\nas defined by the Linux Foundation\u0027s SPDX project [1].  For example,\nin a source file the full \"GPL v2.0 or later\" header text will be\nreplaced by a single line:\n\n        SPDX-License-Identifier:        GPL-2.0+\n\nWe use the SPDX Unique Lincense Identifiers here; these are available\nat [2].\n\nNote: From the legal point of view, this patch is supposed to be only\na change to the textual representation of the license information,\nbut in no way any change to the actual license terms. With this patch\napplied, all files will still be licensed under the same terms they\nwere before.\n\nNote 2: The apparent difference between the old \"COPYING\" and the new\n\"Licenses/gpl-2.0.txt\" only results from switching to the upstream\nversion of the license which is differently formatted; there are not\nany actual changes to the content.\n\nNote 3: There are some recurring questions about linense issues, such\nas:\n    - Is a \"All Rights Reserved\" clause a problem in GPL code?\n    - Are files without any license header a problem?\n    - Do we need license headers at all?\n\nThe following excerpt from an e-mail by Daniel B. Ravicher should help\nwith these:\n\n| Message-ID: \u003c4ADF8CAA.5030808@softwarefreedom.org\u003e\n| Date: Wed, 21 Oct 2009 18:35:22 -0400\n| From: \"Daniel B. Ravicher\" \u003cravicher@softwarefreedom.org\u003e\n| To: Wolfgang Denk \u003cwd@denx.de\u003e\n| Subject: Re: GPL and license cleanup questions\n|\n| Mr. Denk,\n|\n| Wolfgang Denk wrote:\n| \u003e - There are a number of files which do not include any specific\n| \u003e license information at all. Is it correct to assume that these files\n| \u003e are automatically covered by the \"GPL v2 or later\" clause as\n| \u003e specified by the COPYING file in the top level directory of the\n| \u003e U-Boot source tree?\n|\n| That is a very fact specific analysis and could be different across the\n| various files.  However, if the contributor could reasonably be expected\n| to have known that the project was licensed GPLv2 or later at the time\n| she made her contribution, then a reasonably implication is that she\n| consented to her contributions being distributed under those terms.\n|\n| \u003e - Do such files need any clean up, for example should we add GPL\n| \u003e headers to them, or is this not needed?\n|\n| If the project as a whole is licensed under clear terms, you need not\n| identify those same terms in each file, although there is no harm in\n| doing so.\n|\n| \u003e - There are other files, which include both a GPL license header\n| \u003e _plus_ some copyright note with an \"All Rights Reserved\" clause. It\n| \u003e has been my understanding that this is a conflict, and me must ask\n| \u003e the copyright holders to remove such \"All Rights Reserved\" clauses.\n| \u003e But then, some people claim that \"All Rights Reserved\" is a no-op\n| \u003e nowadays. License checking tools (like OSLC) seem to indicate this is\n| \u003e a problem, but then we see quite a lot of \"All rights reserved\" in\n| \u003e BSD-licensed files in gcc and glibc. So what is the correct way to\n| \u003e deal with such files?\n|\n| It is not a conflict to grant a license and also reserve all rights, as\n| implicit in that language is that you are reserving all \"other\" rights\n| not granted in the license.  Thus, a file with \"Licensed under GPL, All\n| Rights Reserved\" would mean that it is licensed under the GPL, but no\n| other rights are given to copy, modify or redistribute it.\n|\n| Warm regards,\n| --Dan\n|\n| Daniel B. Ravicher, Legal Director\n| Software Freedom Law Center (SFLC) and Moglen Ravicher LLC\n| 1995 Broadway, 17th Fl., New York, NY 10023\n| (212) 461-1902 direct  (212) 580-0800 main  (212) 580-0898 fax\n| ravicher@softwarefreedom.org   www.softwarefreedom.org\n\n[1] http://spdx.org/\n[2] http://spdx.org/licenses/\n\nSigned-off-by: Wolfgang Denk \u003cwd@denx.de\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c9b3cd981f51bbc11b8d8207819010688265b581",
      "new_mode": 33188,
      "new_path": "Licenses/Exceptions"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b879fea443926382b27a47b03c193e6189c8b37a",
      "new_mode": 33188,
      "new_path": "Licenses/README"
    },
    {
      "type": "rename",
      "old_id": "44d198301eaa7e2a1c867fb0e95e390dbe820cc6",
      "old_mode": 33188,
      "old_path": "COPYING",
      "new_id": "d159169d1050894d3ea3b98e1c965c4058208fe1",
      "new_mode": 33188,
      "new_path": "Licenses/gpl-2.0.txt",
      "score": 80
    },
    {
      "type": "modify",
      "old_id": "a80340eed35f5e590e26635fd6c49c4ccb9d7ce6",
      "old_mode": 33261,
      "old_path": "MAKEALL",
      "new_id": "bed99dea054b93932530d67ff0520259e3c39c44",
      "new_mode": 33261,
      "new_path": "MAKEALL"
    },
    {
      "type": "modify",
      "old_id": "4218226e160d1198c0f067429826025b866d0983",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "7206abac1f3dc1d65fc0eda03fdd5a8a96506cee",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "bcfffc369538ba472d87ffb5832c28e4b55b933a",
      "old_mode": 33188,
      "old_path": "README",
      "new_id": "ba9be2be57c285e142684e1eb9f5fb794cefe54f",
      "new_mode": 33188,
      "new_path": "README"
    },
    {
      "type": "modify",
      "old_id": "f71e145d35543f45af135dfe7eac7378ea7d0700",
      "old_mode": 33188,
      "old_path": "config.mk",
      "new_id": "499eed134868d1494e2f40fa6a46719d45eda71f",
      "new_mode": 33188,
      "new_path": "config.mk"
    },
    {
      "type": "modify",
      "old_id": "73f852ed8adb977af32f988142a0c245d77b6363",
      "old_mode": 33261,
      "old_path": "mkconfig",
      "new_id": "816ae3d0c6b8cddaa9a05944b919e2a69b3d8351",
      "new_mode": 33261,
      "new_path": "mkconfig"
    },
    {
      "type": "modify",
      "old_id": "fa929f9f5078593affca9c5ca166bd3fa2d1403b",
      "old_mode": 33188,
      "old_path": "rules.mk",
      "new_id": "f4510b7cb6aa13caad7e2d6422266c2f7844b657",
      "new_mode": 33188,
      "new_path": "rules.mk"
    }
  ]
}
