Skip to content

Commit

Permalink
Item13062: Multiple configure ext. installer issues
Browse files Browse the repository at this point in the history
 - Delete the "repository" from args hash - collision with package
   options

 - Pass $reporter to LoadSpec::parse

 - Don't depend on Configure::Util

 There are still issues - command line installer doesn't have a default
 repository to search.
  • Loading branch information
gac410 committed Nov 2, 2014
1 parent ca42192 commit fff12e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Configure/Package.pm
Expand Up @@ -889,7 +889,7 @@ sub _install {

# Pick up all Config.spec's
if ( $file =~ /\/Config.spec$/ ) {
Foswiki::Configure::LoadSpec::parse( $target, $spec );
Foswiki::Configure::LoadSpec::parse( $target, $spec, $reporter );
}
$reporter->NOTE("> ${simulated}Installed: $file as $target");
}
Expand Down
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Configure/Wizards/InstallExtensions.pm
Expand Up @@ -78,6 +78,8 @@ sub _getPackage {
return undef;
}
}
delete $args->{repository};

my $pkg = Foswiki::Configure::Package->new(
root => $installRoot,
repository => $repository,
Expand Down
1 change: 0 additions & 1 deletion core/tools/extender.pl
Expand Up @@ -174,7 +174,6 @@ sub _stop {

# Can't do this until we have setlib.cfg
require Foswiki::Configure::Dependency;
require Foswiki::Configure::Util;
require Foswiki::Configure::Package;
require Foswiki::Configure::Reporter;

Expand Down

0 comments on commit fff12e5

Please sign in to comment.