[DRE-maint] Bug#731073: More details

Sébastien Dailly sebastien at chimrod.com
Wed Feb 5 13:43:55 UTC 2014


Hello,

I've understood the problem.

My configuration looks like this :

> target-refix: &target "maildir:///path/to/Maildir/"
> 
> feeds:
> 
>  - name: name
>    url: url
>    target: [ *target, '.RSS.PATH.TO.MAILDIR_FORMAT' ]

wich is a valid yaml format.

in config.rb, uri are parsed with the following code :

>         uri = URI::parse(f['target'].to_s)

the to_s create a string represention of the array wich is unparsable 
(see the first ticket).

One solution (worked for me) is to replace this line by :

>         uri = URI::parse(f['target'].join(""))

This is a bug present in mainstream source : should I open a ticket in 
the github repo, or can you correct this directly in the source ?

Thanks,

-- 
Sébastien



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