commit-message-validator/tr

From mediawiki.org
This page is a translated version of the page Commit-message-validator and the translation is 53% complete.
Outdated translations are marked like this.


commit-message-validator, işlem mesajı yönergelerimizimize taahhüt iletilerini doğrulayan bir araçtır. Python 3.6+ gerektirir. Tercih edilen kurulum yöntemi bir [$url virtualenv] ve git kancalarını kullanmaktır.

Add the following to your .pre-commit-config.yaml:

- repo: https://gitlab.wikimedia.org/repos/ci-tools/commit-message-validator
  rev: # Fill in a tag / sha here (like v2.0.0)
  hooks:
    - id: commit-message-validator

Then install the pre-commit hook:

pre-commit install --hook-type commit-msg

Git kancası taahhüdü yaptıktan sonra çalışır ve geri dönüp değişikliğinizi değiştirebilmeniz için yapmış olabileceğiniz hataları size söyler.

Use with gitlab.wikimedia.org's CI/CD

A GitLab CI/CD template is provided in the project repo for linting of commit messages in a merge request. Add the following to your .gitlab-ci.yml:

include:
  - project: repos/ci-tools/commit-message-validator
    file: /templates/lint-merge-request.yml

Dış bağlantılar