Re: [PATCH] caching daemon release and nsswitch patches

From: Doug Barton (dougb_at_FreeBSD.org)
Date: 08/29/05

  • Next message: Steven Hartland: "bge driver internal routing issues?"
    Date: Sun, 28 Aug 2005 15:48:27 -0700
    To: Michael Bushkov <bushman@rsu.ru>
    
    

    Michael Bushkov wrote:
    > Hi! I'm working on nsswitch improvement (during the Google Summer of
    > Code program.

    First off, let me say that this is very exciting stuff! I'm particularly
    excited about caching for the services stuff, as it will finally allow us to
    bring in a more complete version of the services file. I do have some
    comments for you, and I hope that you understand that they are in no way
    critical of your work, just suggestions for improvements, and ways that you
    can better fit into the FreeBSD code base.

    I'm not sure what guidelines were given to you when you started the project,
    but in reviewing your work the first thing I noticed was that you are not
    following the guidelines in the style(9) man page. You should read that
    page, and spend an afternoon reformatting your code to fit what is described
    there. The most common error you've made is not following the 80 column
    rule, which hopefully should be easily fixed. While one could argue with the
    specific items in that page, and quite possibly be right, the idea of having
    a style guideline is more to have a common format that we can all work
    towards than to have a perfect format that we can all agree on. By
    reformatting your code to fit this guideline you will greatly increase the
    chances that it will be welcomed into the tree with open arms.

    The other style area that you should look at is your man pages. If you look
    in /usr/share/examples/mdoc you will find the FreeBSD style guidelines for
    man pages. The line wrapping issue comes into play here as well. We
    generally don't go past column 60 in man pages, since that reduces CVS repo
    churn for corrections down the road. Also, any time you have a full stop
    (period) at the end of a sentence, you should start a new line. I think that
    you are also using some macros that I'm not familiar with, although I'm not
    an mdoc expert.

    The other area that I'm interested in is how you plan to have cached
    interact with DNS lookups, /etc/hosts, named, etc. If there was a project
    plan posted somewhere on this already and I missed it, please accept my
    apologies, and send along a reference. If not, I'm very interested to hear
    what your plans are.

    Regards,

    Doug

    -- 
         This .signature sanitized for your protection
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Steven Hartland: "bge driver internal routing issues?"

    Relevant Pages

    • Re: [PATCH] caching daemon release and nsswitch patches
      ... I'm working on nsswitch improvement (during the Google Summer of ... I'm not sure what guidelines were given to you when you started the project, ... a style guideline is more to have a common format that we can all work ... The other area that I'm interested in is how you plan to have cached ...
      (freebsd-current)
    • Re: What SF is written and read?
      ... Be aware that this sort ... and then expand it into a novel which you plan to publish elsewhere; ... guidelines were interesting reading, though. ... "The most convoluted explanation that fits all of the made-up facts is the most likely to be believed by conspiracy theorists. ...
      (rec.arts.sf.composition)
    • Re: Volunteers needed for Price Guide project
      ... I am curious about your "guidelines." ... want to volunteer? ... But once the guide ... revenue for the volunteers and I plan on publishing the guide as well, ...
      (rec.games.video.classic)
    • Re: New Old Question
      ... I plan to look into the IHPVA site tonight and ... see if they publish any guidelines for attempts. ... ag_streak's Profile: http://www.unicyclist.com/profile/15786 ...
      (rec.sport.unicycling)