Live data from Hacker News

Show HN: GitMagic – Enforce your GitHub contribution guidelines

gitmagic.io

1–10 of 42 posts

Re: Show HN: GitMagic – Enforce your GitHub contribution guidelines

#5
Cool. I've wanted to try GitCop (which seems to do something similar) for a while, but didn't get around to it yet.

> Magically enforce your GitHub contribution guidelines.

Looks pretty non-magical and quite straightforward to me. I even get to set explicit rules. Why the 'magic' branding?

Re: Show HN: GitMagic – Enforce your GitHub contribution guidelines

#8
The API of your configuration could use some work. Have you looked at the validations present in JSON Schema[1]?

Instead of

  {
    "commit": {
      "message_must_be_imperative_tense": true,
      "message_must_include_prefix": {
        "prefixes": ["feat", "fix", "docs", "refactor"],
        "require_after_prefix": " "
      }
    }
  }

Something like:

  {
    "commit": {
      "message": {
        "imperative": true,
        "prefixes": ["feat ", "fix ", "docs ", "refactor "]
      }
    }
  }
[1] http://json-schema.org/latest/json-schema-validation.html

Re: Show HN: GitMagic – Enforce your GitHub contribution guidelines

#9
post #8

The API of your configuration could use some work. Have you looked at the validations present in JSON Schema[1]? Instead of { "commit": { "message_must_be_imperative_tense": true, "message_must_include_prefix": { "prefixes": ["feat", "fix", "docs", "refactor"], "require_after_prefix": " " } } } Something like: { "commit": { "message": { "imperative": true, "prefixes": ["feat ", "fix ", "docs ", "refactor "] } } } [1]…

Thanks for the feedback. The JSON structure is something we will refine, and right now we wanted to have very explicit rules and not too complex configuration settings. But we will evaluate this along the way, and I like your example :)

Re: Show HN: GitMagic – Enforce your GitHub contribution guidelines

#10
post #7

Please don't interfere with the native scrolling behavior.

I usually don't like forced scroll myself, but I have to say that I'm personally satisfied with the results of this site.

But I hear you and when the site goes from landing page to real website we will make sure to have a nice scroll experience for everyone :)

Post reply on HN