https://github.com/jessegersensonchess/github-repo-utility
https://github.com/jessegersensonchess/github-repo-utility
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jessegersensonchess/github-repo-utility
- Owner: jessegersensonchess
- Created: 2022-07-05T21:21:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T06:28:15.000Z (8 months ago)
- Last Synced: 2024-09-14T18:09:47.922Z (8 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Github repo utility
=======================
A github API command-line utility which fetches the most recent pull requests, or most recent releases, for a github repo.Example usage:
-----------
```
./github-repo-utility -e pulls -i https://api.github.com/repos/mailchimp/mc-woocommerce
```
Build:
--------
```
go build -o github-repo-utility
```Docker:
-----------
Build:
```
docker build -t github-repo-utility:latest .
```Run:
```
docker run --rm -it github-repo-utility:latest
```
Help
--------
```
docker run --rm -it github-repo-utility:latest -h
```To do
------------
- better test coverage && add test fixtures
- add "go test" step to github action workflow
- edit/improve logging text
- combine duplicate functions: listGithubReleases, listGithubPulls
- reconsider regex implementation
- (optional) add -b [branch] switch
- (optional) remove default repo URL
- (optional) add metrics "hooks"