)]}'
{
  "commit": "2e100e1e9c419779b7e522aef359753f4f2a7ad5",
  "tree": "7f70e95508488b100a890959439bca3a63029374",
  "parents": [
    "53458ba5e9a9be9d7bbca7b01fb7ad5ff1201698"
  ],
  "author": {
    "name": "Jan Schär",
    "email": "jan@monogon.tech",
    "time": "Mon Jul 01 12:20:00 2024 +0200"
  },
  "committer": {
    "name": "Jan Schär",
    "email": "jan@monogon.tech",
    "time": "Mon Jul 01 15:01:11 2024 +0000"
  },
  "message": "workspace: make query regexes anchored in gopackagesdriver\n\nBefore this fix, when using VS Code with the Go extension, the initial \nquery of all go packages from the gopackagesdriver with a ./... query \nfailed with the error:\nroot package @@//cloud/bmaas/bmdb/model:sqlc_model is missing\n\nThis happened because an unanchored regex was used to query for \ngo_library rules, and this query also returned sqlc_go_library rules. \nThis patches rules_go to add the missing regex anchors.\n\nIt turns out that this error caused gopls to discard the result of the \ninitial query of everything, and it then queried individual files as \nthey were opened in the editor. This no longer happens after this fix, \nso the editor features are now available immediately when opening a go \nsource file.\n\nChange-Id: I03ec50777d1cc543eb1cd767b58f61bb5b5261f5\nReviewed-on: https://review.monogon.dev/c/monogon/+/3187\nTested-by: Jenkins CI\nReviewed-by: Lorenz Brun \u003clorenz@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d14256d47682a7ba05fb48ba42e25de180b98cf3",
      "old_mode": 33188,
      "old_path": "WORKSPACE",
      "new_id": "3bdba3332d769a3e22c4c38802c8190555fb3617",
      "new_mode": 33188,
      "new_path": "WORKSPACE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b9e4c009bf125523d588cd1bbd4dea7af6af477a",
      "new_mode": 33188,
      "new_path": "third_party/go/patches/rules_go_gopackagesdriver_anchor_kind.patch"
    }
  ]
}
