While spamming refresh on a pull request today to see if required builds finished yet, it occurred to me that it'd be awesome to have WTF tell me when a PR was ready to be merged. So, here it is! An icon will now display next to PRs in the "My Pull Requests" section detailing whether GitHub thinks they can be merged. This is behind a new, opt-in config flag called "enableStatus", due to the fact that in order to function, this feature has to hit the GitHub API individually for each PR in order to get an updated status check - there's a comment in the code with a link that explains why (otherwise, `pr.GetMergeableState()` returns an empty string). For a large number of PRs, this can slow down refreshes a bit and _might_ even wind up rate limiting you (while testing I had some instances of GH refusing to return me any repository info, though it didn't actually give me an error, usually after I had been spamming it with requests for 30 PRs in a row for a bit). So, for that reason, use at your own risk (but it's probably fine). I am not an emoji expert, so suggestions on the display are welcome if you can think of anything awesome. A lot of the ones I tried seemed to render funny and mess up spacing.
WTF
A personal terminal-based dashboard utility, designed for displaying infrequently-needed, but very important, daily data.
Quick Start
Download and run the latest binary or install from source:
go get -u github.com/senorprogrammer/wtf
cd $GOPATH/src/github.com/senorprogrammer/wtf
make install
make run
Note: WTF is only compatible with Go versions 1.9.2 or later. It currently does not compile with gccgo
.
Documentation
See https://wtfutil.com for the definitive documentation. Here's some short-cuts:
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Adding Dependencies
Dependency management in WTF is handled by dep. See that page for installation and usage details.
If the work you're doing requires the addition of a new dependency,
please be sure to use dep
to vendor your dependencies.
Contributors
Thanks goes to these wonderful people:
This project follows the all-contributors specification. Contributions of any kind welcome!
Acknowledgments
The inspiration for WTF
came from Monica Dinculescu's
tiny-care-terminal.
Many thanks to Lendesk for supporting this project by providing time to develop it.
The following open-source libraries were used in the creation of WTF
.
Many thanks to all these developers.