RE:Automatically removing "badges" pictures from README.rst files
what about lintian brush ?
Automatically removing "badges" pictures from README.rst files
Hi team! In many OpenStack packages, README.rst files are infected with badges. For example, nova-client here: https://opendev.org/openstack/python-novaclient/src/branch/master/README.rst As I'm a good Debian citizen, I'm removing them from the resulting sphinx doc, because as Lintian warns, it's a privacy breach, and also because without internet access, the picture just not render. The problem is that patching the README.rst files is very time consuming. The number I had to rebase this type of patches is countless. Therefore, I was wondering if anyone thought about an automated way to remove these. Maybe we could have some options for dh_sphinxdoc? Thoughts anyone? Cheers, Thomas Goirand (zigo)
Re: Automatically removing "badges" pictures from README.rst files
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
On 4/9/20 10:05 PM, PICCA Frederic-Emmanuel wrote: > what about lintian brush ? > What's that? Thomas
Re: Fwd: [covid] New Contributor for biohackathon
Thank you for the assistance with this! I have uploaded my package to the appropriate repository under the Python Modules team and will reach out for a RFS.
Re: Automatically removing "badges" pictures from README.rst files
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: Fwd: [covid] New Contributor for biohackathon
Hi Scott, On Thu, Apr 9, 2020 at 12:43 AM Scott Kitterman wrote: > > I took care of the request, so they are in the team now and can push the > package to the team repo. Once that's done they can request sponsorship > via > our usual process (either RFS mail to debian-python@l.d.o or put the name > of > the package in /topic on #debian-python). The team is usually pretty > responsive about sponsoring. > Great, thanks! (Harley, please let us know if you have any questions about how to do that) I will try to stay away from sponsoring it since if I do that, I won't be > able > to process it through New. > And we definitely want and appreciate you doing that! :) -Olek
Thanks to Olek and Scott and for sure all other contributors (Was: Fwd: [covid] New Contributor for biohackathon)
Hi, currently I'm experiencing a situation which I described in several of my talks[1]: For me a team means: Waking up in the morning and realising that somebody else has solved your problem from yesterday. Thanks a lot to all who contributed and let me enjoy my sleep at night Andreas. PS: I took the freedom to add more items for Olek, Scott and also for my wife who is tolerant all the time to let me work for the sprint even on weekends and holidays. https://salsa.debian.org/med-team/community/2020-covid19-hackathon/-/wikis/Covid-19-hackathon [1] https://people.debian.org/~tille/talks/20200208_debian-med-sprint/sprints+mentoring.pdf#page=26 (I've re-used that slide frequently :-) On Thu, Apr 09, 2020 at 01:45:38AM -0400, Olek Wojnar wrote: > Hi Scott, > > On Thu, Apr 9, 2020 at 12:43 AM Scott Kitterman > wrote: > > > > > I took care of the request, so they are in the team now and can push the > > package to the team repo. Once that's done they can request sponsorship > > via > > our usual process (either RFS mail to debian-python@l.d.o or put the name > > of > > the package in /topic on #debian-python). The team is usually pretty > > responsive about sponsoring. > > > > Great, thanks! (Harley, please let us know if you have any questions about > how to do that) > > I will try to stay away from sponsoring it since if I do that, I won't be > > able > > to process it through New. > > > > And we definitely want and appreciate you doing that! :) > > -Olek -- http://fam-tille.de