Re: [squid-users] what's the configuration with vim when developing squid 2.7?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 29 Jun 2010 23:21:14 +1200

Weibin Yao wrote:
> Hi folks,
>
> I noticed the
> guideline(http://wiki.squid-cache.org/Squid2CodingGuidelines) is that:
> Code MUST be formatted with GNU indent version 1.9.1 and these exact
> options indent -br -ce -i4 -ci4 -l80 -nlp -npcs -npsl -d0 -sc -di0 -psl
>

Yes. The squid-cache.org CVS server will not permit incorrectly
formatted code to Squid-2.

> How could I to convert this indent directives to the type of vim?
>

Unknown sorry. You can do it manually if you like. The settings are
really just to wrap brackets and indent lines with tab + spaces. If you
look at the existing code and follow suit with all additions there
should be no problem.

Is there any particular reason why you are wanting to work on changes
for the old version of Squid?

The developers are working on Squid-3.2 these days. The styling on
Squid-3 is a bit different and the VCS more lenient.

NP: This list is for administrators / users help. The developers and
their code discussions can be found on the squid-dev mailing list. You
will need to mail a [PATCH] diff to squid-dev list for all code
submissions. So it's worth signing up before starting.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.4
Received on Tue Jun 29 2010 - 11:21:22 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 12:00:03 MDT