Re: Other formats in pset like markdown, rst, mediawiki

Поиск
Список
Период
Сортировка
От Jan Michálek
Тема Re: Other formats in pset like markdown, rst, mediawiki
Дата
Msg-id CAAYBy8bMa62bMgv0vpzkmrdBeDR-==wANrNjEN-=8zr-ki9f_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Other formats in pset like markdown, rst, mediawiki  (Jan Michálek <godzilalalala@gmail.com>)
Список pgsql-hackers


2017-03-27 19:41 GMT+02:00 Jan Michálek <godzilalalala@gmail.com>:


2017-03-23 17:26 GMT+01:00 Pierre Ducroquet <p.psql@pinaraf.info>:
The following review has been posted through the commitfest application:
make installcheck-world:  tested, passed
Implements feature:       tested, passed
Spec compliant:           tested, passed
Documentation:            tested, passed

Hi

This is my first review (Magnus said in his presentation in PGDay Paris that volunteers should just come and help, so here I am), so please notify me for any mistake I do when using the review tools...

The feature seems to work as expected, but I don't claim to be a markdown and rst expert.
Some minor issues with the code itself :
- some indentation issues (documentation and code itself with mix between space based and tab based indentation) and a few trailing spaces in code

corrected
 
- typographic issues in the documentation :
  - "The html, asciidoc, latex, latex-longtable, troff-ms, and markdown and rst formats" ==> duplicated and

corrected
  - "Sets the output format to one of unaligned, aligned, wrapped, html, asciidoc, latex (uses tabular), latex-longtable, rst, markdown, or troff-ms." ==> extra comma at the end of the list
- the comment " dont add line after last row, because line is added after every row" is misleading, it should warn that it's only for rst
- there is a block of commented out code left
- in the print_aligned_vertical function, there is a mix between "cont->opt->format == PRINT_RST" and "format == &pg_rst" and I don't see any obvious reason for that
corrected
- the documentation doesn't mention (but ok, it's kind of obvious) that the linestyle option will not work with rst and markdown


In this patch are corrected (i hope, i had correct changes in vimrc) indentation issues. Plese, look at this if it is OK (i men indentats) and some minor errors. And it should work on current master (probably).

Added \x option form markdown
In markdown works multiline cels (newline replaced by </br>)
regre tests passed

Jan

 

Have nice day

Jan
 
Thanks !

The new status of this patch is: Waiting on Author

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



--
Jelen
Starší čeledín datovýho chlíva



--
Jelen
Starší čeledín datovýho chlíva
Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: error handling in RegisterBackgroundWorker
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless)