Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitchellwrosen/second-look
https://github.com/mitchellwrosen/second-look
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mitchellwrosen/second-look
- Owner: mitchellwrosen
- Created: 2013-07-20T04:43:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-03T18:35:04.000Z (over 11 years ago)
- Last Synced: 2024-10-22T06:55:02.860Z (3 months ago)
- Language: Haskell
- Size: 191 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Second Look
Second Look is an endpoint for a GitHub post-receive hook. It will send an email to one or more developers based on the
contents of the new commits, requesting a code review.I blatantly stole this idea from [reviewthis](https://github.com/supermatter/reviewthis), which you should definitely go
check out.## Setup
Set a [post-receive hook](https://help.github.com/articles/post-receive-hooks) on your GitHub repository to
> ec2-54-213-58-191.us-west-2.compute.amazonaws.com## Usage
Simply include one or more **\user** or **\user@domain** patterns in a commit message, which correspond to GitHub
usernames and email addresses. Those people will be notified by email to review your commit.Example:
> $ git commit -m "Buncha hacks. Make sure I don't bomb the Russians, \chebert"
>
> ... work work work ...
>
> $ git commit -m "more hax \chebert \[email protected]"### \username? What gives? Why not @username? Everybody's doin' it.
GitHub will already automatically send out an email when you mention a user with @, by default.### GitHub comes with this feature out-of-the-box? Then what's the point of all this?
I truly was not aware of the @username feature of GitHub until I started testing this application :(. That being said, I
think the emails sent by Second Look are much nicer looking :). Try it out!### Known Issues
GitHub may change the format of the [POST payload](https://help.github.com/articles/post-receive-hooks#the-payload) (in
fact, it's currently out of date!). When this happens, the server breaks. Rest assured, though, that these occurrences
should be few and far between, and I will promptly fix them when they do occur.