line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package BlankOnDev::DataDev; |
2
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
138
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# Version : |
6
|
|
|
|
|
|
|
our $VERSION = '0.1003'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Subroutine for : |
9
|
|
|
|
|
|
|
# ------------------------------------------------------------------------ |
10
|
|
|
|
|
|
|
sub data_dev { |
11
|
0
|
|
|
0
|
0
|
|
my $home_dir = $ENV{"HOME"}; |
12
|
0
|
|
|
|
|
|
my %data = ( |
13
|
|
|
|
|
|
|
'home_dir' => $home_dir, |
14
|
|
|
|
|
|
|
'dir_dev' => $home_dir . "/.BlankOnDev/", |
15
|
|
|
|
|
|
|
'prefix_flcfg' => 'boi_', |
16
|
|
|
|
|
|
|
'fileCfg_ext' => '.config', |
17
|
|
|
|
|
|
|
'dir_pkg' => 'packages', |
18
|
|
|
|
|
|
|
'filePkg_ext' => '.boikg' |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# Temp Addpkg : |
22
|
0
|
|
|
|
|
|
$data{'prefix_tmpflcfg'} = 'addpkg_'; |
23
|
0
|
|
|
|
|
|
$data{'fileTmp_Cfg_ext'} = '.bpkg_tmp'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# General Logs : |
26
|
0
|
|
|
|
|
|
$data{'dirlogs'} = $home_dir . "/.BlankOnDev/logs/"; |
27
|
0
|
|
|
|
|
|
$data{'prefix_general_log'} = 'actv_'; |
28
|
0
|
|
|
|
|
|
$data{'prefix_general_ext'} = '.boidevlogs'; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Log Extension File : |
31
|
0
|
|
|
|
|
|
$data{'log_ext_out'} = '.boioutlog'; |
32
|
0
|
|
|
|
|
|
$data{'log_ext_err'} = '.boierrlog'; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# Logs Branch : |
35
|
0
|
|
|
|
|
|
$data{'prefix_bzrbranch_log'} = 'logs_'; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# Logs bzr convert to git : |
38
|
0
|
|
|
|
|
|
$data{'prefix_bzrCgit_fllog'} = 'bzrCgit_logs_'; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
# Logs for git remote : |
41
|
0
|
|
|
|
|
|
$data{'prefix_gitremote_fllog'} = 'gitremote_logs_'; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# Logs for gitpush : |
44
|
0
|
|
|
|
|
|
$data{'prefix_gitpush_fllog'} = 'gitpush_logs_'; |
45
|
0
|
|
|
|
|
|
return \%data; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
1; |