public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] File counter
@ 2005-05-02  8:11 Diego 'Flameeyes' Pettenò
  2005-05-02 10:55 ` Diego 'Flameeyes' Pettenò
  0 siblings, 1 reply; 2+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-02  8:11 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]

Ok I was a bit quiet lately but that's only because I was vocal elsewhere 
(irc) ;)..

You can find attached a little script I wrote last night to get a count of 
files in $FILESDIR for packages to make sure they just are the few needed, as 
I'm moving the patches for packages which needs 2 or more patches every 
versions in patchset tarballs which get downloaded only when requested.

It's a probably-wrong, dirty, bad-looking bash script, but it works fine here.

It must run from a portage basedir (it should work also on a personal overlay 
anyway), and accepts two parameters: the first is the name of the category if 
you want to check just one, the other one is the minimum number of files to 
report, the default is 1, I usually make it 3.

Hope this can be useful.

-- 
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/


[-- Attachment #1.2: countfiles.sh --]
[-- Type: application/x-shellscript, Size: 798 bytes --]

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] File counter
  2005-05-02  8:11 [gentoo-dev] File counter Diego 'Flameeyes' Pettenò
@ 2005-05-02 10:55 ` Diego 'Flameeyes' Pettenò
  0 siblings, 0 replies; 2+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-02 10:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

On Monday 02 May 2005 10:11, Diego 'Flameeyes' Pettenò wrote:
> I'm moving the patches for packages which needs 2 or more patches every
> versions in patchset tarballs which get downloaded only when requested.
Okay as foser pointed out that wasn't so obvious, I'm referring just and only 
to packages which are in my competences. I'll never mess with others' 
packages, also because I've already enough stuff in media-video which needs 
love :)

-- 
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-02 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02  8:11 [gentoo-dev] File counter Diego 'Flameeyes' Pettenò
2005-05-02 10:55 ` Diego 'Flameeyes' Pettenò

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox