Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18214
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Dylan Carlson (RETIRED) <absinthe@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: PJ <PJ@EliteGamer.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bsdsfv.pj.patch My colorize patch for BSDSFV patch PJ 2003-03-26 19:21 0000 3.49 KB Details | Diff
bsdsfv-pj.jpg A picture of exactly what the patch does. image/pjpeg PJ 2003-03-26 19:57 0000 279.64 KB Details
bsdsfv.pj.patch My colorize patch for BSDSFV (new typo fix) patch PJ 2003-03-26 20:18 0000 3.49 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18214 depends on: Show dependency tree
Bug 18214 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-26 07:59 0000
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 From Seemant Kulleen (RETIRED) 2003-03-26 14:21:22 0000 -------
attach the patch anyway

------- Comment #2 From PJ 2003-03-26 19:21:34 0000 -------
Created an attachment (id=9879) [details]
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 From PJ 2003-03-26 19:57:12 0000 -------
Created an attachment (id=9882) [details]
A picture of exactly what the patch does.

------- Comment #4 From PJ 2003-03-26 20:18:06 0000 -------
Created an attachment (id=9883) [details]
My colorize patch for BSDSFV (new typo fix)

I fixed a typo by the original author that changed 'local' to 'Local'.

------- Comment #5 From Dylan Carlson (RETIRED) 2003-04-15 18:28:46 0000 -------
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,

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug