From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 15:00:24 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 BA4B1B31 for ; Wed, 3 Sep 2014 15:00:24 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (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 493A615D7 for ; Wed, 3 Sep 2014 15:00:24 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id k14so8502205wgh.28 for ; Wed, 03 Sep 2014 08:00:22 -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=14xj5pL1N8EKCHP4BUuY+oPRB2H2KFM+2zKER+51FrA=; b=GI1UpFrTYLG2Bi147wcXdc0xLY+HKW+pqEooLeT7W+wGcsoN4rsjbL1DOfTHBc2WB5 Rq5NIkUfrLZq3+DT/2+jfTo/+aZhPu5gyU73R1ZP49JwLARjD1LixWCrX8Q5ZtJjcVap pmZB/n4k9qLOsNwTjW6ob34poryW1jarQyKlcb3S5EGJtvjU+MhiMpa0CQ08nzyq+YTa RYYSFUah1GEUBRunLFtNWIvLO9A5aXCh2QsJE5BjJtj87i3gTJXK7zVUgxb93lGFHezT 72Ors4H2NhGAtETq+3WYMclhjJKqf5ZgL6/Bc0glYxIVgrGENNbdEcx6AlQ9xRi3vaEM 77xQ== X-Received: by 10.180.78.201 with SMTP id d9mr36885788wix.12.1409756421663; Wed, 03 Sep 2014 08:00:21 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id cz3sm16201557wjb.23.2014.09.03.08.00.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Sep 2014 08:00:20 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 3 Sep 2014 17:00:18 +0200 From: Baptiste Daroussin To: Tijl Coosemans Subject: Re: [BRAINSTORMING] simplifying maintainer's life Message-ID: <20140903150018.GL63085@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="dpynvXbW/eW9Tpc3" 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 15:00:24 -0000 --dpynvXbW/eW9Tpc3 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. Right I'll implement globbing (one level not recursive) regards, Bapt --dpynvXbW/eW9Tpc3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQHLQIACgkQ8kTtMUmk6EyZIQCfRB/Exm7X+5gQ+N5EJKgQLAn+ 8gMAn1eTM7wNB6PxTcrJsa5TICiIv/ny =Qedn -----END PGP SIGNATURE----- --dpynvXbW/eW9Tpc3--