public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages?
@ 2008-08-06  5:15 Zac Medico
  2008-08-06  5:30 ` Ciaran McCreesh
  0 siblings, 1 reply; 5+ messages in thread
From: Zac Medico @ 2008-08-06  5:15 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

I'd like you all to consider a PROPERTIES=virtual setting that
allows an ebuild to indicate that it installs no files and serves
only as a layer of dependency indirection. This will be another use
for the new PROPERTIES metadata variable that's already been
proposed to be added to the set of variables distributed via
${PORTDIR}/metadata/cache/ as part of the implementation of
PROPERTIES=live-sources [1].

The PROPERTIES=virtual attribute is useful as a means to indicate
that a package costs practically nothing to install. This knowledge
plays a vital role in distinguishing the most optimal state, when
deciding which packages should be chosen to satisfy the dependencies
of a virtual. Knowledge of this property is what allows bug #141118
[2] to be solved.

In the past it was possible to infer the property represented by
PROPERTIES=virtual from the fact that a package was in the virtual
category [3]. However, a java-virtuals category [4] has since been
added. Also, we have some other meta-packages like kde-*-meta or
whatnot that could legitimately advertise this attribute.

Does this seem like a desirable way to represent the "virtual"
attribute? Any suggestions?

Zac

[1]
http://archives.gentoo.org/gentoo-dev/msg_187585c5d49b69034183719ff473710d.xml
[2] http://bugs.gentoo.org/show_bug.cgi?id=141118
[3] http://packages.gentoo.org/category/virtual
[4] http://packages.gentoo.org/category/java-virtuals
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiZM14ACgkQ/ejvha5XGaMCGwCeJdcO2dGeqsLyDJ8dhDquw8Hm
Hm0An3WdGcsKJWjt0jaxrrTDXsgBBoNW
=c/WK
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages?
  2008-08-06  5:15 [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages? Zac Medico
@ 2008-08-06  5:30 ` Ciaran McCreesh
  2008-08-06  5:57   ` Zac Medico
  0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2008-08-06  5:30 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

On Tue, 05 Aug 2008 22:15:11 -0700
Zac Medico <zmedico@gentoo.org> wrote:
> Does this seem like a desirable way to represent the "virtual"
> attribute? Any suggestions?

Again, I'm not so sure that this doesn't represent multiple separable
concepts. It seems to imply:

* that the install cost is effectively zero
* that the resolution cost is effectively zero
* that the package does not install any files
* that the package does not use any of the (normal?) ebuild phases, and
so does not require exclusive pkg_* execution or pkg_* system state
preservation.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages?
  2008-08-06  5:30 ` Ciaran McCreesh
@ 2008-08-06  5:57   ` Zac Medico
  2008-08-06  6:02     ` Ciaran McCreesh
  2008-08-11  7:36     ` [gentoo-dev] " Steve Long
  0 siblings, 2 replies; 5+ messages in thread
From: Zac Medico @ 2008-08-06  5:57 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ciaran McCreesh wrote:
> On Tue, 05 Aug 2008 22:15:11 -0700
> Zac Medico <zmedico@gentoo.org> wrote:
>> Does this seem like a desirable way to represent the "virtual"
>> attribute? Any suggestions?
> 
> Again, I'm not so sure that this doesn't represent multiple separable
> concepts. It seems to imply:
> 
> * that the install cost is effectively zero
> * that the resolution cost is effectively zero
> * that the package does not install any files
> * that the package does not use any of the (normal?) ebuild phases, and
> so does not require exclusive pkg_* execution or pkg_* system state
> preservation.
> 

Can't we just treat them like other ebuilds except for the thing
about dependencies? Perhaps more fine-grained attributes could be
added for additional specificity.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiZPUcACgkQ/ejvha5XGaMEaQCgxq1kW+OJ5tZwPFXXI0rWKmRc
PQEAnA7bRCfM/w6eq5p9eS8N7lSQYG7r
=ghiB
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages?
  2008-08-06  5:57   ` Zac Medico
@ 2008-08-06  6:02     ` Ciaran McCreesh
  2008-08-11  7:36     ` [gentoo-dev] " Steve Long
  1 sibling, 0 replies; 5+ messages in thread
From: Ciaran McCreesh @ 2008-08-06  6:02 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

On Tue, 05 Aug 2008 22:57:28 -0700
Zac Medico <zmedico@gentoo.org> wrote:
> Can't we just treat them like other ebuilds except for the thing
> about dependencies? Perhaps more fine-grained attributes could be
> added for additional specificity.

Could do, yes, in which case the name should be something like
'zero-resolution-cost' rather than 'virtual'. But since giving more
information to the package manager is trivial, we might as well do
so.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev]  Re: [RFC] New PROPERTIES=virtual value to identify meta-packages?
  2008-08-06  5:57   ` Zac Medico
  2008-08-06  6:02     ` Ciaran McCreesh
@ 2008-08-11  7:36     ` Steve Long
  1 sibling, 0 replies; 5+ messages in thread
From: Steve Long @ 2008-08-11  7:36 UTC (permalink / raw
  To: gentoo-dev

Zac Medico wrote:

> Ciaran McCreesh wrote:
>> On Tue, 05 Aug 2008 22:15:11 -0700
>> Zac Medico <zmedico@gentoo.org> wrote:
>>> Does this seem like a desirable way to represent the "virtual"
>>> attribute? Any suggestions?
>> 
>> Again, I'm not so sure that this doesn't represent multiple separable
>> concepts. It seems to imply:
>> 
>> * that the install cost is effectively zero
>> * that the resolution cost is effectively zero
>> * that the package does not install any files
>> * that the package does not use any of the (normal?) ebuild phases, and
>> so does not require exclusive pkg_* execution or pkg_* system state
>> preservation.
>> 
> 
> Can't we just treat them like other ebuilds except for the thing
> about dependencies? Perhaps more fine-grained attributes could be
> added for additional specificity.
> 
Sounds good. Keep existing keyword working how it is, and add new ones
after.

I'd vote for free-{resolve,install} empty and threadable for the other
concepts.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-11 12:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06  5:15 [gentoo-dev] [RFC] New PROPERTIES=virtual value to identify meta-packages? Zac Medico
2008-08-06  5:30 ` Ciaran McCreesh
2008-08-06  5:57   ` Zac Medico
2008-08-06  6:02     ` Ciaran McCreesh
2008-08-11  7:36     ` [gentoo-dev] " Steve Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox