X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 75449DC00B6 for ; Thu, 17 Jul 2014 05:06:38 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id f8so5740136wiw.5 for ; Wed, 16 Jul 2014 22:06:36 -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:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ipb3KXbtuCZhLfI+lRidU1aLS7ehuv+cNJFmoibvNG4=; b=VMzqUyYoyzgVH+5r65AX8gHJz8Xthx+WjJ2rEuSVFqx9Tj6842VyBTDTPqiwFzg6LI 5Emc0751Mo0OHswvADfbWHa7UcEK5muQVthVb8G13xwsppsheVU2Kec49nEBR3QqAdNs +f8DLC6SHPHsEuVTWRs6airBZ5inmTo4X2roKIDYipUWLEbsj0/DG+GjoObNLsbSDZDS 9iC87y22ljEkrNoMtY+itGfqMEWySvLleK2UW5QpqgD0jEhfYiFGf4oudp4hdpmLO79D U9lg6AQ+SefUE9by4gxOKpq7Kei0l5sS2GjRjttfguHiFYhBl3V6i160j0/Rr82CtAmH 141Q== X-Gm-Message-State: ALoCoQn6Q6LbxPLyTErnS4jCHVTLoo+rcJdEd7pK0TOIJgSAPm1IZfH8FODubHNofHgKLtVjV/Jm X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.195.12.97 with SMTP id ep1mr40191196wjd.26.1405573595006; Wed, 16 Jul 2014 22:06:35 -0700 (PDT) Received: by 10.180.37.133 with HTTP; Wed, 16 Jul 2014 22:06:34 -0700 (PDT) In-Reply-To: <20140716212248.GA1780@newbook> References: <1405457044-3186-1-git-send-email-ibid.ag@gmail.com> <20140715162818.0f5adca9@ncopa-desktop.alpinelinux.org> <20140716212248.GA1780@newbook> Date: Thu, 17 Jul 2014 00:06:34 -0500 Message-ID: Subject: Re: [alpine-devel] [PATCH] testing/sword: add new package From: William Pitcock To: Isaac Dunham Cc: Natanael Copa , alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Hello! On Wed, Jul 16, 2014 at 4:22 PM, Isaac Dunham wrote: > installmgr installs "modules" to a configured location. > This location is set by DataPath and extended by AddDataPath in the > [INSTALL] section. > /etc/sword.conf points it at /usr/share/sword; this is not writeable. > I'm not aware of any way to point it at a sane default that everyone can use. > If there are NO config files, it will look for ~/.sword/mods.d, and install > into ~/.sword/modules. Why not patch it to prefer ~/.sword/mods.d by default? I could imagine the upstream developers finding that useful too. > installmgr won't work right unless it can find mods.conf or a writeable > mods.d directory in the DataPath. > If it can figure out where it /should/ put modules, it will run, > downloading the modules to a per-repository location. > Then it will move them into location or silently delete them. > > Now I need to figure out what's the right fix. > I guess installmgr should error out if it can't write somewhere. > Debian's approach is to require at least one package containing a > SWORD module. I don't like this, simply because it's creating a package for some datafiles, which in this case seems odd to me since installmgr is available. One thing we could do is simply have a prompt in the post-install script saying that you must install the modules you want as root. A couple of other packages do this when they require post-install configuration. - kaniini --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---