Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2002-05-14 15:29:29


on 5/10/02 3:21 PM, Beman Dawes at bdawes_at_[hidden] wrote:

> At 01:13 PM 5/10/2002, Brad King wrote:
>
>>> Tabs have been creeping into source files again. Please replace
>>> by spaces.
>>>
>>> Rather than wait until the last minute, I'm going to start running
>>> the tab check and long names checks once a month.
>>
>> CVS supports checks like this on a per-commit basis. If you add a file
>> called "commitinfo" to the CVSROOT directory on the server, you can get it
>> to run scripts to test each file and optionally abort the commit.
>
> Wow! That would be a lot better than finding out long after the fact.
> Thanks for the info.
>
> Does anyone know if SourceForge supports this, and how to go about it?
>
> Could someone who feels comfortable writing a script for that environment
> volunteer to take this on?
>
> I guess all we want to do is verify that all filesnames are 31 characters
> or less (current filter is grep -v -E "^.{0,31}$") and that ".cpp", ".cxx",
> ".h", ".hpp", and ".py" files have no tabs and end in cr, cr/nl, or nl.
[TRUNCATE]

What about making sure that all the lines in a file are consistent with
their line-ending character sequences?

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk