)]}'
{
  "commit": "1bfac8680449762406308e2e69420bd5a306ec53",
  "tree": "91eae7032edcfd2320cf59a08e6faa69619ddd7a",
  "parents": [
    "6c58f7e3cfa65988501e74f11cd539186cc2afe8"
  ],
  "author": {
    "name": "Tristan van Berkom",
    "email": "tristan.vanberkom@codethink.co.uk",
    "time": "Thu Mar 03 17:57:38 2022 +0900"
  },
  "committer": {
    "name": "Tristan van Berkom",
    "email": "tristan.vanberkom@codethink.co.uk",
    "time": "Fri Apr 15 18:53:21 2022 +0900"
  },
  "message": "source.py: Split up staging functions into separate codepaths.\n\nCurrently we pass a file path string or Directory object to these methods\ndepending on whether BST_STAGE_VIRTUAL_DIRECTORY is set, which is not very\npretty for plugin developers especially if they are using type annotations\nand need to handle `Union[str, Directory]` in these methods.\n\nInstead, created Source.stage_directory() and Source.init_workspace_directory()\nto handle the Directory variants of these methods separately.\n\nAlso updated `local` and `workspace` plugins to use the new methods.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "944324d3784d0ba97b16da8d72017ac2151cfd20",
      "old_mode": 33188,
      "old_path": "src/buildstream/plugins/sources/local.py",
      "new_id": "54e767910ebe560ffd5bfde83ff888371e5f35c6",
      "new_mode": 33188,
      "new_path": "src/buildstream/plugins/sources/local.py"
    },
    {
      "type": "modify",
      "old_id": "97a3a08d8ded67b4193a5aaf79fc4fae793b79bb",
      "old_mode": 33188,
      "old_path": "src/buildstream/plugins/sources/workspace.py",
      "new_id": "9127b7c8114614c403d60b111aa7fb147de2ba1d",
      "new_mode": 33188,
      "new_path": "src/buildstream/plugins/sources/workspace.py"
    },
    {
      "type": "modify",
      "old_id": "b89aa1a591ab94c68bb6272816a657efa8668513",
      "old_mode": 33188,
      "old_path": "src/buildstream/source.py",
      "new_id": "483c62e7bbb4cda5f57286fca80e0b4aeac491ff",
      "new_mode": 33188,
      "new_path": "src/buildstream/source.py"
    }
  ]
}
