[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944437: RFS: rpl/1.0-3 [QA] -- replace strings in files



On Sun, Nov 10, 2019 at 01:46:22AM -0300, Thiago wrote:
>  * Package name    : rpl
>    Version         : 1.6.3-1

> Changes since the last upload:
> 
>    * QA upload.
>    * New upstream version 1.6.3.
>    * debian/control:
>        - Added 'Rules-Requires-Root: no' in source stanza.
>        - Bumped Standards-Version to 4.4.1.
>        - Reorganized long description.
>    * debian/copyright: added new rights in debian/* block.
>    * debian/patches/20_fixed_upstream_version.patch: created
>        to fixed the upstream version program.
>    * debian/salsa-ci.yml: added to provide CI tests for Salsa.
>    * debian/watch: updated, using new variables.

The man page is corrupted:
.--====[ man rpl ]
DESCRIPTION
       Basic  usage is to specify two strings and one or more filenames or directories on the command line.  The first string is the string to replace, and the second string is
       the replacement string.

   Traceback (most recent call last):
              File "./rpl", line 29, in <module>

              from chardet.universaldetector import UniversalDetector

       ModuleNotFoundError: No module named 'chardet'

              File "./rpl", line 29, in <module>

              from chardet.universaldetector import UniversalDetector

       ModuleNotFoundError: No module named 'chardet'
`----

And the tool doesn't seem to work either:
.----
[~/tmp/pkg/some-other-random-package/debian]$ rpl Package Pąckagę *

rpl: Replacing "Package" with "Pąckagę" (case sensitive; partial words matched)
.
rpl: could not guess encoding; using locale default 'UTF-8'

rpl: Could not replace /tmp/.tmp.yl3o48fk with changelog; error: [Errno 18] Invalid cross-device link: '/tmp/.tmp.yl3o48fk' -> 'changelog'
.
rpl: Could not replace /tmp/.tmp.df0h2nph with control; error: [Errno 18] Invalid cross-device link: '/tmp/.tmp.df0h2nph' -> 'control'
......
rpl: A total of 0 matches replaced in 8 files searched

`----


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.


Reply to: