Re: Automatically removing "badges" pictures from README.rst files

2020-04-09 Thread merkys
Hello,

On 2020-04-09 22:20, Thomas Goirand wrote:
> Therefore, I was wondering if anyone thought about an automated way to
> remove these. Maybe we could have some options for dh_sphinxdoc?

I agree that debhelper should be handling this issue. However, the issue
occurs in packages not using sphinx too, so I feel there should be a
more generic tool.

Lintian-brush is a fine tool, but (correct me if I am wrong) it would
generate a patch excluding badges, and patches require maintenance.

Best,
Andrius




Re: Automatically removing "badges" pictures from README.rst files

2020-04-09 Thread Jeremy Stanley
On 2020-04-10 00:25:41 +0200 (+0200), Thomas Goirand wrote:
> On 4/9/20 10:05 PM, PICCA Frederic-Emmanuel wrote:
> > what about lintian brush ?
> 
> What's that?

This:

automatically fix lintian problems

This package contains a set of scripts that can automatically
fix more than 80 common lintian issues in Debian packages.

It comes with a wrapper script that invokes the scripts, updates
the changelog (if desired) and commits each change to version
control.

(from https://packages.debian.org/lintian-brush )
-- 
Jeremy Stanley


signature.asc
Description: PGP signature


Re: Automatically removing "badges" pictures from README.rst files

2020-04-09 Thread Thomas Goirand
On 4/9/20 10:05 PM, PICCA Frederic-Emmanuel wrote:
> what about lintian brush ?
> 

What's that?

Thomas