)]}'
{
  "commit": "198dd433653f443492474723ec45f6ccd5c7835d",
  "tree": "dda9eaa4db19fcead11b3f1b1770b2f59b98a6bd",
  "parents": [
    "4464ffe022197f85eb0fbb39b04f50539858fd8d"
  ],
  "author": {
    "name": "Mark Bekhet",
    "email": "mark.bekhet@ericsson.com",
    "time": "Fri Apr 16 09:25:50 2021 -0400"
  },
  "committer": {
    "name": "Mark Bekhet",
    "email": "mark.bekhet@ericsson.com",
    "time": "Wed May 05 12:15:18 2021 -0400"
  },
  "message": "Introduce an optional configuration to define a regex for naming rules\n\nBefore this change, this plugin enforced a rule that a project cannot\ncontain spaces in its name. Therefore, projects could have a name with\nany set of characters while not including a space in their names.\nHowever, due to IRI (not URI) and backward compatibility, the non-ASCII\ncharacters may be represented in a way that can cause issues [1].\n\nThis change introduces a configurable parameter that can be set to\ndefine a regex that is then enforced upon project creation to ensure\nbackward compatibility. If not defined, the default behavior, to check\nthat projects don\u0027t contain spaces, applies.\n\nIf the regex is defined, it will apply if it accepts the character / and\ndoesn\u0027t accept spaces, else it will get ignored to not affect the\nfunctionality of the plugin. In case the regex gets ignored, a warning\nwill be registered in the log file to flag that the regex is invalid.\n\n[1] https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier\n\nBug: Issue 14297\nChange-Id: Ia21c9834f41c4d5289f56aacd357c5de09f4521f\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6a3c40facaf22524a7f33fc23941c4efccac3f9e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/projectgroupstructure/Configuration.java"
    },
    {
      "type": "modify",
      "old_id": "331c96870ba59c8d0fc380bea36e2e8a9bc7bd41",
      "old_mode": 33188,
      "old_path": "src/main/java/com/ericsson/gerrit/plugins/projectgroupstructure/ProjectCreationValidator.java",
      "new_id": "089ca92926d0edca1509bd8fb38f162e50be2f51",
      "new_mode": 33188,
      "new_path": "src/main/java/com/ericsson/gerrit/plugins/projectgroupstructure/ProjectCreationValidator.java"
    },
    {
      "type": "modify",
      "old_id": "ac9a12e8d08fa1b824384093a4945726fabbc62e",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "64af68de5f646f07a7886dde7bd638ef132ce8eb",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "b190c590010d58a32ed39269a1bc46edec06ed2b",
      "old_mode": 33188,
      "old_path": "src/test/java/com/ericsson/gerrit/plugins/projectgroupstructure/ProjectCreationValidatorIT.java",
      "new_id": "24cebcf2a91384f4a2c31d28eb1860b0908964ff",
      "new_mode": 33188,
      "new_path": "src/test/java/com/ericsson/gerrit/plugins/projectgroupstructure/ProjectCreationValidatorIT.java"
    }
  ]
}
