blob: c6becdff999f3038d038c5ecf55af116cec5ed2c (
plain) (
blame)
1
2
3
4
5
6
7
|
# always assume anything to do with files is from project root
use constant LOG_FILE => '/tmp/gorillanest.log';
use constant GIT_ROOT => 'git'; # directory containing all browsable $users/$repositories
use constant DB_FILE => 'gorillanest.sqlite3'; # sqlite3 database file location
use constant TEMPLATE_ROOT => 'template'; # template directory
use constant USER_REPOSITORY => qr{^/([a-zA-Z0-9_.]+)(?:/([a-zA-Z0-9_.]+))?}; # $1 = username, $2 = repository fullname
1;
|