From owner-freebsd-current@FreeBSD.ORG Tue Mar 20 15:48:47 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AFBF106566B; Tue, 20 Mar 2012 15:48:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E6AC38FC12; Tue, 20 Mar 2012 15:48:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2KFmkRR072173; Tue, 20 Mar 2012 15:48:46 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2KFmkn0072172; Tue, 20 Mar 2012 15:48:46 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Tue, 20 Mar 2012 16:48:42 +0100 From: Baptiste Daroussin To: Andriy Gapon Message-ID: <20120320154842.GE9629@azathoth.lan> References: <20120319213508.GA1692@azathoth.lan> <20120320091935.GF1692@azathoth.lan> <20120320102008.GH2358@deviant.kiev.zoral.com.ua> <4F687624.9090604@gmail.com> <20120320143932.GB9629@azathoth.lan> <4F689FB4.9050705@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TD8GDToEDw0WLGOL" Content-Disposition: inline In-Reply-To: <4F689FB4.9050705@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@FreeBSD.org Subject: Re: ABI/architecture identification for packages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 15:48:47 -0000 --TD8GDToEDw0WLGOL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 20, 2012 at 05:18:12PM +0200, Andriy Gapon wrote: > on 20/03/2012 16:39 Baptiste Daroussin said the following: > > On Tue, Mar 20, 2012 at 07:20:52AM -0500, Chuck Burns wrote: > >> We should probably pad the version number, and shorten things up..=20 > >> similar to: > >> > >> package-1.2-fbsd09.1-x86.pkg > >> package-1.2-fbsd09.1-x64.pkg > >> package-1.2-fbsd09.1-ppc.pkg > >> package-1.2-fbsd09.1-ppc64.pkg > >> package-1.2-fbsd09.1-arm.pkg > >> > >> For app "Package" version 1.2, on FreeBSD 9.1 > >> drop the .1 for .0 versions. > >> > >> The reason for the padding is to help with sorting, at least until=20 > >> freebsd 100.0 comes out. :P > >> > >> Chuck Burns > >> > >=20 > > I'm not on changing the package name, this information will be in the m= anifest. > >=20 > > the packagename will remain name-version.txz >=20 > So no plans for cross-arch package repos? :) > IMO, it could be useful to reflect arch metadata in the package name. > BTW, some packaging systems also have a "noarch" indicator for packages t= hat > contain purely stuff like documentation or images (or shell scripts, etc). This is then plan except that I prefer calling it "any" than "noarch" :) No need to change the package name for that. If you want the package name to reflect the real abi it will be from far too long :) The indication is in the the repository metadata, it is enough most of the = time, if we are on adding it to the package name what do you want to see in ? OS? majorversion? arch? 32/64bits? incompatible abi/extension? You will get the same problem that I'm trying to solve except that it will = gives you very very long package names. regards, Bapt --TD8GDToEDw0WLGOL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9optoACgkQ8kTtMUmk6EzX7ACghUGKl8DRdH+UHrfQxlnHOh7w DfUAoIhvvdDVeu03UpjpNIdfdoAcaijr =i00R -----END PGP SIGNATURE----- --TD8GDToEDw0WLGOL--