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] explicit -r0 in ebuild filename
Date: Sun, 30 Mar 2008 05:40:44 +0100	[thread overview]
Message-ID: <20080330054044.780dd65e@snowcone> (raw)
In-Reply-To: <20080330041651.GA9041@seldon.hsd1.ca.comcast.net>

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

On Sat, 29 Mar 2008 21:16:51 -0700
Brian Harring <ferringb@gmail.com> wrote:
> Contrasting tabs vs spaces is a whole other matter.  One of the
> things you attempted to do in splitting PMS was to force certain
> technical tweaks through because frankly, they made sense (or you
> were stubborn, and it mostly made sense).  That's fine.

Not where those things involve large tree changes...

> Fairly obvious, the suffix0 case is pretty rarely used.

It's used more than a lot of other things... Some file suffixes for
unpack are only used by a single package, for example, yet they're
still in there. Ditto for some of the utilities.

> Quick look at the commiters behind the explict 0 suffixes, you
> don't  see any maintainer actually repeat it in another pkg-
> personally, I suspect majority of it was new dev mistake, in some
> cases propagated (wschlich feel free to correct me on this sine
> you've got the most there).  For dvd95, well aware pylon wasn't new
> at that point, so theory doesn't quite hold there (although oversight
> may fly).

Doesn't follow. Most upstreams don't use versions that fit an
unversioned part most of the time. You wouldn't expect to see it
repeated all over the place because in the real world it's not a very
common (but importantly, not non-existent or massively rare) issue.

> > You don't  want to start breaking people who use >=..._alpha0 when 
> > the version in the tree uses plain _alpha, for example.
> 
> Explicitly requiring on disk to not specify implicit components in no 
> way breaks atom support, or anything else for that matter.  Either 
> this is a minor brain fart on your part, or again, you're going to 
> have to be a fair bit more clear in your explanation.

Introducing multiple sets of versioning rules is a far worse gotcha
than a ban on duplicates. Banning _alpha etc in some places but not
others gets very confusing very quickly.

> > Package managers have to deal  with this kind of thing, and it's 
> > not one of those areas where we can change reality with little or 
> > no impact.
> 
> While package managers have to deal with this, there are two strong 
> args for forcing such a change into the repo itself;

Repositories are already not allowed to contain duplicated versions.
That's a sufficiently strong guarantee.

> 2) not surprisingly, it actually simplifies manager implementation.  
> Tracking internally whether 1.0 is actually 1.0-r0 on disk or not 
> means extra level of mappings required, meaning more areas to screw
> it up.

The package manager has to deal with equality and equivalence
separately anyway... If you're storing 1.0 when the actual version is
1.0-r0 you have issues regardless of whether -r0 itself is banned on
disk -- if you want to prevent that, you have to start banning versions
like 086 and 1.00 too.

-- 
Ciaran McCreesh

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

  reply	other threads:[~2008-03-30  4:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30  2:39 [gentoo-dev] explicit -r0 in ebuild filename Brian Harring
2008-03-30  2:48 ` Ciaran McCreesh
2008-03-30  3:12   ` Brian Harring
2008-03-30  3:20     ` Ciaran McCreesh
2008-03-30  4:16       ` Brian Harring
2008-03-30  4:40         ` Ciaran McCreesh [this message]
2008-03-30  9:39           ` Brian Harring
2008-03-30 13:10             ` [gentoo-dev] " Duncan
2008-03-30 14:54               ` Marijn Schouten (hkBst)
2008-03-30 15:38                 ` Ioannis Aslanidis
2008-03-30 17:56                   ` Richard Freeman
2008-03-30 18:26             ` [gentoo-dev] " Ciaran McCreesh
2008-03-30 16:24   ` Mike Frysinger
2008-03-30 18:18     ` Ciaran McCreesh
2008-03-30 18:59       ` Mike Frysinger
2008-03-30 23:40         ` Brian Harring
2008-03-30 23:46           ` Ciaran McCreesh
2008-03-31  0:02             ` Brian Harring
2008-03-31  0:06               ` Ciaran McCreesh
2008-03-31  0:29                 ` Brian Harring
2008-04-01 10:44                   ` Ciaran McCreesh
2008-04-04  6:39                   ` Bo Ørsted Andresen
2008-03-31  7:40   ` OT: offensive (Re: [gentoo-dev] explicit -r0 in ebuild filename) Thilo Bangert
2008-03-31  7:49     ` Anders Ossowicki
2008-03-31  8:29       ` Patrick Lauer
2008-03-31  8:48         ` Anders Ossowicki
2008-03-31 16:07     ` Jeroen Roovers
2008-03-30  3:36 ` [gentoo-dev] Re: explicit -r0 in ebuild filename Michael Sterrett -Mr. Bones.-
2008-03-30  3:41   ` Ciaran McCreesh

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=20080330054044.780dd65e@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