From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] stripping implementation in portage
Date: Tue, 23 Aug 2005 13:17:15 -0500 [thread overview]
Message-ID: <20050823181715.GB28369@nightcrawler> (raw)
In-Reply-To: <1124819926.12024.80.camel@cocagne.max-t.internal>
[-- Attachment #1: Type: text/plain, Size: 2475 bytes --]
On Tue, Aug 23, 2005 at 01:58:46PM -0400, Olivier Crete wrote:
> I havent looked at your new implementation (does it exist).. but yea
> what you wrote seems to make sense... except that I keep the source code
> too.. so it would bloat binary packages.. I think it should be done
> before the packages are made.. or maybe use separate debug and have
> separate debug packages like RedHat does.
Your choice of what goes into the binpkg is just that, your choice,
just the same as your choice of what ultimately hits the livefs.
Bit of a shift in terms of how things are designed; repositories are
base objects, things like package.* filtering and changing
(package.use) is implemented as wrappers of the repo. Wrapper base is
implemented, as is the filtering wrappers; for what's discussed above,
just need to design an appropriate contents filter.
Re: does it exist, yes (in cvs, and now living in svn), better
question, is it usable yet, no; core was yanked, rebuilding it. This
is a sizable chunk of why feature requests are on hold- either more
crap gets duct taped into portage, or design is corrected so
features/additions/tweaks/whatever is easier to do. Long term
maintenance/extensibility vs short term gain is the crux of it.
What you're after can be pulled off, and the specification of what
type of stripping to do can be left to the user's config for that repo;
intention is to allow you to strip sources for binpkgs fex, while not
stripping sources for livefs merge.
Just a question of how you define your config; the restriction/depends
bit referenced in the other thread relates to this, you define the
classes needed and define your config to use them, using alt. formats
should be possible (exception: OE format I don't see any way to
support of what I know).
So... the sources concern is moot. Hell, via the wrapper approach if you
wanted you would be able to define your own wrapper that splits a pkg
into chunks, or have the repo do it. Don't really care what you do,
just care correcting underlying issues, and having the remaining beast
flexible so people can do whatever crazy crap they want instead of
directly hacking portage innards.
Sidenote, wrapper approach is how install_mask/no{man,info,doc} will
be defined, rather then jamming crap into the core. Define it as
seperate chunks, and you can arbitrarily arrange it, doing whatever
the hell you want.
~harring
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-08-23 18:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 22:38 [gentoo-dev] stripping implementation in portage Brian Harring
2005-08-22 23:17 ` Jason Stubbs
2005-08-22 23:23 ` Donnie Berkholz
2005-08-23 9:16 ` Paul de Vrieze
2005-08-23 17:34 ` Olivier Crete
2005-08-23 17:40 ` Brian Harring
2005-08-23 17:58 ` Olivier Crete
2005-08-23 18:17 ` Brian Harring [this message]
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=20050823181715.GB28369@nightcrawler \
--to=ferringb@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