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>
28 lines
538 B
Plaintext
28 lines
538 B
Plaintext
#
|
|
# This is a sample gitdm configuration file.
|
|
#
|
|
|
|
#
|
|
# EmailAliases lets us cope with developers who use more
|
|
# than one address.
|
|
#
|
|
EmailAliases sample-config/aliases
|
|
|
|
#
|
|
# EmailMap does the main work of mapping addresses onto
|
|
# employers.
|
|
#
|
|
EmailMap sample-config/domain-map
|
|
|
|
#
|
|
# Use GroupMap to map a file full of addresses to the
|
|
# same employer
|
|
#
|
|
# GroupMap sample-config/illuminati The Illuminati
|
|
#
|
|
#
|
|
# Use FileTypeMap to map a file types to file names using regular
|
|
# regular expressions.
|
|
#
|
|
FileTypeMap sample-config/filetypes.txt
|