)]}'
{
  "commit": "f0678bb0e80509b9c042eb843f711e3be4f3b55b",
  "tree": "4295462c7b54276a3ff84e9061b6b01f3cf3b67f",
  "parents": [
    "ade5dd496a5501c4402b71bf6ed0436104e689cb"
  ],
  "author": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Fri Oct 27 16:20:08 2023 +0100"
  },
  "committer": {
    "name": "Dariusz Luksza",
    "email": "dariusz.luksza@gmail.com",
    "time": "Mon Oct 30 10:49:54 2023 +0000"
  },
  "message": "Configure virutal domain specific scopes\n\nWhen using both `github` and `virutalhost` plugins together is may be\nrequired to have different scope selections for each site. Currently\nthe `github` plugin does not allow host specific scope configuration.\n\nThis patch adds the ability to use config subsection to configure\ndifferent scopes per site. For example:\n\n[github \"second.site.co\"]\n  scopeRedonly \u003d USER_EMAIL\n  scopeReadonlySequence \u003d 0\n  scopeReadonlyDescription \u003d Share only email address\n\nwill configure only a single `USER_EMAIL` scope for `second.site.co`.\n\nIn order to make this work, we also change the redirection flow, as\ncurrently `/login` will redirect to the main canonical web url. Which\nmeans that we cannot discover which site is used and set scopes on scope\nselection page. Now we\u0027ll keep user on the same domain name.\n\nBug: Issue 307761450\nChange-Id: I24973cb2914052f23e684854211e1a21011dfecf\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "321d0ea4d85bec1e66977947762d6ecf025902a9",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/CannonicalWebUrls.java"
    },
    {
      "type": "modify",
      "old_id": "f65ad02118d458174e8f246b25fd3e2d4bbf7548",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java",
      "new_id": "dafca3f1c3a2cad8b62376e5d3c180de769fb985",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java"
    },
    {
      "type": "modify",
      "old_id": "d86feda67317b76a973bad1b9ddd79ec16a6ac1c",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java",
      "new_id": "f396a805f27eb82937e3f169cd8dcc9e8c70df66",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java"
    },
    {
      "type": "modify",
      "old_id": "54493471c849af379ef80d06b130bb913bd2ec9f",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/IdentifiedUserGitHubLoginProvider.java",
      "new_id": "63414b207416ccabdd55e08395950dd2dd8b65ae",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/IdentifiedUserGitHubLoginProvider.java"
    },
    {
      "type": "modify",
      "old_id": "b93837bd39b0fedcb8aa02e146ec3868bdac9b56",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/OAuthProtocol.java",
      "new_id": "3b8d70829b475318961efd557166e764b18da392",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/OAuthProtocol.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a6b2b17577946825fd5bb4077c893dbf5de1adde",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/VirtualDomainConfig.java"
    },
    {
      "type": "modify",
      "old_id": "9f90c568ec9e6838f252a8edd71a4f08deb3fe47",
      "old_mode": 33188,
      "old_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfigTest.java",
      "new_id": "6833e718c68283d24f6f86c1d32b94034105eeab",
      "new_mode": 33188,
      "new_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfigTest.java"
    },
    {
      "type": "modify",
      "old_id": "3e31d6b7f2b73d20d95dac7754b1172acf0ad868",
      "old_mode": 33188,
      "old_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/OAuthTokenCipherTest.java",
      "new_id": "f3dfb715d7a3f583f20c7dde5c9214d930dad062",
      "new_mode": 33188,
      "new_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/OAuthTokenCipherTest.java"
    },
    {
      "type": "modify",
      "old_id": "a22126dd0a3547407e5261ebca70a064292c9f59",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GitHubConfig.java",
      "new_id": "2bacafdc5369ff6408771f27940c4495d832f20f",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GitHubConfig.java"
    },
    {
      "type": "modify",
      "old_id": "5ff536372931666db0bdd6dfc9ecd51c0d3f4075",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GitHubTopMenu.java",
      "new_id": "d345556a1fcb940e07c4cbba5877fe13d6debb0e",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GitHubTopMenu.java"
    },
    {
      "type": "modify",
      "old_id": "85197dda8c86365d26e1beaa47e9b89728b13b33",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java",
      "new_id": "aab1ef00c9d760cf7059291bc6fcba5687704845",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java"
    },
    {
      "type": "modify",
      "old_id": "c9eebc514731447db98cd954eef14c6c0439d605",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/resources/Documentation/config.md",
      "new_id": "4adcd417872d9f1a6d7b38dbdb272941f2bfce93",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "9db7e3fc26d8ad1da9afb4aee68fd098f0f9186e",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/resources/static/repositories.html",
      "new_id": "5a3df085cfe0460d395a99e63539038eebebae0c",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/resources/static/repositories.html"
    },
    {
      "type": "modify",
      "old_id": "af8613943abcfb11c00d9539a756239755ee5c17",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/resources/static/scope.html",
      "new_id": "ebc2580f89d5946bdfb498ec5c3e3ae108c38dcd",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/resources/static/scope.html"
    },
    {
      "type": "modify",
      "old_id": "56f7b90c5158fc517c3f6b74c8b3529da351ca7f",
      "old_mode": 33188,
      "old_path": "github-plugin/src/test/java/com/googlesource/gerrit/plugins/github/GitHubConfigTest.java",
      "new_id": "b7dfc60d81f4b6171d3d713fc3df9495c82bf406",
      "new_mode": 33188,
      "new_path": "github-plugin/src/test/java/com/googlesource/gerrit/plugins/github/GitHubConfigTest.java"
    }
  ]
}
