From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A30481387FD for ; Fri, 4 Apr 2014 13:34:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C609DE0A61; Fri, 4 Apr 2014 13:34:48 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB717E0A01 for ; Fri, 4 Apr 2014 13:34:47 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm4so1269148wib.2 for ; Fri, 04 Apr 2014 06:34:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aLb8DIfGAMFp3M467QhSLlckrEqaQYcbETul1jS06gE=; b=VIASBTQtmU6oxfBdU8/faiETAYwOcJHSZeURJqpTIuU4m0Pb93KAeSLeHbyVNm4jlA WVvk11k9ZrUja3Ks5hvbkLpMT2JTKAMSwJA9j0nwSIa33rGg2ipsgsp2vCQNoxLMmipp 0Gpyj5KNQyeQBi7Fxiv1FMfBAMJMi0mFrTGtt8YZ8657F1WmmXqkTU6bJZyzkpjmyTx9 ngZs/u0HPQejVV76+LSInfNt0HoadNfQgzGw8LnsYB+xpashkGDWdlbZulkfGK5pSMac z2VMcPa4vQAK84uAS0ahXMeE9z3GMBiVsYL/3ytkRa/7e0dQ75ia0nLLL71HB+tTRso9 I1Rg== X-Gm-Message-State: ALoCoQm+VOQvR5kt2rTc1uW6bqh8lwjdC8IvFYe071kH6tbyvuz/3NK7ct2zWp4p+nES2uHh/Qhm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.194.92.228 with SMTP id cp4mr19803196wjb.81.1396618485997; Fri, 04 Apr 2014 06:34:45 -0700 (PDT) Sender: matthew.summers@liquidustech.com Received: by 10.194.28.193 with HTTP; Fri, 4 Apr 2014 06:34:45 -0700 (PDT) In-Reply-To: <533C70AC.8060206@gentoo.org> References: <533C70AC.8060206@gentoo.org> Date: Fri, 4 Apr 2014 08:34:45 -0500 X-Google-Sender-Auth: rqS_ME-VuKXLNN0yPMnBKrA_P_w Message-ID: Subject: Re: [gentoo-dev] Protecting config files of webapps From: Matthew Summers To: gentoo-dev@lists.gentoo.org Cc: "Anthony G. Basile" , tomka@gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 68607ba9-e420-4ab5-8fd4-e74775764720 X-Archives-Hash: 252a89f594aea7c4461f11d013672cfd On Wed, Apr 2, 2014 at 3:18 PM, Thomas Kahle 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