[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] code cleanup/auditting for libfreeipmi
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-devel] code cleanup/auditting for libfreeipmi |
Date: |
Wed, 15 Feb 2006 06:25:50 -0800 |
> So a number of templates/fields may be changing soon as I try to
> create consistency through the library. Most of the time, I simply
> rename fields to exactly what is in the spec.
Hmmm. This is now turning into "don't abbreviate anything". I suppose
that's the only way to get consistency. Abbreviating words leads to
people abbreviating differently or not at all in various places.
Al
--
Albert Chu
address@hidden
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
----- Original Message -----
From: Albert Chu <address@hidden>
Date: Tuesday, February 14, 2006 2:57 pm
Subject: [Freeipmi-devel] code cleanup/auditting for libfreeipmi
> I just thought I'd give a heads up about some of the code
> cleanup/auditing I'm doing for 0.3.0.
>
> 1) Some of the fiid templates are inconsistent with each other. I've
> been personally hit by bugs b/c some templates used "user_name" as a
> field name while others used "username". I've also seen "num" vs.
> "number", and "addr" vs. "address". So a number of
> templates/fields may
> be changing soon as I try to create consistency through the
> library.
> Most of the time, I simply rename fields to exactly what is in the
> spec.
> 2) Likewise for function names and template names. For example,
> "fill_hdr_session" vs. "fill_lan_msg_hdr". "fill_hdr_session" is
> now "fill_lan_session_hdr". ipmi-sessions.[ch] are now gone too,
> with
> code moved into ipmi-lan files.
>
> 3) Code ordering. This is just me being anal. But I'm making sure
> templates, functions, etc. are ordered in the files correctly. It
> makes it easier for reading the code along with the spec.
>
> 4) Of course there is duplicate code, unused code, random crapola
> that
> I'm cleaning up / removing along the way.
>
> Al
>
> --
> Albert Chu
> address@hidden
> 925-422-5311
> Computer Scientist
> High Performance Systems Division
> Lawrence Livermore National Laboratory
>
>
>
>
>
>
>
>
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/freeipmi-devel
>