TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: GitMagic – Enforce your GitHub contribution guidelines

55 pointsby gitmagicover 9 years ago

10 comments

tyreover 9 years ago
The API of your configuration could use some work. Have you looked at the validations present in JSON Schema[1]?<p>Instead of<p><pre><code> { &quot;commit&quot;: { &quot;message_must_be_imperative_tense&quot;: true, &quot;message_must_include_prefix&quot;: { &quot;prefixes&quot;: [&quot;feat&quot;, &quot;fix&quot;, &quot;docs&quot;, &quot;refactor&quot;], &quot;require_after_prefix&quot;: &quot; &quot; } } } </code></pre> Something like:<p><pre><code> { &quot;commit&quot;: { &quot;message&quot;: { &quot;imperative&quot;: true, &quot;prefixes&quot;: [&quot;feat &quot;, &quot;fix &quot;, &quot;docs &quot;, &quot;refactor &quot;] } } } </code></pre> [1] <a href="http:&#x2F;&#x2F;json-schema.org&#x2F;latest&#x2F;json-schema-validation.html" rel="nofollow">http:&#x2F;&#x2F;json-schema.org&#x2F;latest&#x2F;json-schema-validation.html</a>
评论 #11089461 未加载
评论 #11094725 未加载
l-pover 9 years ago
Please don&#x27;t interfere with the native scrolling behavior.
评论 #11090104 未加载
评论 #11089584 未加载
评论 #11089809 未加载
评论 #11089727 未加载
评论 #11089877 未加载
评论 #11089472 未加载
michaelmiorover 9 years ago
&gt; Show HN is for something you&#x27;ve made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.<p>AFAICT, there&#x27;s nothing to try yet.
评论 #11089756 未加载
danielrw7over 9 years ago
It took me a while to figure out that there was a second page with no scrollbar and a non-obvious arrow.
评论 #11089766 未加载
评论 #11089664 未加载
评论 #11089523 未加载
gitmagicover 9 years ago
Tired of all the GitHub drama? We&#x27;re close to launching GitMagic to fix some of that. If you have any questions, please ask, we’re happy to answer them :) And all feedback are appreciated.
评论 #11089607 未加载
dkubbover 9 years ago
My main feature request would be a way to enforce a PR must be a fast-forward merge.<p>I tend to have a small set of words I prefix each git commit summary with (Add, Remove, Fix, etc). If I could verify summaries match that pattern that would be awesome.<p>Also, if it is possible to enforce the guidelines specified in <a href="http:&#x2F;&#x2F;tbaggery.com&#x2F;2008&#x2F;04&#x2F;19&#x2F;a-note-about-git-commit-messages.html" rel="nofollow">http:&#x2F;&#x2F;tbaggery.com&#x2F;2008&#x2F;04&#x2F;19&#x2F;a-note-about-git-commit-messa...</a> I&#x27;d be so happy.
评论 #11090169 未加载
killercupover 9 years ago
Cool. I&#x27;ve wanted to try GitCop (which seems to do something similar) for a while, but didn&#x27;t get around to it yet.<p>&gt; Magically enforce your GitHub contribution guidelines.<p>Looks pretty non-magical and quite straightforward to me. I even get to set explicit rules. Why the &#x27;magic&#x27; branding?
评论 #11089509 未加载
fiatjafover 9 years ago
That seems great, but the name doesn&#x27;t really mean what the service does.
评论 #11089553 未加载
rrrx3over 9 years ago
Man, this really should be a default functionality of github itself.
评论 #11090146 未加载
OhSoHumbleover 9 years ago
Between Hound and Travis... I don&#x27;t really see a use case for this... yet.
评论 #11090129 未加载