Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 15:12:22 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Vitaly Magerya <vmagerya@gmail.com>
Cc:        ports@freebsd.org, Eitan Adler <lists@eitanadler.com>
Subject:   Re: ports need a uniq identifier, do you have any suggestion?
Message-ID:  <20120611131222.GW60433@ithaqua.etoilebsd.net>
In-Reply-To: <4FD5E522.4020506@gmail.com>
References:  <20120611043001.GO60433@ithaqua.etoilebsd.net> <CAF6rxg=Z5C=_JZ6B9vut-g9mdDq8c6AN_e1TaPAyEFQYkjBBvA@mail.gmail.com> <20120611073017.GT60433@ithaqua.etoilebsd.net> <4FD5E522.4020506@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--RMorpr61ug7CvG36
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 11, 2012 at 03:31:30PM +0300, Vitaly Magerya wrote:
> Baptiste Daroussin wrote:
> >> Perhaps we could introduce UNIQUE_ORIGIN which is
> >> ${ORIGIN}_${SUBPACKAGE} or something of the sort?
> >=20
> > I thought about this one, but while here we should think about package =
move
> > which keeps being the same package, in that case origin will change, an=
d the
> > uniquename will change which is no good for binary world.
>=20
> Does pkgng handle MOVED during upgrades? If so, ${ORIGIN}_${SUBPACKAGE}
> will work fine, if not -- then it should; relying on unique name not to
> change is fragile.

pkgng doesn't handle MOVED yet and having a unique identifier for for packa=
ge
would simplify 90% of the move cases.

Plus ${ORIGIN}_${SUBPACKAGE} is fragile because you can have a port  which =
is:
lang/mylang with a subpackage bla which will give lang/mylang_bla=20
and a port lang/mylang_bla with no subpackage which will give  lang/mylang_=
bla

regards,
Bapt

--RMorpr61ug7CvG36
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/V7rYACgkQ8kTtMUmk6ExmFwCgvDLVEIA5rJJKiRuMIowcg9Rm
3n4An3naBD2ajVvSsu1aeixLmWNML4RD
=dZe0
-----END PGP SIGNATURE-----

--RMorpr61ug7CvG36--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120611131222.GW60433>