On Wed, Apr 2, 2014 at 3:18 PM, Thomas Kahle <to...@gentoo.org> wrote:
> Hi,
>
> www-apps/tt-rss is configured through a file config.php sitting
> in its install directory.  At the moment the file is overwritten
> when upgrading with webapp-config.  Who is responsible for
> config-protecting this file?
>
> a) the ebuild should install an env file (www-apps/otrs does this)
> b) the user can be informed with einfo but needs to do it herself
> c) This is a bug in webapp-config
>
> c) seems strange to me, but a user has reported this in bug
> 496788 and it was closed as a duplicate implying c).
>
> Cheers,
> Thomas
>
>
> --
> Thomas Kahle
> http://dev.gentoo.org/~tomka/
>

It depends. webapp-config is designed to keep a pristine copy in
/usr/share/webapps/$PN/$PV/ so when you write "its install directory"
I'm not sure which one you mean. Is it that one in /usr/share OR is it
the directory, likely withinin /var/www/, that the cli invocation of
webapp-config placed it's files? If the latter, then it's a bug.
webapp-config is supposed to keep track of modified files across
multiple installations of the same webapp, even differing versions of
the same webapp. If it's not doing that, its a bug in webapp-config.

I'm adding blueness@g.o to CC since he is working on this package some.

Thanks,
Matt


Matthew Summers
Gentoo Foundation Inc.
GPG: 111B C438 35FA EDB5 B5D3 736F 45EE 5DC0 0878 9D46

Reply via email to