[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gitlab Migration
From: |
Arthur Miller |
Subject: |
Re: Gitlab Migration |
Date: |
Sat, 28 Aug 2021 07:05:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 27.08.2021 04:31, Arthur Miller wrote:
>>>> We also have a bunch of formal rules for submissions which tend to
>>>> seem intimidating. A CI with an automated checker running against all
>>>> PRs can alleviate that problem.
>>> I don't know enough git to tell you exactly what it is, but perhaps
>>> whatever runs each time I check-in something to my local copy of the
>>> repository that checks for indentation and extraneous whitespace could
>>> also work for this?
>> Couldn't identation and extraneous space be solved by either running after
>> save
>> hook in Emacs, or by running emacs in batch mode as a git hook?
>
> Yes, you're both talking about git hooks. A minor disadvantage is that a hook
> needs to be installed, and then a bug in a hook implementation can stop you
> from
> being able to make a commit (there are overrides, but those require more
> googling).
Yes, hook is a one way to implement it, but that particular case is solved by
just after file save hook. But we could also develop an emacs package that does
some basics checks and stuff against local repo? Maybe Cask, edev, I don't
know?
I just answer on someone asking for these basics checks.
- Re: Debbugs state, (continued)
- Re: Gitlab Migration, Eli Zaretskii, 2021/08/27
- Re: Gitlab Migration, Arthur Miller, 2021/08/27
- Re: Gitlab Migration, Eli Zaretskii, 2021/08/28
- Re: Gitlab Migration, Arthur Miller, 2021/08/28
- Re: Gitlab Migration, Po Lu, 2021/08/26
- Re: Gitlab Migration, Arthur Miller, 2021/08/26
- Re: Gitlab Migration, Dmitry Gutov, 2021/08/27
- Re: Gitlab Migration,
Arthur Miller <=
- Re: Gitlab Migration, Po Lu, 2021/08/28
- Re: Gitlab Migration, Tim Cross, 2021/08/26
- Re: Gitlab Migration, Daniel Fleischer, 2021/08/27
- Re: Gitlab Migration, Tim Cross, 2021/08/27
- Re: Gitlab Migration, tomas, 2021/08/27
- Re: Gitlab Migration, Tim Cross, 2021/08/27
- Re: Gitlab Migration, tomas, 2021/08/27
- Re: Gitlab Migration, Eli Zaretskii, 2021/08/27
- RE: [External] : Re: Gitlab Migration, Drew Adams, 2021/08/27
- Re: Gitlab Migration, Eli Zaretskii, 2021/08/27