public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev]  Re: Re: Dependencies that're available at pkg_*inst
Date: Mon, 28 Apr 2008 13:13:47 +0100	[thread overview]
Message-ID: <20080428131347.2ddb28ff@snowcone> (raw)
In-Reply-To: <fv3lgm$p0i$1@ger.gmane.org>

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

On Mon, 28 Apr 2008 05:57:04 +0100
Steve Long <slong@rathaus.eclipse.co.uk> wrote:
> Ciaran McCreesh wrote:
> > On Sun, 27 Apr 2008 10:41:57 +0100
> > Steve Long <slong@rathaus.eclipse.co.uk> wrote:
> >> Use PDEPEND.
> > 
> > PDEPEND has a different meaning, and isn't suitable for runtime
> > dependencies.
> >
> "PDEPEND should be avoided in favour of RDEPEND except where this will
> create circular dependency chains."[1]
> Sounds very much like it is used for runtime deps, and breaking
> RDEPEND cycles has often been given as its purpose in #-portage and
> #-dev-help, as well as in the devmanual.

Yup, but it can't break all circular dependency chains.

> >> While I like labels they need to be discussed more on-list as well
> >> as on bugzilla (it's not reasonable for you simply to advertise
> >> them and then close down discussion.) For instance, there is no
> >> reason everything has to be loaded into just one extant metadatum,
> >> not do they preclude new metadata (such as a SRC_DEP here.)
> > 
> > Labels can be discussed on-list whenever there's a chance in hell of
> > Portage implementing any non-trivial new features.
> >
> That's not exactly in the spirit of collaboration (nor are your
> continuous snipes at portage.) New features should be discussed with
> a wider audience than bugzilla, not just used to advertise one impl
> and slipped in via an overlay. Further, having a consensus would
> allow pkgcore to move ahead with a more solid spec, and that /is/
> conducive to quicker implementation in portage, since those two teams
> do know how to collaborate effectively.

And if there's any chance that labels will ever be usable in the main
tree, that discussion will happen.

> 2b) seemed better. With use of PDEPEND in the manner outlined, it
> simply means pkg_{pre,post}inst can't rely on the PDEPEND'ed pkgs,
> only those in RDEPEND.

2b) isn't an option, since it's wrong. 2) is an option.

> Build-time dependencies wouldn't appear to cover the use-cases
> brought up, nor are they relevant for binary installs.

Which means in some cases binary packages are unusable where source
packages wouldn't be.

> I can see how it would be easier for the PM to be able to go for one
> or the other, but it doesn't give an ebuild author a consistent base.
> The intersection does but doesn't allow a package to call itself (one
> of the use case brought up.)

No, it means ebuilds have to be careful with dependencies if calling
themselves.

-- 
Ciaran McCreesh

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

      reply	other threads:[~2008-04-28 12:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19  4:31 [gentoo-dev] Dependencies that're available at pkg_*inst Ciaran McCreesh
2008-04-19  4:45 ` Donnie Berkholz
2008-04-19  4:54   ` Ciaran McCreesh
2008-04-19  5:27     ` Donnie Berkholz
2008-04-19  5:33       ` Ciaran McCreesh
2008-04-19  7:43         ` Chris Gianelloni
2008-04-22  7:09           ` Ciaran McCreesh
2008-04-22 18:31             ` Chris Gianelloni
2008-04-19 18:53         ` [gentoo-dev] " Duncan
2008-04-19 23:55           ` Ciaran McCreesh
2008-04-21  5:17         ` [gentoo-dev] " Donnie Berkholz
2008-04-21  5:23           ` Ciaran McCreesh
2008-04-21  8:52             ` Marijn Schouten (hkBst)
2008-04-21  9:00               ` Ciaran McCreesh
2008-04-21 10:22           ` [gentoo-dev] " Duncan
2008-04-21 10:10         ` [gentoo-dev] " Luca Barbato
2008-04-21 10:15           ` Ciaran McCreesh
2008-04-21 10:05     ` Luca Barbato
2008-04-21 10:17       ` Arfrever Frehtes Taifersar Arahesis
2008-04-22 20:32     ` Doug Goldstein
2008-04-19 16:38 ` Marijn Schouten (hkBst)
2008-04-19 23:57   ` Ciaran McCreesh
2008-04-20  1:29     ` Brian Harring
2008-04-20  8:36       ` Ciaran McCreesh
2008-04-20 10:48         ` Santiago M. Mola
2008-04-22 20:31     ` Doug Goldstein
2008-04-27  9:41     ` [gentoo-dev] " Steve Long
2008-04-27 10:55       ` Ciaran McCreesh
2008-04-28  4:57         ` [gentoo-dev] " Steve Long
2008-04-28 12:13           ` Ciaran McCreesh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080428131347.2ddb28ff@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox