.hgignore
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 18 Sep 2015 11:54:12 +0200
changeset 10706 b261d90149d0
parent 10524 5392f100c0e3
child 11029 c9d12d1d3081
permissions -rw-r--r--
[server] Port BFSS to py3k The BFSS API changes in python 3: * 'defaultdir' MUST be a unicode object * 'fsencoding' MUST NOT be set In python 2, fsencoding handles both the encoding of file paths on the file system (utf-8 by default, but the system may actually be using something else) and the encoding of file paths that will be stored in the database. So in python 3, we wipe the slate clean: * rely on sys.getfilesystemencoding() to convert unicode objects to bytes * always encode paths to utf-8 for storage in the database Caveat emptor / here be dragons: * sys.getfilesystemencoding() depends on the current locale, which therefore MUST be set properly * when migrating an existing instance from py2 to py3, one MAY need to reencode file paths stored in the database
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3116
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     1
\.svn
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     2
^build$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     3
^dist$
10512
99bdd4bddd77 Add tox.ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10491
diff changeset
     4
\.egg-info$
99bdd4bddd77 Add tox.ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10491
diff changeset
     5
^.tox$
3116
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     6
\.pyc$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     7
\.pyo$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     8
\.bak$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     9
\.old$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    10
\~$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    11
\#.*?\#$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    12
\.swp$
3990
14e14fef4460 hide en apidoc in .hgignore
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 3116
diff changeset
    13
^doc/book/en/apidoc$
7078
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    14
\.old$
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    15
syntax: regexp
10466
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    16
.*/data.*/database/.*\.sqlite
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    17
.*/data.*/database/.*\.config
7078
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    18
.*/data/database/tmpdb.*
8252
3e769d21f67a [hg] ignore ldap database
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7972
diff changeset
    19
.*/data/ldapdb/.*
10524
5392f100c0e3 Update hgignore
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10512
diff changeset
    20
.*/data/uicache/
5392f100c0e3 Update hgignore
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10512
diff changeset
    21
.*/data/cubes/.*/i18n/.*\.po
7972
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    22
^doc/html/
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    23
^doc/doctrees/
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    24
^doc/book/en/devweb/js_api/
10491
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    25
^doc/_build
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    26
^doc/js_api/
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    27
data/pgdb/
10466
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    28
data.*/pgdb.*