https://github.com/sourcegraph/batch-change-examples
A collection of examples for Batch Changes
https://github.com/sourcegraph/batch-change-examples
Last synced: 4 months ago
JSON representation
A collection of examples for Batch Changes
- Host: GitHub
- URL: https://github.com/sourcegraph/batch-change-examples
- Owner: sourcegraph
- License: apache-2.0
- Created: 2021-03-11T08:35:22.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T11:49:01.000Z (over 2 years ago)
- Last Synced: 2025-09-30T07:34:36.366Z (4 months ago)
- Language: Python
- Size: 182 KB
- Stars: 26
- Watchers: 33
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Batch Changes examples
Example batch specs to get you started with Batch Changes. Contributions welcome!
## Getting started
Take a look at the [Sourcegraph documentation on Batch Changes](https://docs.sourcegraph.com/batch_changes) to learn what batch changes are and how to run them.
## Examples
- [Rewrite Go import paths using Comby](golang/comby-goimports/README.md)
- [Refactor Go code with Comby](golang/comby-go-refactor/README.md)
- [Open Jira tickets alongside changesets](ticketing-systems/jira-tickets/README.md)
- [Open GitHub tickets alongside changesets (declarative)](ticketing-systems/github-issues/README.md)
- [Update deprecated GraphQL API query](js-ts/update-api-query/replace-viewer-configuration.yaml)
- [Update the Docker Hub username in Circle CI configurations](ci-and-tooling-config/update-circle-ci-docker-user.batch.yaml)
- [Migrate from Python 2 to 3](python/python-refactor/README.md)
- [Update package.json for NPM dependencies](js-ts/npm-package-update/README.md)
- [Rewrite `interface{}` to `any` in Go 1.18 code](golang/go-interface-to-any/interface-to-any.spec.yml)
For a list of static-checker style linting rules for go, also see [comby go-patterns](https://github.com/comby-tools/go-patterns).
## Other examples
Also see how Batch Changes can help respond to a vulnerability with this [example](https://github.com/sourcegraph/log4j-cve-code-search-resources/tree/c70aeb6236f12c22c7c19e9b3fa54b2049213e29/batch-changes)