[DRE-maint] Bug#1031811: redmine: mercurial helper broken

Jakob Haufe sur5r at debian.org
Fri Feb 24 16:24:11 GMT 2023


On Fri, 24 Feb 2023 15:11:35 +0100
Adi Kriegisch <adi at kriegisch.at> wrote:

> Dear Jakob,
> 
> > I've enhanced the patch from the upstream bugtracker by file name
> > encoding support as configured in redmine.  
> that is ingenious! Thank you very much!
>  
> > Could you test the new patch [1]?
> > 
> > [1] https://salsa.debian.org/ruby-team/redmine/-/blob/bts1031811/debian/patches/mercurial-py3-fix  
> The patch works just fine except for one thing; the change in the ruby
> adapter needs to read something like this:
>   |     full_args << '--config' << "redminehelper.fileencoding=#{path_encoding}"
> because using '<<' to add the path_encoding variable causes ruby to add a
> space in front of -- in my case -- 'UTF-8' ultimately leading to this
> error:
>  | hg: unknown command 'UTF-8'
>  | (use 'hg help' for a list of commands)

Ah, good catch! That's what happens when you only test it from the command line ;)

Thanks, will fix that.


-- 
ceterum censeo microsoftem esse delendam.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230224/b94ce58f/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list