[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55693] [PATCH 2/2] gnu: Add gitlint.
From: |
Maxime Devos |
Subject: |
[bug#55693] [PATCH 2/2] gnu: Add gitlint. |
Date: |
Sun, 29 May 2022 23:43:05 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Brian Kubisiak schreef op zo 29-05-2022 om 14:37 [-0700]:
> > > + (propagated-inputs (list git))
> >
> > Propagtion is not required, a regular input + substitute* 'git' by
> > (search-input-file inputs "bin/git") in gitlint-
> > core/gitlint/shell.py
> > should be sufficient.
>
> shell.py only uses the 'subprocess' code path on windows (or if the
> GITLINT_USE_SH_LIB environment variable is set, for testing). On
> linux, git is called through 'from sh import git' (through the
> python-sh library), which will look for git on $PATH and requires
> this to be a propagated input.
Then we can patch python-sh or disable GITLINT_USE_SH_LIB instead, to
avoid propagation.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part