Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

fix(hooks): pre-push reminder misses pushes in subshells, bash -c and xargs

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript, node.js

Direzione di ricerca

Start by reading the pre-push hook and its existing tests to see how commands are matched. Add coverage for the listed wrappers, nested shell commands, and subshells, then update the README limits paragraph. Done means each listed form triggers the reminder and the tests pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement hooks

What

The pre-push hook finds git push at the start of a command, after &&, ; or cd, and with git -C. A push inside ( ... ), if ...; then git push; fi, bash -c "git push", env, time, command or xargs gets no reminder.

Why

The hook is opt-in and advisory, so this is low impact, but a missed push silently skips the review it promises.

Acceptance criteria

  • Known wrappers (env, time, command, sudo, nohup) are stripped before matching.
  • bash -c / sh -c strings and subshells are parsed one level deep.
  • Tests cover each form; the README limits paragraph is updated.
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devmaxxx/stackwise

Tutte le issue di devmaxxx/stackwise

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.