Search squid archive

Re: what's the configuration with vim when developing squid 2.7?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux