line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package BlankOnDev::DataDev; |
2
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
164
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# Version : |
6
|
|
|
|
|
|
|
our $VERSION = '0.1004';; |
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
|
0
|
|
|
|
|
|
$data{'dir_tmp'} = $home_dir . '/temp/'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# General Logs : |
27
|
0
|
|
|
|
|
|
$data{'dirlogs'} = $home_dir . "/.BlankOnDev/logs/"; |
28
|
0
|
|
|
|
|
|
$data{'prefix_general_log'} = 'actv_'; |
29
|
0
|
|
|
|
|
|
$data{'prefix_general_ext'} = '.boidevlogs'; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
# Log Extension File : |
32
|
0
|
|
|
|
|
|
$data{'log_ext_out'} = '.boioutlog'; |
33
|
0
|
|
|
|
|
|
$data{'log_ext_err'} = '.boierrlog'; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
# Logs Branch : |
36
|
0
|
|
|
|
|
|
$data{'prefix_bzrbranch_log'} = 'logs_'; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
# Logs bzr convert to git : |
39
|
0
|
|
|
|
|
|
$data{'prefix_bzrCgit_fllog'} = 'bzrCgit_logs_'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
# Logs for git remote : |
42
|
0
|
|
|
|
|
|
$data{'prefix_gitremote_fllog'} = 'gitremote_logs_'; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
# Logs for gitpush : |
45
|
0
|
|
|
|
|
|
$data{'prefix_gitpush_fllog'} = 'gitpush_logs_'; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
# Logs for git check : |
48
|
0
|
|
|
|
|
|
$data{'prefix_gitcheck_fllog'} = 'gitcheck_logs_'; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
# Logs for bzr2git branch : |
51
|
0
|
|
|
|
|
|
$data{'prefix_bzr2git_branchLg'} = 'bzr2git_branch_logs_'; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# Logs for bzr2git bzr convert to git : |
54
|
0
|
|
|
|
|
|
$data{'prefix_bzr2git_bzr_cgit'} = 'bzr2git_bzr_cgit_logs_'; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
# Logs for bzr2git git push : |
57
|
0
|
|
|
|
|
|
$data{'prefix_bzr2git_gitpush'} = 'bzr2git_gitpush_logs_'; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
# Logs for bzr2git git push : |
60
|
0
|
|
|
|
|
|
$data{'prefix_bzr2git_regit_push'} = 'bzr2git_regit_push_logs_'; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
# Logs for bzr2git git check |
63
|
0
|
|
|
|
|
|
$data{'prefix_bzr2git_gitcheck'} = 'bzr2git_gitcheck_logs_'; |
64
|
0
|
|
|
|
|
|
return \%data; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
1; |