public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexis Ballier <aballier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Policy-level discussion for minimum versions on dependencies
Date: Thu, 07 Nov 2013 10:44:50 +0100	[thread overview]
Message-ID: <1383817490.28316.6.camel@localhost> (raw)
In-Reply-To: <527A84A3.7070607@gentoo.org>

On Wed, 2013-11-06 at 13:04 -0500, Ian Stakenvicius wrote:
> On 06/11/13 12:56 PM, yac wrote:
> > On Wed, 06 Nov 2013 16:48:54 +0100 Alexis Ballier
> > <aballier@gentoo.org> wrote:
> > 
> >> On Wed, 2013-11-06 at 10:15 -0500, Ian Stakenvicius wrote:
> >>> However, it's been a long-standing general practise that if
> >>> there are no deps in the tree older than what is necessary for
> >>> a package, that package doesn't need to have a minimum version
> >>> on the dependency atom. As such, issues similar to this are
> >>> probably lying in wait all other the place in the tree.
> >> 
> >> this is a common misconception: ebuilds must have min. deps
> >> matching their requirements (exactly because of this problem)
> >> 
> >> it can be fixed on the user side by 'emerge -uDN world' meanwhile
> >> but this doesn't mean the ebuild doesn't have a bug, even if
> >> minor
> >> 
> >> Alexis.
> > 
> > When I started contributing via sunrise, I've been adding the
> > minimal versions of dependencies as declared by upstream but I met
> > with very strict enforcement of the policy to not specify minimal
> > version if all the ones in current tree satisfies.
> > 
> > Is it documented somewhere or is it just unwritten consensus?
> > 
> > What I see is only Ebuild Policy [1e] which doesn't deal with
> > this.
> > 
> > .. [1e]
> > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1
> >
> > 
> I searched as well, and couldn't find anything documented one way or
> the other, either.  I concluded that it's unwritten consensus.
> 
> That's the main reason I wanted to start this discussion -- to
> effectively start documenting it and get dev's all on the same page.
> To be honest I think it should be policy or at least a written-down
> guideline, that dev's should do this within reason -- if an
> older-than-minimum version of something has been in the tree within
> the past year.  Gone for more than a year should be safe, I expect.

its kind of common sense IMHO but if you want a policy, then go for
it :)

there shouldn't be any time limit; portage doesnt do -uDN by default and
people want this because of the "if it ain't broken don't fix it" motto.
with prod servers you want to update portage for EAPI stuff, get
security fixes, but not much more; even an "up to date" box can have 5
years gone packages.

in short: if a package requires version X then the ebuild should require
version X; it can be forgotten but it's a bug.



  parent reply	other threads:[~2013-11-07  9:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 15:15 [gentoo-dev] Policy-level discussion for minimum versions on dependencies Ian Stakenvicius
2013-11-06 15:26 ` Kent Fredric
2013-11-06 15:41   ` Ian Stakenvicius
2013-11-06 16:15   ` Alan McKinnon
2013-11-06 18:28     ` Rich Freeman
2013-11-06 20:23       ` [gentoo-dev] " Duncan
2013-11-08 22:56       ` [gentoo-dev] " William Hubbs
2013-11-06 15:48 ` Alexis Ballier
2013-11-06 17:56   ` yac
2013-11-06 18:04     ` Ian Stakenvicius
2013-11-06 18:22       ` Mike Gilbert
2013-11-06 18:53         ` yac
2013-11-07  9:44       ` Alexis Ballier [this message]
2013-11-07 15:22         ` Peter Stuge
2013-11-08  0:55         ` Rémi Cardona
2013-11-09  1:19           ` Ben de Groot
2013-11-09 12:28             ` Andreas K. Huettel
2013-11-09 17:02               ` Matt Turner
2013-11-09 17:27                 ` Andreas K. Huettel
2013-11-10 14:11                 ` Thomas Kahle
2013-11-06 15:52 ` "Paweł Hajdan, Jr."

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=1383817490.28316.6.camel@localhost \
    --to=aballier@gentoo.org \
    --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