public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: Re: New category proposal
Date: Tue, 10 May 2005 22:59:42 -0700	[thread overview]
Message-ID: <pan.2005.05.11.05.59.41.690672@cox.net> (raw)
In-Reply-To: 20050511050920.GC17034@exodus.wit.org

Brian Harring posted <20050511050920.GC17034@exodus.wit.org>, excerpted
below,  on Wed, 11 May 2005 00:09:20 -0500:

> One thing that just clicked in the skull on why flat-tree has issues;
> currently it's possible to have a package with the same name, yet a
> differing category (app-vim/sudo vs app-admin/sudo).
> 
> Since our tree layout is based upon category, if you tried shifting the
> focus of it to packages_in anyway_, you would explicitly disallow same
> name packages, different category.  Doesn't matter how you structure the
> tree, if you do lookup into the tree based on package, not category, you
> disallow same named packages.

While I'm not a flat tree supporter per se, duplicate packages are IMO a
bad thing in any case, for two reasons.

1) Human.  It's frustrating to do emerge sudo and have it tell you to
specify, when there's only /one/ "normal" sudo.  The /other/ sudo should
be vim-sudo or whatever, as you mention later.

2) Bin-pkgs.  As currently structured, we have a de-facto "flat" bin-pkgs
layout anyway, since the tree is simply a bunch of symlinks pointing to
the $PKGDIR/All dir that /all/ the packages land in.  Clashing packages is
NOT a good thing, as I'm sure you are aware.  /Something/ really needs to
be done about this one.  Any possible light at the end of the tunnel here?

BTW, it'd be very handy to have "slotted" bin-pkgs as well, "slotted" as
in allowing me to do things like test a gcc4 created package, without
erasing my gcc-3.4 created bin-pkg, in case something doesn't work, and
without having to remember to manually copy/move the existing bin-pkg
first to keep that backup.  A feature to enable some arbitrary identifier
in the binpkg name, or an arbitrary string as a binpkg subdir path
fragment, would be very helpful.  Something like FEATURES=binpkg-name then
enabling a BINPKG-NAME=gcc4, to then either create a $PKGDIR/gcc4 subtree,
or $PKGDIR/All/package-version.gcc4.tbz2 type package and appropriate
symlink.  One could then just remember to change the $BINPKG-NAME entry in
make.conf whenever one runs gcc-config, or whenever one triggers whatever
switch and desires a corresponding binpkg-slot change.  Anything like this
in the works?  Should I file an enhancement bug?  Maybe the ability is
there already and I just don't know it, as with the very cool make.conf
"source" feature I saw mentioned on the amd64 list?

BTW2, does the "." shortcut work in make.conf?  I can envision a make.conf
that's simply a half dozen or so lines of "source
/etc/portage/make.network.conf", ". /etc/portage/make.useflags.conf", etc.
Is that documented anywhere, yet?  When (version) was it introduced?

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2005-05-11  6:00 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 13:17 [gentoo-dev] New category proposal Alin Nastac
2005-05-08 13:47 ` Lars Weiler
2005-05-08 17:57 ` [gentoo-dev] " R Hill
2005-05-08 20:46   ` [gentoo-dev] Re: New category proposal, [gentoo-dev] Alin Nastac
2005-05-08 23:53     ` Mike Frysinger
2005-05-09 12:16       ` [gentoo-dev] Henrik Brix Andersen
2005-05-09 13:21         ` [gentoo-dev] Alin Nastac
2005-05-09 13:34           ` [gentoo-dev] Henrik Brix Andersen
2005-05-09 14:01             ` [gentoo-dev] New category proposal Alin Nastac
2005-05-09 14:56               ` Henrik Brix Andersen
2005-05-09 15:05               ` Peter Cech
2005-05-09 19:05             ` [gentoo-dev] Sami Samhuri
2005-05-08 22:29   ` [gentoo-dev] Re: New category proposal, [gentoo-dev] W.Kenworthy
2005-05-08 23:01     ` Collins Richey
2005-05-08 23:50       ` Lars Weiler
2005-05-09  0:19         ` Georgi Georgiev
2005-05-09 17:07           ` [gentoo-dev] Re: New category proposal Aron Griffis
2005-05-10  9:02             ` Martin Schlemmer
2005-05-10 14:27               ` [gentoo-dev] " Duncan
2005-05-10 15:05                 ` Alec Warner
2005-05-10 15:36                   ` Stephen Bennett
2005-05-10 17:25                     ` [gentoo-dev] " Duncan
2005-05-10 17:34                       ` Stephen P. Becker
2005-05-10 17:44                       ` Stephen Bennett
2005-05-10  9:28             ` [gentoo-dev] " Martin Schlemmer
2005-05-10 11:04               ` Georgi Georgiev
2005-05-11  3:30                 ` Brian Harring
2005-05-11  4:27                   ` Georgi Georgiev
2005-05-11  5:09                     ` Brian Harring
2005-05-11  5:59                       ` Duncan [this message]
2005-05-11  6:50                         ` [gentoo-dev] " Brian Harring
2005-05-11 10:03                           ` [gentoo-dev] " Duncan
2005-05-11 10:35                             ` Duncan
2005-05-11  7:10                         ` [gentoo-dev] " Georgi Georgiev
2005-05-11  7:23                           ` Georgi Georgiev
2005-05-11 10:13                           ` [gentoo-dev] " Duncan
2005-05-11 15:41                         ` [gentoo-dev] " Ciaran McCreesh
2005-05-11 17:21                           ` Georgi Georgiev
2005-05-11 18:06                             ` Ciaran McCreesh
2005-05-11 19:01                               ` Georgi Georgiev
2005-05-11 19:10                                 ` Ciaran McCreesh
2005-05-11 19:37                                   ` Brian Harring
2005-05-11 22:58                                   ` Stroller
2005-05-12  9:11                                     ` Patrick Lauer
2005-05-12 19:01                                       ` Stroller
2005-05-12 11:53                                         ` Alec Warner
2005-05-12 23:15                                         ` Brian Harring
2005-05-14 12:46                                         ` Jan Kundrát
2005-05-11  7:46                       ` [gentoo-dev] " Kevin F. Quinn
2005-05-11  8:40                         ` Brian Harring
2005-05-11  9:01                           ` Georgi Georgiev
2005-05-11 10:42                             ` Brian Harring
2005-05-11 15:11                               ` Alec Warner
2005-05-11 15:33                                 ` Brian Harring
2005-05-11 17:32                                   ` Georgi Georgiev
2005-05-12 11:37                           ` Kevin F. Quinn
2005-05-10  9:35             ` Martin Schlemmer
2005-05-16 20:28           ` [gentoo-dev] multiple categories for a package (was: [gentoo-dev] Re: New category proposal) David Klaftenegger
2005-05-16 20:45             ` Brian Harring
2005-05-17  8:38               ` [gentoo-dev] multiple categories for a package David Klaftenegger
2005-05-17  9:14                 ` Jan Kundrát
2005-05-17  8:26             ` Marius Mauch
2005-05-17 10:38               ` Alin Nastac
2005-05-17 21:10                 ` Marius Mauch

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=pan.2005.05.11.05.59.41.690672@cox.net \
    --to=1i5t5.duncan@cox.net \
    --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