]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commit
Move filetypes onto configuration file
authorGermán Póo-Caamaño <gpoo@gnome.org>
Fri, 24 Jun 2011 07:12:01 +0000 (00:12 -0700)
committerGermán Póo-Caamaño <gpoo@gnome.org>
Fri, 24 Jun 2011 07:12:01 +0000 (00:12 -0700)
commitb2fd0c693997b1aea57800870d13fdf52474610a
treea8884f2c7189e6245ce85c3b899d43dbf9192531
parent1a85acef6b98f27621e5f55e395c82691ed89693
Move filetypes onto configuration file

The filetypes can be extended using a configuration files, where
is possible to associate file type and its corresponden regular
expression.

The code includes a script to test the regex without running
gitdm.

Signed-off-by: Germán Póo-Caamaño <gpoo@gnome.org>
ConfigFile.py
README
database.py
file_types.py [deleted file]
gitdm
gitdm.config
sample-config/filetypes.txt [new file with mode: 0644]