oscript-library / oscript-library/gitsync

Предварительная валидация коммитов

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Существует проблема
Хочется, чтобы в гите все коммиты были сделаны по соглашению о коммитах, например
https://github.com/conventional-commits/conventionalcommits.org при этом разработчики в хранилище могут не следовать этому соглашению и их следует наказывать.

Хотелось бы иметь следующую функциональность
Останавливать выгрузку и сообщать о том, что коммит хранилища не соответствует соглашению о коммитах.

Дополнительный контекст
Функциональность валидации коммитов реализована, например, в инструменте https://commitlint.js.org/
Думаю можно сделать плагин, который будет выполнять валидацию своими силами или вызывать настроенный commitlint.

Contributor guide

Open the contributing guide

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 repository files or tests are named. Start by tracing the repository upload flow and comparing the requested checks with the Conventional Commits specification and commitlint; done means an upload is stopped and a clear error identifies commits that violate the configured convention.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.