Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-eckert/shepherd
Shepherd enables you to modify and move open GitHub issues across repositories.
https://github.com/t-eckert/shepherd
Last synced: 6 days ago
JSON representation
Shepherd enables you to modify and move open GitHub issues across repositories.
- Host: GitHub
- URL: https://github.com/t-eckert/shepherd
- Owner: t-eckert
- Created: 2021-08-19T04:04:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-18T01:19:49.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T08:06:32.760Z (5 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shepherd CLI
The Shepherd CLI is used to move and modify open GitHub issues across repositories.
## Prerequisites
- [Go](https://golang.org)
```bash
brew install go
```
- [GitHub Command Line](https://cli.github.com/)
```bash
brew install gh
```
## Installation```bash
go get github.com/t-eckert/shepherd
```## Usage
Shepherd takes two required parameters, an origin repository and a destination repository. All open issues will be migrated from the origin repository to the destination repository by the tool. Both repositories passed in should be formatted as `OWNER/REPO`. For example, `hashicorp/consul-k8s`.
An optional parameter can be passed in with the flag `-p` or `--modify-prepend`. This tells Shepherd to modify the title of each open issue in the origin repository. If the issue title has text prepended and terminated by a `:` -- e.g. `consul:Issue about something` -- the text of the prepend will be replaced with the value passed for the flag. If the issue title does not have existing prepended text, the value passed in will be added. There is no need to pass in the `:` when setting the flag.
### Examples
Migrate all open issues from `hashicorp/consul-helm` to `hashicorp/consul-k8s` and prepend `helm:` to each issue on migration.
```bash
shepherd hashicorp/consul-helm hashicorp/consul-k8s -p helm
```