Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ryan Hill <dirtyepic@g.o>
Subject: Re: When the version scheme changes
Date: Sun, 29 Jun 2008 15:00:31 -0600
"Marijn Schouten (hkBst)" <hkBst@g.o> wrote:

> Marius Mauch wrote:

> > "Marijn Schouten (hkBst)" <hkBst@g.o> wrote:

> >> Marius Mauch wrote:

> >>>>> I don't really see how making PV not read-only is any easier
> >>>>> than using MY_PV. Did you expect changing PV to magically
> >>>>> change P, PVR and PF too?

> >>>> If we can agree to have those values writable we could define a
> >>>> function that will handle resetting all those too.

> >>> Not going to happen. These variables are used internally by
> >>> portage in various ways, and making their content inconsistent
> >>> with the version in the filename is likely to cause subtle bugs
> >>> and/or weird behavior. Besides, you've yet to explain the benefit
> >>> of it, short of avoiding a simple replace operation in an ebuild,
> >>> and the given use case isn't all that common anyway.

> >> Why can't portage use its own variables and export these with an
> >> initial value but not use them further?

> > Because there is no need to create even more variables when there is
> > absolutely no benefit.

> The benefit is being able to automatically reversion an ebuild.
> Reversioning may not be necessary very often, but it's annoying when
> it is and there is no good reason that it should. There is no benefit
> in keeping the version variables read-only.

What is so hard about using MY_PV that you want portage to change how
it uses versioning internally?  It's one assignment and a sed.


-- 
gcc-porting,                                      by design, by neglect
treecleaner,                              for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
Attachment:
signature.asc (PGP signature)
References:
When the version scheme changes
-- Marijn Schouten (hkBst)
Re: When the version scheme changes
-- Bo Ørsted Andresen
Re: When the version scheme changes
-- Marijn Schouten (hkBst)
Re: When the version scheme changes
-- Marius Mauch
Re: When the version scheme changes
-- Marijn Schouten (hkBst)
Re: When the version scheme changes
-- Marius Mauch
Re: When the version scheme changes
-- Marijn Schouten (hkBst)
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: When the version scheme changes
Next by thread:
Re: When the version scheme changes
Previous by date:
Re: When the version scheme changes
Next by date:
Re: Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common"


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.