Re: Some notes on pgAdmin
| От | Dickson S. Guedes |
|---|---|
| Тема | Re: Some notes on pgAdmin |
| Дата | |
| Msg-id | 1236692271.7858.43.camel@analise3.cresoltec.com.br обсуждение исходный текст |
| Ответ на | Re: Some notes on pgAdmin (Euler Taveira de Oliveira <euler@timbira.com>) |
| Ответы |
Re: Some notes on pgAdmin
|
| Список | pgadmin-hackers |
Em Seg, 2009-03-09 às 21:38 -0300, Euler Taveira de Oliveira escreveu:
> Magnus Hagander escreveu:
> > I'm not sure it's worth going over the whole code with pgindent or
> > similar though - it makes it so much harder to backtrack the code in
> > svn. Especially since we haven't had a standard before, it'll likely
> > touch way too much code.
> >
> What about do it after next release? Looking at the source code, almost
> everything uses 4 spaces per level so we could go through this way.
I don't know if somebody did it yet bu just for information.
$ cd ~/src/pgadmin3/pgadmin
$ LC_ALL=en_US svn update
At revision 7657.
$ find ./ -name "*.cpp" -exec egrep "^([[:space:]]{4}|\t)+" {} \; | wc
-l
47911 matching lines started with 4 spaces or tabs
$ find ./ -name "*.cpp" -exec egrep -H "^([[:space:]]{4}|\t)+" {} \; |
cut -d':' -f1 | sort | uniq | wc -l
273 files matching lines started with 4 space or tabs
[]s
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://planeta.postgresql.org.br
В списке pgadmin-hackers по дате отправления: