Re: pgsql: Fix some trailing whitespace in documentation files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix some trailing whitespace in documentation files
Дата
Msg-id 2830044.1650467935@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Fix some trailing whitespace in documentation files  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> On Tue, Apr 19, 2022 at 08:57:23PM +0200, Daniel Gustafsson wrote:
>> Mildly on-topic: Has the topic of a pgindent like process for docs been
>> discussed at some point? The archives didn't turn up anything for me.

> I don't remember any discussion of that.  We have 'make check-tabs' for
> SGML files, but that's about it.

I've pushed a patch to remove the remaining trailing whitespace.

I thought about adjusting 'make check-tabs' to know about that rule,
but on the whole I'm inclined to remove it instead.  The modern
technology for this is "git diff --check" and variants of that,
and I'm not sure why we should maintain a less-flexible alternative.
(It'd be one less headache for the meson conversion, too.)

            regards, tom lane



В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove trailing whitespace from *.sgml files.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow db.schema.table patterns, but complain about random garbag