* [gentoo-dev] another portage ideea :)
@ 2004-04-14 10:36 KRimminal
2004-04-14 11:35 ` Brian Harring
2004-04-14 18:31 ` Chris Gianelloni
0 siblings, 2 replies; 6+ messages in thread
From: KRimminal @ 2004-04-14 10:36 UTC (permalink / raw
To: gentoo-dev
well, this ideea has been passed around on the gentoo forum, but no
steps have been taken.
the issue is: 'deletion of old distfiles'.
well, the code is in the forums, can someone check it and put it in the
portage tree ?
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another portage ideea :)
2004-04-14 10:36 [gentoo-dev] another portage ideea :) KRimminal
@ 2004-04-14 11:35 ` Brian Harring
2004-04-14 12:34 ` Xavier Neys
2004-04-14 18:31 ` Chris Gianelloni
1 sibling, 1 reply; 6+ messages in thread
From: Brian Harring @ 2004-04-14 11:35 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
On Wed, 2004-04-14 at 05:36, KRimminal wrote:
> well, this ideea has been passed around on the gentoo forum, but no
> steps have been taken.
> the issue is: 'deletion of old distfiles'.
> well, the code is in the forums, can someone check it and put it in the
> portage tree ?
I'd touched on inclusion of a distfiles cleaning utility in glep25-
regardless if the glep gets accepted or not, I think it would be a
useful addition to app-portage/gentoolkit.
I've personally been using a modified distclean, no complaints with it.
~brian
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another portage ideea :)
2004-04-14 11:35 ` Brian Harring
@ 2004-04-14 12:34 ` Xavier Neys
2004-04-14 20:36 ` KRimminal
0 siblings, 1 reply; 6+ messages in thread
From: Xavier Neys @ 2004-04-14 12:34 UTC (permalink / raw
To: ferringb; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
Brian Harring wrote:
> On Wed, 2004-04-14 at 05:36, KRimminal wrote:
>
>>well, this ideea has been passed around on the gentoo forum, but no
>>steps have been taken.
>>the issue is: 'deletion of old distfiles'.
>>well, the code is in the forums, can someone check it and put it in the
>>portage tree ?
>
> I'd touched on inclusion of a distfiles cleaning utility in glep25-
> regardless if the glep gets accepted or not, I think it would be a
> useful addition to app-portage/gentoolkit.
>
> I've personally been using a modified distclean, no complaints with it.
> ~brian
For what it's worth, this is how I list my unused distfiles:
# find /usr/portage/distfiles -type f -not \( `emerge -epf world 2>&1|awk
'BEGIN{mino=""}{n=split($1,a,"/");if(n>1){print mino,"-name ",a[n];mino=" -o
"}}'` \)
--
/ Xavier Neys
\_ Gentoo Documentation Project
/ French & Internationalisation Lead
\ http://www.gentoo.org/doc/en
/\
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another portage ideea :)
2004-04-14 10:36 [gentoo-dev] another portage ideea :) KRimminal
2004-04-14 11:35 ` Brian Harring
@ 2004-04-14 18:31 ` Chris Gianelloni
1 sibling, 0 replies; 6+ messages in thread
From: Chris Gianelloni @ 2004-04-14 18:31 UTC (permalink / raw
To: KRimminal; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
On Wed, 2004-04-14 at 06:36, KRimminal wrote:
> well, this ideea has been passed around on the gentoo forum, but no
> steps have been taken.
> the issue is: 'deletion of old distfiles'.
> well, the code is in the forums, can someone check it and put it in the
> portage tree ?
http://bugs.gentoo.org/show_bug.cgi?id=33877
This bug is a good place for these concerns. You might want to check
out the script there.
--
Chris Gianelloni
Developer, Gentoo Linux
Games Team
Is your power animal a pengiun?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another portage ideea :)
2004-04-14 12:34 ` Xavier Neys
@ 2004-04-14 20:36 ` KRimminal
2004-04-15 7:06 ` Drake Wyrm
0 siblings, 1 reply; 6+ messages in thread
From: KRimminal @ 2004-04-14 20:36 UTC (permalink / raw
Cc: gentoo-dev
Xavier Neys wrote:
> Brian Harring wrote:
>
>> On Wed, 2004-04-14 at 05:36, KRimminal wrote:
>>
>>> well, this ideea has been passed around on the gentoo forum, but no
>>> steps have been taken.
>>> the issue is: 'deletion of old distfiles'.
>>> well, the code is in the forums, can someone check it and put it in the
>>> portage tree ?
>>
>>
>> I'd touched on inclusion of a distfiles cleaning utility in glep25-
>> regardless if the glep gets accepted or not, I think it would be a
>> useful addition to app-portage/gentoolkit.
>>
>> I've personally been using a modified distclean, no complaints with it.
>> ~brian
>
>
> For what it's worth, this is how I list my unused distfiles:
>
> # find /usr/portage/distfiles -type f -not \( `emerge -epf world
> 2>&1|awk 'BEGIN{mino=""}{n=split($1,a,"/");if(n>1){print mino,"-name
> ",a[n];mino=" -o "}}'` \)
>
i wasn't talking about the unused ones, just the ones that have newer
downloaded releases.
like portage-1-2-3-4
would be replaced by portage-2-3-4-5
thus making portage-1-2-3-4 obsolete, and so, a clutter.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] another portage ideea :)
2004-04-14 20:36 ` KRimminal
@ 2004-04-15 7:06 ` Drake Wyrm
0 siblings, 0 replies; 6+ messages in thread
From: Drake Wyrm @ 2004-04-15 7:06 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]
On Wed, 2004-04-14, 23:36:24 +0300, in <407DA0C8.9050507@go.ro>,
KRimminal <krimminal@go.ro> wrote:
[snip]
> i wasn't talking about the unused ones, just the ones that have newer
> downloaded releases. like portage-1-2-3-4 would be replaced by
> portage-2-3-4-5 thus making portage-1-2-3-4 obsolete, and so, a
> clutter.
Random thoughts:
1. When updating a package, say from foo-1.2 to foo-2.3, move the
sources for foo-1.2 from $DISTDIR to $DISTDIR/old. Portage can still
find the sources (once it's updated to look in $DISTDIR/old also), but
can be manually scrubbed.
2. Change ebuild.sh so that it "installs" the sources in $DISTDIR. When
packages are unmerged and/or updated, the cruft will vanish. Those who
dislike that behavior can add $DISTDIR to their CONFIG_PROTECT. Even a
cfg-protected distdir would be easier to maintain.
bash-2.05b$ equery belongs /usr/portage/distfiles/foo-2.3.tbz2
Searching for '/usr/portage/distfiles/foo-2.3.tbz2'...
sys-misc/foo-2.3 (/usr/portage/distfiles/foo-2.3.tbz2)
bash-2.05b$ equery belongs /usr/portage/distfiles/foo-1.2.tbz2
Searching for '/usr/portage/distfiles/foo-1.2.tbz2'...
bash-2.05b$
--
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
--Ghost in the Shell
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-15 6:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-14 10:36 [gentoo-dev] another portage ideea :) KRimminal
2004-04-14 11:35 ` Brian Harring
2004-04-14 12:34 ` Xavier Neys
2004-04-14 20:36 ` KRimminal
2004-04-15 7:06 ` Drake Wyrm
2004-04-14 18:31 ` Chris Gianelloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox