Skip to content

Conversation

Kvaciral
Copy link
Contributor

A port of /test/lint/lint-git-commit-check.sh to a Python-script as part of the request of #24783 . Checked for output-consistency.

@laanwj laanwj mentioned this pull request Apr 14, 2022
25 tasks
@DrahtBot DrahtBot added the Tests label Apr 14, 2022
@Kvaciral Kvaciral force-pushed the lint-git-commit-check-port branch from 2cf29ee to a694efa Compare April 14, 2022 13:00
@laanwj
Copy link
Member

laanwj commented Apr 14, 2022

Tested ACK 2e6cfc7
re-ACK f27fcd9

$ git commit --allow-empty -m $'invalid\ncommit\nmessage'
[pull/24853/local-merge 8e2cddbb3a6163d47c728bdbb93bd57867bd180c] invalid commit message
$ test/lint/lint-git-commit-check.py
The subject line of commit hash 8e2cddbb3a6163d47c728bdbb93bd57867bd180c is followed by a non-empty line. Subject lines should always be followed by a blank line.
$ git reset --hard HEAD~1
$ test/lint/lint-git-commit-check.py

@Kvaciral Kvaciral force-pushed the lint-git-commit-check-port branch from a694efa to 2e6cfc7 Compare April 14, 2022 14:56
@Kvaciral Kvaciral force-pushed the lint-git-commit-check-port branch from 2e6cfc7 to f27fcd9 Compare April 16, 2022 13:43
@laanwj laanwj merged commit 5fdf37e into bitcoin:master Apr 18, 2022
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 19, 2022
f27fcd9 lint: Convert lint-git-commit-check.sh to Python (Dimitri)

Pull request description:

  A port of `/test/lint/lint-git-commit-check.sh` to a Python-script as part of the request of bitcoin#24783 . Checked for output-consistency.

ACKs for top commit:
  laanwj:
    re-ACK f27fcd9

Tree-SHA512: afc4a662f4aec1796c023b98a875c1591940ecdfc709eefe2df29d33e51e807c3c2e2b5c410aa3ad1cd3f6f8207f5c15b638637ff9f5659cafa7543bbe8a0bae
@bitcoin bitcoin deleted a comment Apr 27, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants