| 1 | package oEdtk::tuiEdtk; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 3 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 3 | ▶ | BEGIN { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | 3 | ▶ | use Exporter; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | 3 | ▶ | use vars qw($VERSION @ISA @EXPORT); # @EXPORT_OK %EXPORT_TAGS); | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | 3 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | 3 | ▶ | use Term::ReadKey; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | 3 | ▶ | use oEdtk::trackEdtk qw(env_Var_Completion); | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | 3 | $VERSION = 2.1129; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | 3 | @ISA = qw(Exporter); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | 3 | @EXPORT = qw( | |||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | clear_Screen start_Screen stop_Screen | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | admin_Screen not_Configured | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | # @EXPORT_OK = qw( | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | # ) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | sub clear_Screen() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
clear_Screen: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | 0 | my $command = "clear"; # default | |||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | 0 | ▶ | if ( $^O eq "MSWin32" ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | 0 | $command = "cls"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | else { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | # TODO test... | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | 0 | warn "INFO OS $^O, tuiEdtk::clear_Screen awaiting feedback\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | 0 | ▶ | system($command) == 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | or warn "INFO OS $^O system command $command failed: $?"; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | 0 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | 0 | ▶ | sub admin_Screen { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
admin_Screen: not called CC=6 SCAR=37.4
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | 0 | print STDOUT <<"EOF"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | oEtdk Simple Administration | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | ______________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | Select Option | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | <I> show edtk init file | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | <C> version control utility | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | <D> deliveries (planned) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | <Q> quit | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | Choose an option by typing associated letter | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | (wait ${wait}s or press any key to stop). | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | 0 | my $key = &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | 0 | ▶ | if ( $key =~ /i/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 4 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | 0 | &show_INIEDTK(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | 0 | &admin_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | elsif ( $key =~ /c/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | 0 | print " -> Choice = $key\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | 0 | &VCS_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | elsif ( $key =~ /d/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | 0 | print " -> Choice = $key\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | 0 | &delivery_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | elsif ( $key =~ /a/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | 0 | print " -> Choice = $key\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | 0 | warn "INFO: -END- \n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | 0 | ▶ | sub show_INIEDTK() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
show_INIEDTK: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | # determine the default editor based on HOSTNAME | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | 0 | my $iniedtk = $ENV{EDTK_INIEDTK}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | 0 | env_Var_Completion($iniedtk); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | 0 | my @args = ( "more", $iniedtk ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | 0 | &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | 0 | ▶ | sub start_Screen() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
start_Screen: not called CC=4 SCAR=30.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | 0 | print STDOUT <<"EOF"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | Application launcher $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | ______________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | Auto start in $ENV{EDTK_WAITRUN}s, or press <enter>. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | Parameters : | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | application $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | data $ENV{EDTK_FDATAIN}.$ENV{EDTK_EXT_DATA} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | output $ENV{EDTK_FDATAOUT} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | temp $ENV{EDTK_DIR_APPTMP} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | Options : | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | <1> Run: $ENV{EDTK_PRGNAME}.$ENV{EDTK_EXT_PERL} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | <A> Administration | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | To change an option, type its value or <enter> for the default. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | 0 | my $key = &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | 0 | ▶ | if ( $key =~ /a/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | 0 | &admin_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | elsif ( $key =~ /\d+/ ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | 0 | print " -> Choice = run $ENV{EDTK_PRGNAME}\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | 0 | print "\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 137 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | 0 | return 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | 0 | ▶ | sub stop_Screen () { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
stop_Screen: not called CC=4 SCAR=30.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 142 | 0 | print "\nPause, hit <enter> to exit or <w> to watch Doc result...\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | 0 | ▶ | my $key = &readKey_Wait( $ENV{EDTK_WAITRUN} * 100 ) || ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
&readKey_Wait($ENV{'EDTK_WAITRUN'} * 100) || ''
MC/DC0%0/1
&readKey_Wait($ENV{'EDTK_WAITRUN'} * 100) || ''
&readKey_Wait($ENV{'EDTK_WAITRUN'} * 100)
Truth table0%0/2
A
A= &readKey_Wait($ENV{'EDTK_WAITRUN'} * 100)
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 144 | 0 | my $arg = "$ENV{EDTK_FDATAOUT}." . $ENV{EDTK_EXT_DEFAULT}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 145 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 146 | 0 | ▶ | if ( $key =~ /W/i and $arg ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$key =~ /W/i and $arg
MC/DC0%0/2
$key =~ /W/i and $arg
$key =~ /W/i
$arg
Truth table0%0/3
A and B
A= $key =~ /W/iB= $arg
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 147 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 148 | 0 | env_Var_Completion($arg); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 149 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 150 | 0 | warn "$arg...\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 151 | 0 | eval { system($arg); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 152 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 153 | else { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 154 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 155 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 156 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 157 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 158 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 159 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 160 | 0 | ▶ | sub readKey_Wait { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
readKey_Wait: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 161 | 0 | my $key; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 162 | 0 | my $wait_time = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 163 | 0 | ▶ | $wait_time ||= $ENV{EDTK_WAITRUN}; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/3
$wait_time ||= $ENV{"EDTK_WAITRUN"}
MC/DC0%0/2
$wait_time ||= $ENV{"EDTK_WAITRUN"}
$wait_time
$ENV{"EDTK_WAITRUN"}
Truth table0%0/3
A ||= B
A= $wait_timeB= $ENV{"EDTK_WAITRUN"}
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 164 | 0 | ▶ | $wait_time ||= 1; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$wait_time ||= 1
MC/DC0%0/1
$wait_time ||= 1
$wait_time
Truth table0%0/2
A
A= $wait_time
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 165 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 166 | 0 | ReadMode('raw'); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 167 | 0 | $key = ReadKey($wait_time); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 168 | 0 | ReadMode('restore'); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 169 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | 0 | return $key; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 172 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | 0 | ▶ | sub not_Configured() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
not_Configured: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 175 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 176 | SCREEN: { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 177 | 0 | print STDOUT <<"EOF"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 178 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 179 | Function not configured | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 180 | ______________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 181 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 182 | Repository $ENV{EDTK_VCS_LOCATION} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 183 | Branch $ENV{EDTK_DIR_BASE} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | Application $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | <Q> quit | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | 0 | my $key = &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 193 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 194 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | 0 | ▶ | sub VCS_Screen { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_Screen: not called CC=14 SCAR=53.5
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | 0 | ▶ | if ( $ENV{EDTK_VCS_LOCATION} eq "" ) { not_Configured(); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 201 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 202 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 203 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | SCREEN: { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | 0 | print STDOUT <<"EOF"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | Version Control | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | ______________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | Repository $ENV{EDTK_VCS_LOCATION} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | Branch $ENV{EDTK_DIR_BASE} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 213 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | <S> show branch log (log) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | <A> add files into branch (test - add) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | <C> commit branch changes (commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | <T> send To repository (push) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | <W> missing between branch/rep (missing) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | <U> update local branch (pull) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | <M> merge local branch (merge) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | <F> build branch From repository(planned - branch) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | <L> build local VCS (planned - init) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | <B> back <Q> quit | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 225 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 226 | Choose an option by typing associated letter. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | 0 | my $key = &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 232 | # print " -> Choice = $key\n"; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 233 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | 0 | ▶ | if ( $key =~ /S/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 11 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | 0 | &VCS_log(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 237 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 238 | elsif ( $key =~ /A/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 239 | 0 | &VCS_add(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 240 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 241 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 242 | elsif ( $key =~ /C/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 243 | 0 | &VCS_commit(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 244 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 245 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 246 | elsif ( $key =~ /U/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 247 | 0 | &VCS_update(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 248 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 249 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | elsif ( $key =~ /T/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 251 | 0 | &VCS_to(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 252 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 253 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | elsif ( $key =~ /W/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | 0 | &VCS_missing(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 256 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 257 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 258 | elsif ( $key =~ /M/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 259 | 0 | &VCS_merge(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 260 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 261 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 262 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 263 | elsif ( $key =~ /F/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 264 | 0 | print "planned..."; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 265 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 266 | elsif ( $key =~ /L/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 267 | 0 | print "planned..."; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 268 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 269 | elsif ( $key =~ /B/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 270 | 0 | &admin_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 271 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 272 | elsif ( $key =~ /Q/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 273 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 274 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 275 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 276 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 277 | 0 | redo SCREEN; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 278 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 279 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 280 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 281 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 282 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 283 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 284 | 0 | ▶ | sub VCS_merge() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_merge: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 285 | 0 | my $loc = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 286 | 0 | env_Var_Completion($loc); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 287 | 0 | chdir $loc; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 288 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 289 | 0 | print "Merging... "; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 290 | 0 | my @args = ( "bzr", "merge", $loc ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 291 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 292 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 293 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 294 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 295 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 296 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 297 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 298 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 299 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 300 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 301 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 302 | 0 | ▶ | sub VCS_commit { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_commit: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 303 | 0 | my $comment = shift; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 304 | 0 | ▶ | $comment ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$comment ||= ""
MC/DC0%0/1
$comment ||= ""
$comment
Truth table0%0/2
A
A= $comment
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 305 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 306 | # potential branch location problem if run outside the branch | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 307 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 308 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 309 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 310 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 311 | 0 | my @args = ( "bzr", "commit" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 312 | 0 | ▶ | if ( $comment ne "" ) { push( @args, "-m $comment" ); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 313 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 314 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 315 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 316 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 317 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 318 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 319 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 320 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 321 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 322 | #&VCS_merge(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 323 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 324 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 325 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 326 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 327 | 0 | ▶ | sub VCS_missing() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_missing: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 328 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 329 | # potential branch location problem if run outside the branch | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 330 | 0 | my $other_branch = $ENV{EDTK_VCS_LOCATION}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 331 | 0 | env_Var_Completion($other_branch); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 332 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 333 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 334 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 335 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 336 | 0 | my @args = ( "bzr", "missing", $other_branch ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 337 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 338 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 339 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 340 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 341 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 342 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 343 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 344 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 345 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 346 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 347 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 348 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 349 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 350 | 0 | ▶ | sub VCS_add() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_add: not called CC=5 SCAR=34.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 351 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 352 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 353 | # potential branch location problem if run outside the branch | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 354 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 355 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 356 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 357 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 358 | 0 | my @args = ( "bzr", "add", "--dry-run" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 359 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 360 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 361 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 362 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 363 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 364 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 365 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 366 | else { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 367 | 0 | print "Enter <Y>es if you confirm action (wait ${wait}s) :\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 368 | 0 | my $key = &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 369 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 370 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 371 | 0 | ▶ | if ( $key =~ /y/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 372 | 0 | print " -> bzr add confirmed\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 373 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 374 | else { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 375 | 0 | print "Canceled\n"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 376 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 377 | 0 | return 0; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 378 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 379 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 380 | 0 | @args = ( "bzr", "add" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 381 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 382 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 383 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 384 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 385 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 386 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 387 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 388 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 389 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 390 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 391 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 392 | 0 | ▶ | sub VCS_update() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_update: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 393 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 394 | #&VCS_merge(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 395 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 396 | # potential branch location problem if run outside the branch | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 397 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 398 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 399 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 400 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 401 | 0 | my @args = ( "bzr", "pull" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 402 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 403 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 404 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 405 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 406 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 407 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 408 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 409 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 410 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 411 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 412 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 413 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 414 | 0 | ▶ | sub VCS_to() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_to: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 415 | 0 | &VCS_merge(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 416 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 417 | 0 | my $cmd = "cd $ENV{EDTK_DIR_BASE}"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 418 | 0 | env_Var_Completion($cmd); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 419 | 0 | system($cmd); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 420 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 421 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 422 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 423 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 424 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 425 | 0 | my @args = ( "bzr", "push" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 426 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 428 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 429 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 430 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 431 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 432 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 433 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 434 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 435 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 436 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 437 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 438 | 0 | ▶ | sub VCS_log() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_log: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 439 | 0 | my $loc = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 440 | 0 | env_Var_Completion($loc); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 441 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 442 | # TODO: select qlog or glog depending on the environment | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 443 | 0 | my @args = ( "bzr", "qlog", $loc ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 444 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 445 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 446 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 447 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 448 | 0 | print "Screen refresh"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 449 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 450 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 451 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 452 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 453 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 454 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 455 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 456 | 0 | ▶ | sub VCS_rename() { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
VCS_rename: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 457 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 458 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 459 | 0 | my $base = $ENV{EDTK_DIR_BASE}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 460 | 0 | my $oldname = $ENV{EDTK_DIR_SCRIPT} . "\\" . $ENV{EDTK_PRGNAME}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 461 | 0 | my $newname = $ENV{EDTK_DIR_SCRIPT} . "\\" . $ENV{EDTK_PRGNAME}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 462 | 0 | my @extension; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 463 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 464 | 0 | push( @extension, $ENV{EDTK_EXT_PERL} ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 465 | 0 | push( @extension, $ENV{EDTK_EXT_LATEX} ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 466 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 467 | 0 | env_Var_Completion($oldname); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 468 | 0 | env_Var_Completion($newname); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 469 | 0 | env_Var_Completion($base); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 470 | 0 | chdir $base; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 471 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 472 | 0 | foreach my $ext (@extension) { | |||||||||||||||||||||||||||||||||||||||||||||||||
| 473 | 0 | my @args = ( "bzr", "move", "$oldname.$ext", "$newname.$ext", "--quiet" ); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 474 | 0 | eval { system(@args); }; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 475 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 476 | 0 | ▶ | if ($?) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 477 | 0 | return $?; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 478 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 479 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 480 | 0 | &readKey_Wait(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 481 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 482 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 483 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 484 | 0 | ▶ | sub delivery_Screen { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
delivery_Screen: not called CC=8 SCAR=42.8
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 485 | 0 | ▶ | if ( $ENV{EDTK_PRGNAME} eq "" or $ENV{EDTK_DIR_BASE} eq "" ) { not_Configured(); } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$ENV{"EDTK_PRGNAME"} eq "" or $ENV{"EDTK_DIR_BASE"} eq ""
MC/DC0%0/2
$ENV{"EDTK_PRGNAME"} eq "" or $ENV{"EDTK_DIR_BASE"} eq ""
$ENV{"EDTK_PRGNAME"} eq ""
$ENV{"EDTK_DIR_BASE"} eq ""
Truth table0%0/3
A or B
A= $ENV{"EDTK_PRGNAME"} eq ""B= $ENV{"EDTK_DIR_BASE"} eq ""
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 486 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 487 | 0 | my $wait = 10 * $ENV{EDTK_WAITRUN}; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 488 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 489 | SCREEN: { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 490 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 491 | 0 | print STDOUT <<"EOF"; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 492 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 493 | Deliveries | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 494 | ______________________________________ | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 495 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 496 | Repository $ENV{EDTK_VCS_LOCATION} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 497 | Branch $ENV{EDTK_DIR_BASE} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 498 | Application $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 499 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 500 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 501 | <A> moving from development to tests for Approval : | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 502 | from $ENV{EDTK_PRGNAME} to $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 503 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 504 | <P> delivering approved applications to Production : (planned) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 505 | from $ENV{EDTK_PRGNAME} to $ENV{EDTK_PRGNAME} | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 506 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 507 | <B> back <Q> quit | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 508 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 509 | Choose an option by typing associated letter. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 510 | EOF | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 511 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 512 | 0 | my $key = &readKey_Wait($wait); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 513 | 0 | ▶ | $key ||= ""; | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$key ||= ""
MC/DC0%0/1
$key ||= ""
$key
Truth table0%0/2
A
A= $key
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 514 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 515 | 0 | ▶ | if ( $key =~ /A/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 4 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 516 | 0 | &VCS_rename(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 517 | 0 | &VCS_commit("move $ENV{EDTK_PRGNAME} to $ENV{EDTK_PRGNAME}"); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 518 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 519 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 520 | elsif ( $key =~ /P/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 521 | 0 | print "planned..."; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 522 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 523 | #&VCS_commit(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 524 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 525 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 526 | elsif ( $key =~ /B/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 527 | 0 | &admin_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 528 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 529 | elsif ( $key =~ /Q/i ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 530 | 0 | &clear_Screen(); | |||||||||||||||||||||||||||||||||||||||||||||||||
| 531 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 532 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 533 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 534 | 0 | redo SCREEN; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 535 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 536 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 537 | 0 | exit 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 538 | 0 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 539 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 540 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 541 | 1 | ▶ | END { } | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
END: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| 542 | 3 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||
| 543 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 544 | # THIS COMMENTING METHOD IS INTERESTING BUT POLLUTES POD | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 545 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 546 | # =begin comment | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 547 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 548 | # http://perl.enstimac.fr/DocFr/perldiag.html | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 549 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 550 | # http://perl.enstimac.fr/DocFr/perlfaq8.html | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 551 | # How to read a key without waiting for a press on ``enter'' ? | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 552 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 553 | # use HotKey; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 554 | # $key = readkey(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 555 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 556 | # Use the diagnostics pragma which turns normal Perl error messages into a longer discussion of the subject. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 557 | # use diagnostics; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 558 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 559 | # BEGIN { | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 560 | # $SIG{__WARN__} = sub{ print STDERR "Perl: ", @_; }; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 561 | # $SIG{__DIE__} = sub{ print STDERR "Perl: ", @_; exit 1}; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 562 | # } | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 563 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 564 | # How to manage my own modules/libraries directory? | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 565 | # When building modules, use the PREFIX and LIB options at the Makefile generation step: | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 566 | # perl Makefile.PL PREFIX=/mydir/perl LIB=/mydir/perl/lib | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 567 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 568 | # then either set the PERL5LIB environment variable before running the scripts that use these modules/libraries (see the perlrun man page), or use: | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 569 | # use lib '/mydir/perl/lib'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 570 | # | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 571 | # if the directory is not known in advance... | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 572 | # use FindBin qw($Bin); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 573 | # use lib "$Bin/myPm"; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 574 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 575 | # =end comment | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 576 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 577 | #perl -d:ptkdb | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 578 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 579 | =head1 NAME | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 580 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 581 | oEdtk::tuiEdtk - simple terminal screens for the oEdtk launcher | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 582 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 583 | =head1 SYNOPSIS | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 584 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 585 | use oEdtk::tuiEdtk; | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 586 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 587 | start_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 588 | # ... run the application ... | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 589 | stop_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 590 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 591 | =head1 DESCRIPTION | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 592 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 593 | Draws the simple terminal screens of the oEdtk command-line launcher: the start | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 594 | screen, the administration menu and the exit pause. The screens are driven by the | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 595 | C<EDTK_*> environment variables; key reads go through C<Term::ReadKey> and path | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 596 | expansion through L<oEdtk::trackEdtk>. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 597 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 598 | =head1 FUNCTIONS | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 599 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 600 | =head2 clear_Screen | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 601 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 602 | clear_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 603 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 604 | Clear the terminal with C<clear> on Unix or C<cls> on Windows. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 605 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 606 | =head2 start_Screen | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 607 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 608 | start_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 609 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 610 | Display the application launcher and read the user's choice. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 611 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 612 | =head2 stop_Screen | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 613 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 614 | stop_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 615 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 616 | Pause at the end of a run and, on request, open the produced document. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 617 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 618 | =head2 admin_Screen | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 619 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 620 | admin_Screen(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 621 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 622 | Display the simple administration menu and dispatch to the chosen action. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 623 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 624 | =head2 not_Configured | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 625 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 626 | not_Configured(); | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 627 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 628 | Display the "function not configured" screen and exit. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 629 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 630 | The following subs are internal helpers and are not part of the public API: | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 631 | C<show_INIEDTK>, C<readKey_Wait>, C<delivery_Screen>, and the version-control | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 632 | helpers C<VCS_Screen>, C<VCS_merge>, C<VCS_commit>, C<VCS_missing>, C<VCS_add>, | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 633 | C<VCS_update>, C<VCS_to>, C<VCS_log> and C<VCS_rename>. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 634 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 635 | =head1 AUTHOR | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 636 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 637 | The oEdtk team. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| 638 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 639 | =cut | ||||||||||||||||||||||||||||||||||||||||||||||||||