Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18214 - New Version of BSDSFV posted
Summary: New Version of BSDSFV posted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dylan Carlson (RETIRED)
URL: http://sourceforge.net/projects/bsdsfv
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 07:59 UTC by PJ
Modified: 2003-04-15 18:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My colorize patch for BSDSFV (bsdsfv.pj.patch,3.49 KB, patch)
2003-03-26 19:21 UTC, PJ
Details | Diff
A picture of exactly what the patch does. (bsdsfv-pj.jpg,279.64 KB, image/pjpeg)
2003-03-26 19:57 UTC, PJ
Details
My colorize patch for BSDSFV (new typo fix) (bsdsfv.pj.patch,3.49 KB, patch)
2003-03-26 20:18 UTC, PJ
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PJ 2003-03-26 07:59:47 UTC
app-arch/bsdsfv

Currention portage version is 1.13, new version is 1.14.

I've also independently created a patch for 1.14 to colorize the "OK", "BAD", 
and "MISSING" msgs to match the default Gentoo color format, but I'm not sure 
if you guys ever include patches like that. =)

-PJ
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-26 14:21:22 UTC
attach the patch anyway
Comment 2 PJ 2003-03-26 19:21:34 UTC
Created attachment 9879 [details, diff]
My colorize patch for BSDSFV

Basically I added some var's for the colors and msgs he had hard coded on each
printf line, and colored them. My goal was to make it easier to tell a file's
status by just looking at the color. Green for good, Red for bad, Yellow for
missing. Nothing major / special. Apply patch with:
----
patch bsdsfv.c < bsdsfv.pj.patch
----
From the source dir.
Comment 3 PJ 2003-03-26 19:57:12 UTC
Created attachment 9882 [details]
A picture of exactly what the patch does.
Comment 4 PJ 2003-03-26 20:18:06 UTC
Created attachment 9883 [details, diff]
My colorize patch for BSDSFV (new typo fix)

I fixed a typo by the original author that changed 'local' to 'Local'.
Comment 5 Dylan Carlson (RETIRED) gentoo-dev 2003-04-15 18:28:46 UTC
Done; masked for testing.  Thanks for the submission.  

I like the patch; the only thing about it is, there's no way to turn off the colors if you need to.  So, if you could improve this patch to include an arg (like -nc for nocolor) that would be ideal.

The patch is in there as-is for now, and we'll see how the user feedback goes.

Cheers,