Good practice .hgignore for tryton dev?

30 views
Skip to first unread message

thierry...@saluc.com

unread,
Apr 27, 2016, 9:30:34 AM4/27/16
to tryton-dev
Hello,

What is the good practice .hgignore for tryton dev ?

Only :

syntax: glob

*.pyc

Or more ?

What do you use?

Thanks a lot

Nicolas Évrard

unread,
Apr 27, 2016, 9:53:43 AM4/27/16
to tryton-dev
* thierry...@saluc.com [2016-04-27 15:23 +0200]:
>Hello,
I am using the following:

syntax: glob

*.pyc
*.log
*.swp
*.orig
*~
*zwc
dist
node_modules
bower_components
.tox
*.egg-info
tags
*.eggs
build

But it's not only for Tryton dev ;)

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: nicolas...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Cédric Krier

unread,
Apr 27, 2016, 9:55:03 AM4/27/16
to tryton-dev
I use a global ignore in ~/.hgrc:

[ui]
ignore = ~/.hgignore

With this content for ~/.hgignore:

syntax: glob

*.py{c,o}
dist/
build/
_build/
*.egg-info/
.eggs/
.coverage
*,cover
node_modules/
bower_components/
.tox/
.git/

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com

Sergi Almacellas Abellana

unread,
Apr 27, 2016, 10:04:44 AM4/27/16
to tryto...@googlegroups.com
El 27/04/16 a les 15:54, Cédric Krier ha escrit:
> On 2016-04-27 06:23,thierry...@saluc.com wrote:
>> >Hello,
>> >
>> >What is the good practice .hgignore for tryton dev ?
>> >
>> >Only :
>> >
>> >syntax: glob
>> >
>> >*.pyc
>> >
>> >Or more ?
>> >
>> >What do you use?
> I use a global ignore in ~/.hgrc:
>
> [ui]
> ignore = ~/.hgignore
Same here.

And this is my content:

syntax: glob

*.pyc

*.orig

*.jasper

node_modules

build/

dist/

*.egg-info/

*.egg/

*.eggs/

.review.cfg

.tox/

bower_components/

*.rej



--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Reply all
Reply to author
Forward
0 new messages