From owner-freebsd-current@FreeBSD.ORG Tue Mar 20 07:48:42 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61B93106566C for ; Tue, 20 Mar 2012 07:48:42 +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 09FAB8FC17; Tue, 20 Mar 2012 07:48:42 +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 q2K7mf1l018438; Tue, 20 Mar 2012 07:48:41 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2K7mfIb018436; Tue, 20 Mar 2012 07:48:41 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 08:48:38 +0100 From: Baptiste Daroussin To: Poul-Henning Kamp Message-ID: <20120320074837.GE1692@azathoth.lan> References: <20120319215802.GC1692@azathoth.lan> <69607.1332224677@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EgVrEAR5UttbsTXg" Content-Disposition: inline In-Reply-To: <69607.1332224677@critter.freebsd.dk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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 07:48:42 -0000 --EgVrEAR5UttbsTXg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 20, 2012 at 06:24:37AM +0000, Poul-Henning Kamp wrote: > In message <20120319215802.GC1692@azathoth.lan>, Baptiste Daroussin write= s: >=20 > >On Mon, Mar 19, 2012 at 10:35:08PM +0100, Baptiste Daroussin wrote: > >> Hi all, > >>=20 > >> In order to identify architectures I need to find a uniq id for every > >> possibilities (for pkgng) > >>=20 > >> here is the identification I propose: > >>=20 > >> arch-class-os-majorversion(-archi_specific_extension) >=20 > Given how sparse this name-space is, you'll have less than 50 > different values, you might want to consider something more compact, > such as a single letter for all components, and the version number last: >=20 > X2F9 =3D x64-32-freebsd-9 > X4F10 =3D x64-64-freebsd-10 > A2FB9 =3D arm-32-freebsd-eb_oabi-9 >=20 > By the time we run out of ASCII or even Unicode characters, we have > other problems. >=20 While I tend to agree to compact/short identifier on the principle, I don't really like the obfuscation it brings, I prefer this to remain humain reada= ble, at a point or another it could be shown to users (you are trying to install= an x86-64-freebsd-10 package on a x86-32-freebsd-9 system if more understandab= le=20 than "you are trying to install a X4F10 package on a X2F9 system.) regards, Bapt --EgVrEAR5UttbsTXg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9oNlUACgkQ8kTtMUmk6Ewe7wCbBdk+UqPNHO06y72eCyAhAmuC xPIAoKjFWqA0c3b5gtpZtsL5DMRRhtta =af77 -----END PGP SIGNATURE----- --EgVrEAR5UttbsTXg--