{"id":13450661,"url":"https://github.com/stackb/bazel-aquery-differ","last_synced_at":"2025-04-08T18:33:27.565Z","repository":{"id":65095657,"uuid":"581387339","full_name":"stackb/bazel-aquery-differ","owner":"stackb","description":"Bazel aquery differ tool","archived":false,"fork":false,"pushed_at":"2023-01-31T23:25:50.000Z","size":74,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T14:51:40.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-23T03:22:26.000Z","updated_at":"2024-08-20T02:48:32.000Z","dependencies_parsed_at":"2023-02-17T00:01:38.810Z","dependency_job_id":null,"html_url":"https://github.com/stackb/bazel-aquery-differ","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-aquery-differ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-aquery-differ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-aquery-differ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-aquery-differ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackb","download_url":"https://codeload.github.com/stackb/bazel-aquery-differ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247902240,"owners_count":21015414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:00:37.058Z","updated_at":"2025-04-08T18:33:27.547Z","avatar_url":"https://github.com/stackb.png","language":"Go","readme":"[![CI](https://github.com/stackb/bazel-aquery-differ/actions/workflows/ci.yaml/badge.svg)](https://github.com/stackb/bazel-aquery-differ/actions/workflows/ci.yaml)\n\n# bazel-aquery-differ\n\nThis is a port of\n\u003chttps://github.com/bazelbuild/bazel/blob/master/tools/aquery_differ/aquery_differ.py\u003e\nto golang.\n\n## Installation\n\nDownload and unzip a release artifact, or clone and `bazel build //cmd/aquerydiff`.\n\n## Usage\n\n```bash\naquerydiff --before \u003cBEFORE_FILE\u003e --after \u003cAFTER_FILE\u003e --report_dir \u003cREPORT_DIR\u003e\n```\n\nYou can generate the `\u003cBEFORE_FILE\u003e` (and `\u003cAFTER_FILE\u003e`) using:\n\n```bash\nbazel aquery //pkg:target-name --output jsonproto \u003e before.json\nbazel aquery //pkg:target-name --output textproto \u003e before.textproto\nbazel aquery //pkg:target-name --output proto \u003e before.pb\n```\n\n\u003e The file extensions are relevant; the proto decoder will be `protojson` if\n`.json`, `prototext` if `.textproto` and `proto` otherwise.\n\n\nAn HTML report and accessory files will be written to the given `--report_dir`,\nwhich you could serve as follows:\n\n```\n(cd \u003cREPORT_DIR\u003e \u0026\u0026 python3 -m http.server 8000) \u0026\n```\n\n\u003e Report will look something like:\n\n\u003cimg width=\"934\" alt=\"image\" src=\"https://user-images.githubusercontent.com/50580/209453563-064db4dd-4068-4d2f-8bb3-35c425bfb8b5.png\"\u003e\n","funding_links":[],"categories":["Tooling"],"sub_categories":["General"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackb%2Fbazel-aquery-differ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackb%2Fbazel-aquery-differ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackb%2Fbazel-aquery-differ/lists"}