)]}'
{
  "commit": "51f10470a906611979c5e62c92aa08648980bc94",
  "tree": "147aaa0e35204ddee4572dcb5249d0b07a6349a0",
  "parents": [
    "4db0d919c8d12caa816c5b797bd28b0d457409d1"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sun Jan 12 22:15:02 2025 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Jan 12 13:15:02 2025 +0000"
  },
  "message": "refactor(pypi): rename config settings and improve docs (#2556)\n\nBefore the PR the `config_setting` names where following an internal\nlogic and those names would be leaking into the error messages when no\nmatch is found. I thought that the names thus should be improved and\nmaybe made more similar to the `whl` filename parts that they are\nderived from.\n\nAs part of this change I have also added more docs and added them to\nsphinxdocs in the hopes that this documentation helps maintainers and\nusers looking at error messages alike.\n\nSummary:\n* Make names more similar to the whl filenames.\n* Instead of having `osx_\u003ccpu\u003e_universal2` config settings for each\n  `cpu` value, have a single `osx_universal2` config setting.\n* Stop creating redundant/unused config settings\n* Refactor the `_dist_config_setting` code to be simpler and create\n  fewer targets by using a clever trick for the `whl` config setting\n  flag value usage.\n\nThe stats:\n```\n$ bazel query //tests/pypi/config_settings/... | rg \":(|_)is\" | wc -l\n2223\n$ bazel query @dev_pip//_config/... | wc -l\n1982\n\n$ bazel query //tests/pypi/config_settings/... | rg \":(|_)is\" | wc -l\n1780\n$ bazel query @dev_pip//_config/... | wc -l\n1066\n```\n\nWork towards #260",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a9a1db02a886776632bb11d7a4c0bc6fc5560df3",
      "old_mode": 33188,
      "old_path": "docs/BUILD.bazel",
      "new_id": "e365532d01103de3ad0b9483b3a6ef43b6ff2b7b",
      "new_mode": 33188,
      "new_path": "docs/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "7e2d398fdee8278e40340950f48cc7f5c491e26f",
      "old_mode": 33188,
      "old_path": "python/private/pypi/BUILD.bazel",
      "new_id": "6f80272af6d14a93d4a60b2a2525afc09ff78091",
      "new_mode": 33188,
      "new_path": "python/private/pypi/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "620e50e99788e2ec3e7f65a8634fa0c014755ebb",
      "old_mode": 33188,
      "old_path": "python/private/pypi/config_settings.bzl",
      "new_id": "1045ffef354a1cf8a2d07a623eca42180bfcc2fe",
      "new_mode": 33188,
      "new_path": "python/private/pypi/config_settings.bzl"
    },
    {
      "type": "modify",
      "old_id": "11727b5853634ddee37aab9d34dd1f9b80135aae",
      "old_mode": 33188,
      "old_path": "python/private/pypi/flags.bzl",
      "new_id": "a25579a2b8f71af7edd4ad79f5929f9c24a9a7bc",
      "new_mode": 33188,
      "new_path": "python/private/pypi/flags.bzl"
    },
    {
      "type": "modify",
      "old_id": "980921b474947fe108c89a9febf44114170fe688",
      "old_mode": 33188,
      "old_path": "python/private/pypi/pkg_aliases.bzl",
      "new_id": "a9eee7be88139661935aba7700f67e13324b5d2f",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pkg_aliases.bzl"
    },
    {
      "type": "modify",
      "old_id": "62c893d3e7275fc11b69ed2be442b575b9e4d808",
      "old_mode": 33188,
      "old_path": "python/private/pypi/render_pkg_aliases.bzl",
      "new_id": "863d25095c6a919854185672f00cfa0fd298eec5",
      "new_mode": 33188,
      "new_path": "python/private/pypi/render_pkg_aliases.bzl"
    },
    {
      "type": "modify",
      "old_id": "049556a4c6db17bf684a2af0f1f6540b1b5ba801",
      "old_mode": 33188,
      "old_path": "tests/pypi/config_settings/config_settings_tests.bzl",
      "new_id": "f111d0c55c55edc86777cfa566b4050f42b1f8ce",
      "new_mode": 33188,
      "new_path": "tests/pypi/config_settings/config_settings_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "f13b62f13df588b3a7a675fc38f8d8dcab48dc82",
      "old_mode": 33188,
      "old_path": "tests/pypi/pkg_aliases/pkg_aliases_test.bzl",
      "new_id": "71ca811feed27a55752d44cb2c03d6891e92a88c",
      "new_mode": 33188,
      "new_path": "tests/pypi/pkg_aliases/pkg_aliases_test.bzl"
    },
    {
      "type": "modify",
      "old_id": "ca1651aa1d0f3fd5ede4686ff7864e66a20ce63b",
      "old_mode": 33188,
      "old_path": "tests/pypi/render_pkg_aliases/render_pkg_aliases_test.bzl",
      "new_id": "c60761bed788ed366edd802cfa8ce9ba269e94da",
      "new_mode": 33188,
      "new_path": "tests/pypi/render_pkg_aliases/render_pkg_aliases_test.bzl"
    }
  ]
}
