From: "Alec Warner" <antarus@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [RFC - Moving categories around]
Date: Tue, 8 May 2007 23:04:44 -0700 [thread overview]
Message-ID: <b41005390705082304k688f6fddk7c61615e4eaa517f@mail.gmail.com> (raw)
In-Reply-To: <b41005390705082109m18d456e8n1ff39b08e822e142@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2622 bytes --]
oops, sent with wrong address the first time.
---------- Forwarded message ----------
From: Alec Warner <antarus@scriptkitty.com>
Date: May 8, 2007 9:09 PM
Subject: [RFC - Moving categories around]
To: gentoo-dev@gentoo.org
So a random thought I had was 'lets move categories out of gentoo-x86/ and
into gentoo-x86/ebuilds/'
The existing layout is:
gentoo-x86/
- <category1>/<pn...>/<ebuilds + misc stuff>
- <category2>/<pn...>/<ebuilds + misc stuff>
.....
- <categoryN>/<pn...>/<ebuilds + misc stuff>
- profiles/
- scripts/
- metadata/
- eclass/
- distfiles/
- local/*
- licenses/*
The new layout would be:
gentoo-x86/
- profiles/
- scripts/
- metadata/
- eclass/
- licenses/
- ebuilds/<category...>/<pn...>/...and so forth
- local/*
- distfiles/*
(* indicates a common directory for rsync users).
The benefits include making the layout cleaner, obsoleting the categories
file.
The risks primarily include breaking a bunch of crappy old tools, as well as
all existing package managers and user installations for those users who
have not upgraded.
I would personally fix portage and anything in gentoolkit and
gentoolkit-dev.
This change would involve breaking all old installations of gentoo that
still sync the tree for updates such as GLSA's but don't upgrade their
package manager to a version that supports the new ebuild locations. I
don't really know how we support those users at present.
An upgrade path would need to be provided, particularly the user must be
able to use an older version of a package manager in conjunction with an
ebuild to upgrade itself to a version that supports the new tree format.
This seems to me that we should come up with a tree format scheme such that
when updating the tree, the package manager can then detect if it supports
the updated tree's format or not. The upgrade case is then solved by the
package manager refusing to fetch tree updates until the user upgrades the
package manager to a version that supports the new tree format. The corner
case here is where someone bumps the tree version but all available package
managers are not yet in the tree. This would prevent users from upgrading
to a version of their package manager that supports the new tree format
because the ebuilds would no longer be available in the old format.
An interesting solution to this would be to split the rsync data in to 2
trees, one 'old format tree' and one 'new format tree' and users can
configure their clients appropriately. eventually the old format tree would
be deprecated; tree changes would be replicated to both trees.
Flame on
-alec
[-- Attachment #2: Type: text/html, Size: 3255 bytes --]
next parent reply other threads:[~2007-05-09 6:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <b41005390705082109m18d456e8n1ff39b08e822e142@mail.gmail.com>
2007-05-09 6:04 ` Alec Warner [this message]
2007-05-09 6:11 ` [gentoo-dev] [RFC - Moving categories around] Donnie Berkholz
2007-05-09 6:12 ` Ciaran McCreesh
2007-05-09 15:08 ` Piotr Jaroszyński
2007-05-09 19:29 ` [gentoo-dev] " Steve Long
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=b41005390705082304k688f6fddk7c61615e4eaa517f@mail.gmail.com \
--to=antarus@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