From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 16:09:15 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B75A18D7 for ; Wed, 3 Sep 2014 16:09:15 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4816D1EB9 for ; Wed, 3 Sep 2014 16:09:15 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id l18so8674624wgh.0 for ; Wed, 03 Sep 2014 09:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=TZ5cctS/ynaDxSis5Mf74PF/5ZWAIgWlp03j1b4gPqY=; b=nFte6Z1phgBhz/J9ni11NdkXcNVPhi7jRVyO+gI2fWd9GH0KTUWQvfapx00u/+DzUD oGD8SB2jfwJc3oPgjSYCvXi1RSy3g25sumjXYA5wMyK8AGyhS23x9pTI3RAtxxcmPRL8 Jme4ymoZ8PX/enmKoKfQ7OFKCLiPS1J13cuCK4I7SCDxGPkP9BC1ep6fINd0Y5JHcEXw vCEFqyuG00Z1sGrfxJnU8hwJNl0BqlNBYpmzPuQUIMGEhIdkiNGx9Cm+am9SPp7tjzef GDvC4J+a9hTut44CowZ+FvYj6uY8Hm5aFXkVPHBiSz16NJjwJ8Eh8KFm2E0N3pbMZfhL w7jw== X-Received: by 10.180.108.147 with SMTP id hk19mr36082181wib.4.1409760553521; Wed, 03 Sep 2014 09:09:13 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id lh5sm16484171wjb.12.2014.09.03.09.09.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Sep 2014 09:09:12 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 3 Sep 2014 18:09:10 +0200 From: Baptiste Daroussin To: Tijl Coosemans Subject: Re: [BRAINSTORMING] simplifying maintainer's life Message-ID: <20140903160908.GO63085@ivaldir.etoilebsd.net> References: <20140903082538.GE63085@ivaldir.etoilebsd.net> <20140903145614.158f8e89@kalimero.tijl.coosemans.org> <20140903135029.GK63085@ivaldir.etoilebsd.net> <20140903165622.3bff54e0@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sGwo475CiIwWEjLI" Content-Disposition: inline In-Reply-To: <20140903165622.3bff54e0@kalimero.tijl.coosemans.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 16:09:15 -0000 --sGwo475CiIwWEjLI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 03, 2014 at 04:56:22PM +0200, Tijl Coosemans wrote: > On Wed, 3 Sep 2014 15:50:30 +0200 Baptiste Daroussin w= rote: > > On Wed, Sep 03, 2014 at 02:56:14PM +0200, Tijl Coosemans wrote: > >> On Wed, 3 Sep 2014 10:25:39 +0200 Baptiste Daroussin wrote: > >>> On of the most borring thing IMHO in the plist maintainance is all the > >>> directories. > >>=20 > >> Another idea is to support shell glob patterns (*?[) in pkg-plist. Th= is > >> is possible now thanks to staging. It would allow moving PORTDOCS, > >> PORTDATA and PORTEXAMPLES to pkg-plist. But more importantly, it would > >> allow automatic plists that some ports create in post-install to be > >> turned back into a real pkg-plist. Without glob patterns some pkg-pli= sts > >> are just too long or too complicated depending on options. > >=20 > > We could also say pack everything that is in that stage directory. > >=20 > > The problem is right now I do like static plist because if something > > fails to build for $reason, that the plist doesn't find a file in the > > staging area and we notice quite quickly that something as failed. > > with autoplist or globbing we do lose this feature and we need to way > > deal with it. > > In anycase we won't make full autoplist because we still need to be > > able to specify credentials files per files if needed. But glob is > > really appealing :) >=20 > I completely agree :) Files should be listed explicitly if possible, > but sometimes it's very inconvenient and in these cases some ports > roll their own autoplist implementations which worse than having a > static pkg-plist with a few glob patterns. >=20 > Moving PORTDOCS etc. to pkg-plist means all package content is listed > in one file. That will probably simplify check-plist too. Glob sounds nice but can lead to easy failures with files named with glob patterns like archivers/deco regards, Bapt --sGwo475CiIwWEjLI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQHPSQACgkQ8kTtMUmk6Ez8igCeNNxgHvWBW9m5P+EUagSb1WDd PwcAoMF+raIQiZH7xMXA/LPD7tuStyD0 =6cXb -----END PGP SIGNATURE----- --sGwo475CiIwWEjLI--