From: Chris Bainbridge <C.J.Bainbridge@ed.ac.uk>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] ebuild naming policy
Date: Wed, 16 Apr 2003 13:30:35 +0000 [thread overview]
Message-ID: <200304161330.35974.C.J.Bainbridge@ed.ac.uk> (raw)
In-Reply-To: <200304161015.20358.gentoo-user@devrieze.net>
On Wednesday 16 April 2003 08:15, Paul de Vrieze wrote:
> On Wednesday 16 April 2003 04:43, George Shapovalov wrote:
> > Ok, this is shaping up :).
> >
> > Dave: could you please submit a bug, with a short description of this
> > discussion? Otherwise I am afraid this is going to be easily lost..
>
> I would like to add that I believe the failure option is best. Further
> there is another problem with duplicate packages, that is duplicate
> distfile names. This will not work in the current portage. Maybe portage
> should use some automatic renaming feature in case of duplicates. Automatic
> prefixing of categoryname+packagename to the file should be doable. The
> only thing then is that the file unpacking code should first check for the
> prefixed filename. Using directories in distfiles (and maybe too in
> packages (where every file is in All)) could also solve possible conflicts.
>
> Paul
There are possible name conflicts in /usr/portage/packages/All and
/usr/portage/distfiles. I found bug
http://bugs.gentoo.org/show_bug.cgi?id=16222 which seems to cover it. I
suggest that packages are stored in /usr/portage/hashes/ and given the file
name of the hash value. This ensures uniqueness in the "all files" directory.
/usr/portage/packages/All can then be removed and symlinks can point directly
to the hashes directory. /usr/portage/distfiles can follow the same
convention as packages so we have eg.
/usr/portage/distfiles/dev-lang/package-x.y.z-r1/ as the base directory for
files, with symlinks inside pointing to the unique files used by that
package.
I don't like the idea of modifying ebuilds. The ebuild writer has to check
that every filename they download is unique, and every package has to be
unique. Arbitrary renaming of packages causes more problems, when I wrote the
medusa ebuild I noted that theres another medusa in gnome.. We don't want to
be renaming packages to things like gnome-extra/gnome-medusa or
dev-python/medusa-framework when we already have a perfectly good package
hierarchy.
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-04-16 12:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 23:42 [gentoo-dev] ebuild naming policy Dave Nellans
2003-04-15 23:16 ` Jon Portnoy
2003-04-16 0:03 ` Dave Nellans
2003-04-15 23:43 ` Fred Van Andel
2003-04-16 0:11 ` George Shapovalov
2003-04-16 0:58 ` Dave Nellans
2003-04-16 0:35 ` Peter Ruskin
2003-04-16 1:39 ` Jeff Rose
2003-04-16 2:43 ` George Shapovalov
2003-04-16 8:15 ` Paul de Vrieze
2003-04-16 13:30 ` Chris Bainbridge [this message]
2003-04-15 23:20 ` Chris PeBenito
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=200304161330.35974.C.J.Bainbridge@ed.ac.uk \
--to=c.j.bainbridge@ed.ac.uk \
--cc=gentoo-dev@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