Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt-extension-mandatoryontransition
Commits
1e4fd594
Commit
1e4fd594
authored
Feb 06, 2014
by
Alex Vandiver
Browse files
Version 0.05 releng
parent
9c42939b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
5 deletions
+17
-5
Changes
Changes
+5
-0
META.yml
META.yml
+1
-1
inc/Module/Install/RTx.pm
inc/Module/Install/RTx.pm
+9
-2
inc/Module/Install/ReadmeFromPod.pm
inc/Module/Install/ReadmeFromPod.pm
+1
-1
lib/RT/Extension/MandatoryOnTransition.pm
lib/RT/Extension/MandatoryOnTransition.pm
+1
-1
No files found.
Changes
View file @
1e4fd594
0.05 2014-02-06
- Fix a bug, where if no Cfs were listed, then all were treated as
mandatory
0.04 2013-03-26
- Link to TODO from CAVEATS
...
...
META.yml
View file @
1e4fd594
...
...
@@ -21,4 +21,4 @@ no_index:
-
xt
resources
:
license
:
http://opensource.org/licenses/gpl-license.php
version
:
0.0
4
version
:
0.0
5
inc/Module/Install/RTx.pm
View file @
1e4fd594
...
...
@@ -8,7 +8,7 @@ no warnings 'once';
use
Module::Install::
Base
;
use
base
'
Module::Install::Base
';
our
$VERSION
=
'
0.3
0
';
our
$VERSION
=
'
0.3
2
';
use
FindBin
;
use
File::
Glob
();
...
...
@@ -136,6 +136,7 @@ install ::
$has_etc
{acl}++;
}
if ( -e 'etc/initialdata' ) {
$has_etc
{initialdata}++; }
if ( -d 'etc/upgrade/' ) {
$has_etc
{upgrade}++; }
$self
->postamble(
"
$postamble
\
n
"
);
unless (
$subdirs
{'lib'} ) {
...
...
@@ -164,6 +165,12 @@ install ::
.
$self
->postamble(
"
initdb
::\
n$initdb
\
n
"
);
$self
->postamble(
"
initialize
-
database
::\
n$initdb
\
n
"
);
if (
$has_etc
{upgrade}) {
print
"
To
upgrade
from
a
previous
version
of
this
extension
,
use
'
make upgrade-database
'
\
n
"
;
my
$upgradedb
= qq|
\t\$
(NOECHO)
\$
(PERL) -Ilib -I
"
$local_lib_path
"
-I
"
$lib_path
"
-Minc::Module::Install -e
"
RTxInitDB
(
qw(upgrade \$(NAME) \$(VERSION))
)"
\n
|;
$self
->postamble(
"
upgrade
-
database
::\
n$upgradedb
\
n
"
);
$self
->postamble(
"
upgradedb
::\
n$upgradedb
\
n
"
);
}
}
}
...
...
@@ -209,4 +216,4 @@ sub requires_rt {
__END__
#line 3
29
#line 3
36
inc/Module/Install/ReadmeFromPod.pm
View file @
1e4fd594
...
...
@@ -7,7 +7,7 @@ use warnings;
use
base
qw(Module::Install::Base)
;
use
vars
qw($VERSION)
;
$VERSION
=
'
0.2
0
';
$VERSION
=
'
0.2
2
';
sub
readme_from
{
my
$self
=
shift
;
...
...
lib/RT/Extension/MandatoryOnTransition.pm
View file @
1e4fd594
...
...
@@ -2,7 +2,7 @@ use strict;
use
warnings
;
package
RT::Extension::
MandatoryOnTransition
;
our
$VERSION
=
'
0.0
4
';
our
$VERSION
=
'
0.0
5
';
=head1 NAME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment