Project

General

Profile

Actions

Maintenance #3089

closed

Update linter, git hooks and local git config

Added by liaham 18 days ago. Updated 18 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/18/2025
Due date:
03/18/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

Description

You need to have project:dev-env installed.

Run

(user)@(host):~/path/to/repo$ git setup

and follow the dialog by considering the requirements below:

  • Remove scripts/ dir in favour of project:dev-env
  • Update Ruby linter config
  • Add lefthook config
  • Override global gpg key config if committing upstream

IMPORTANT

Run lefthook install after finishing the process. This will activate the updated git hooks.

Actions

Also available in: Atom PDF