|
List Info
Thread: liblicense - consistent code format
|
|
| liblicense - consistent code format |

|
2007-08-25 18:41:55 |
Hi,
In reading the liblicense sources I have noticed at least
two distinct
coding styles. Is there a defined "house" style?
Is there
a .indent.pro file I can grab which defines it?
It would help me greatly if there was an .indent.pro file,
since my own
style differs quite a lot from the two styles I have
identified, and it
would be easier if I could just run indent before generating
patches...
Assuming the files I edit started in the house style.
Regards
Peter Miller <millerp canb.auug.org.au>
//* http://miller.emu.id
.au/pmiller/
PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED
B64D
See http://www.keyserver.net
or any PGP keyserver for public key.
"The lights going off at midnight, it's almost like a
slap in the
face... Hey, stupid, it's tomorrow!" -- Final Cut Pro
easter egg
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|
|
| Re: liblicense - consistent code format |
  United States |
2007-08-25 19:18:07 |
Imagine that, there's two of us who wrote the code...
We haven't enforced any coding style, so no, there isn't a
.indent.pro
file. My philosophy is that I don't impose style
restrictions, although
the existing style should be followed when editing files.
If you do
find mixed styles per-file, it's your call.
I'll note that Asheesh is taking over the project, so he's
free to
disagree with me.
-Jason
> Hi,
>
> In reading the liblicense sources I have noticed at
least two distinct
> coding styles. Is there a defined "house"
style? Is there
> a .indent.pro file I can grab which defines it?
>
> It would help me greatly if there was an .indent.pro
file, since my own
> style differs quite a lot from the two styles I have
identified, and it
> would be easier if I could just run indent before
generating patches...
> Assuming the files I edit started in the house style.
>
>
> Regards
> Peter Miller <millerp canb.auug.org.au>
> //* http://miller.emu.id
.au/pmiller/
>
> PGP public key ID: 1024D/D0EDB64D
> fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2
D0ED B64D
> See http://www.keyserver.net
or any PGP keyserver for public key.
>
> "The lights going off at midnight, it's almost
like a slap in the
> face... Hey, stupid, it's tomorrow!" -- Final Cut
Pro easter egg
>
>
------------------------------------------------------------
------------
>
> _______________________________________________
> cc-devel mailing list
> cc-devel lists.ibiblio.org
> ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
>
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|
|
| Re: liblicense - consistent code format |
  United States |
2007-08-25 19:39:52 |
On Sat, 2007-08-25 at 17:18 -0700, Jason Kivlighn wrote:
> Imagine that, there's two of us who wrote the code...
>
> We haven't enforced any coding style, so no, there
isn't a .indent.pro
> file. My philosophy is that I don't impose style
restrictions, although
> the existing style should be followed when editing
files. If you do
> find mixed styles per-file, it's your call.
>
> I'll note that Asheesh is taking over the project, so
he's free to
> disagree with me.
>
> -Jason
Well, it is an open source project, so power to the
committer...Asheesh
might be on the CC payroll, but power to the
committers...Jason, do you
have cctools sf.net access?
Peter, keep the patches coming! Our policy is 1 patch
committed and then
you can ask for sf.net cctools access as well!
Keep em flowing!
Jon
> > Hi,
> >
> > In reading the liblicense sources I have noticed
at least two distinct
> > coding styles. Is there a defined
"house" style? Is there
> > a .indent.pro file I can grab which defines it?
> >
> > It would help me greatly if there was an
.indent.pro file, since my own
> > style differs quite a lot from the two styles I
have identified, and it
> > would be easier if I could just run indent before
generating patches...
> > Assuming the files I edit started in the house
style.
> >
> >
> > Regards
> > Peter Miller <millerp canb.auug.org.au>
> > //* http://miller.emu.id
.au/pmiller/
> >
> > PGP public key ID: 1024D/D0EDB64D
> > fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8
A4E2 D0ED B64D
> > See http://www.keyserver.net
or any PGP keyserver for public key.
> >
> > "The lights going off at midnight, it's
almost like a slap in the
> > face... Hey, stupid, it's tomorrow!" --
Final Cut Pro easter egg
> >
> >
------------------------------------------------------------
------------
> >
> > _______________________________________________
> > cc-devel mailing list
> > cc-devel lists.ibiblio.org
> > ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
> >
>
> _______________________________________________
> cc-devel mailing list
> cc-devel lists.ibiblio.org
> ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon rejon.org
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon gristle.org
IRC: rejon irc.freenode.net
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|
|
| Re: liblicense - consistent code format |
  United States |
2007-08-25 19:48:14 |
On Sun, 2007-08-26 at 09:41 +1000, Peter Miller wrote:
> Hi,
>
> In reading the liblicense sources I have noticed at
least two distinct
> coding styles. Is there a defined "house"
style? Is there
> a .indent.pro file I can grab which defines it?
No, this doesn't exist...I gravitate towards 4 space make a
tab, and
then am loose on the rest...I guess the best way forward is
to just
respect th style in the code where you are at...otherwise,
often
projects spin out of control discussing this issue ad
infinatum...at the
end of the day, power to the committers...
Jon
> It would help me greatly if there was an .indent.pro
file, since my own
> style differs quite a lot from the two styles I have
identified, and it
> would be easier if I could just run indent before
generating patches...
> Assuming the files I edit started in the house style.
>
>
> Regards
> Peter Miller <millerp canb.auug.org.au>
> //* http://miller.emu.id
.au/pmiller/
>
> PGP public key ID: 1024D/D0EDB64D
> fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2
D0ED B64D
> See http://www.keyserver.net
or any PGP keyserver for public key.
>
> "The lights going off at midnight, it's almost
like a slap in the
> face... Hey, stupid, it's tomorrow!" -- Final Cut
Pro easter egg
> _______________________________________________
> cc-devel mailing list
> cc-devel lists.ibiblio.org
> ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon rejon.org
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon gristle.org
IRC: rejon irc.freenode.net
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|
|
| Re: liblicense - consistent code format |
  United States |
2007-08-25 19:49:04 |
On Sat, 2007-08-25 at 17:39 -0700, Jon Phillips wrote:
> On Sat, 2007-08-25 at 17:18 -0700, Jason Kivlighn
wrote:
> > Imagine that, there's two of us who wrote the
code...
> >
> > We haven't enforced any coding style, so no, there
isn't a .indent.pro
> > file. My philosophy is that I don't impose style
restrictions, although
> > the existing style should be followed when editing
files. If you do
> > find mixed styles per-file, it's your call.
> >
> > I'll note that Asheesh is taking over the project,
so he's free to
> > disagree with me.
> >
> > -Jason
>
> Well, it is an open source project, so power to the
committer...Asheesh
> might be on the CC payroll, but power to the
committers...Jason, do you
> have cctools sf.net access?
>
> Peter, keep the patches coming! Our policy is 1 patch
committed and then
> you can ask for sf.net cctools access as well!
>
> Keep em flowing!
>
> Jon
Added jakin44 as an admin on cctools...Jason, also, make
sure to add
Peter to the AUTHORS file, and any patches or code
contributions over 3
lines, add you copyright statement to the files...
Jon
> > > Hi,
> > >
> > > In reading the liblicense sources I have
noticed at least two distinct
> > > coding styles. Is there a defined
"house" style? Is there
> > > a .indent.pro file I can grab which defines
it?
> > >
> > > It would help me greatly if there was an
.indent.pro file, since my own
> > > style differs quite a lot from the two styles
I have identified, and it
> > > would be easier if I could just run indent
before generating patches...
> > > Assuming the files I edit started in the
house style.
> > >
> > >
> > > Regards
> > > Peter Miller <millerp canb.auug.org.au>
> > > //* http://miller.emu.id
.au/pmiller/
> > >
> > > PGP public key ID: 1024D/D0EDB64D
> > > fingerprint = AD0A C5DF C426 4F03 5D53 2BDB
18D8 A4E2 D0ED B64D
> > > See http://www.keyserver.net
or any PGP keyserver for public key.
> > >
> > > "The lights going off at midnight, it's
almost like a slap in the
> > > face... Hey, stupid, it's tomorrow!" --
Final Cut Pro easter egg
> > >
> > >
------------------------------------------------------------
------------
> > >
> > >
_______________________________________________
> > > cc-devel mailing list
> > > cc-devel lists.ibiblio.org
> > > ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
> > >
> >
> > _______________________________________________
> > cc-devel mailing list
> > cc-devel lists.ibiblio.org
> > ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon rejon.org
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon gristle.org
IRC: rejon irc.freenode.net
_______________________________________________
cc-devel mailing list
cc-devel lists.ibiblio.org
ht
tp://lists.ibiblio.org/mailman/listinfo/cc-devel
|
|
[1-5]
|
|