On 20-Apr-09, at 5:28 PM, John Horne wrote:

On Mon, 2009-04-20 at 12:33 -0400, Brian McKee wrote:
I noticed this morning that rkhunter doesn't bash complete.

Hello,

Bash completion has been suggested before. See
http://sourceforge.net/tracker/? func=detail&aid=1662763&group_id=155034&atid=794189

Guess I should have checked huh?

The comments there seem to indicate you guys were concerned about the level of maintenance required to keep the script up to date.

IIUC, the script I provided will 'automagically' stay up to date because it uses the output of the -h option to build all the possible completions. In other words, if you add --foo to rkhunter and make sure it shows up as a listed option when you do rkhunter --help then the completion will work as well.

The only exception would be the options that take another argument e.g. --hash has three arguments. --hash would still complete, but the arguments wouldn't, even if no maintenance was done at all.

As far as those exceptions, I might be willing to get the script up to snuff as of today, but I can't guarantee I'll be around in a year or three to update it again (who can?)

My questions are
- now that the rkhunter has been reworked pretty extensively in the last few releases, do you really see that much churn in the options list ahead? - would you be willing to include it, and just dump it or move it to 'contrib' in the future if you find it getting dated? That seems more reasonable to me than rejecting it just because it might not get maintained later.

Brian

Attachment: PGP.sig
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to