)]}'
{
  "commit": "fc0747d0b1520d880b44ebb9ff5ebb7588467a33",
  "tree": "86eb0266a72330face420b39ba9b2b5acef0c841",
  "parents": [
    "2c00b2fbb88b10cb22dfe3bc737368c9f488c70d"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri Apr 11 11:08:06 2025 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Wed Apr 16 23:11:17 2025 -0400"
  },
  "message": "gdb: fix bugs in gdb/copyright.py, make it use glob patterns\n\ngdb/copyright.py currently changes some files that it shouldn\u0027t:\n\n - despite having a `gnulib/import` entry in EXCLUDE_LIST, it does\n   change the files under that directory\n - it is missing `sim/Makefile.in`\n\nChange the exclude list logic to use glob patterns.  This makes it\neasier to specify exclusions of full directories or files by basename,\nwhile simplifying the code.\n\nMerge EXCLUDE_LIST and NOT_FSF_LIST, since there\u0027s no fundamental reason\nto keep them separate (they are treated identically).  I kept the\ncomment that explains that some files are excluded due to not being\nFSF-licensed.\n\nMerge EXCLUDE_ALL_LIST in EXCLUDE_LIST, converting the entries to glob\npatterns that match everywhere in the tree (e.g. `**/configure`).\n\nTested by running the script on the parent commit of d01e823438c7\n(\"Update copyright dates to include 2025\") and diff\u0027ing the result with\nd01e823438c7.  The only differences are:\n\n - the files that we don\u0027t want to modify (gnulib/import and\n   sim/Makefile.in)\n - the files that need to be modified by hand\n\nRunning the script on latest master produces no diff.\n\nChange-Id: I318dc3bff34e4b3a9b66ea305d0c3872f69cd072\nReviewed-By: Guinevere Larsen \u003cguinevere@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "98386950cf4a9a2c93423c8f21247a354f759796",
      "old_mode": 33261,
      "old_path": "gdb/copyright.py",
      "new_id": "bd854dc83e44b8f72729d16eae18e74986dab120",
      "new_mode": 33261,
      "new_path": "gdb/copyright.py"
    }
  ]
}
