getsolus / getsolus/packages

Hook to reject commit if it could ping people on GitHub

Open
#600 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Topic: Tooling
Dominant language
Python
Stars
141
Forks
146
Avg merge
11h 7m
Merged PRs (30d)
407

Description

I don't know what's possible with hooks, but hopefully this is. We received a complaint about commits pinging people because they contain a mention to the user on GitHub. Obviously, it is unacceptable to ping random people whenever we update packages. To help ensure this doesn't happen in the future, it would be great if there was a way to detect that a commit might mention a user, and reject it before it hits GitHub.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or specific hook entry points are identified. Start by determining whether a local Git hook or a GitHub-side mechanism can detect mentions in commit messages, then define what should count as a match and what rejection behavior is expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.