Displaying 3 results from an estimated 3 matches for "get_app_search".
Did you mean:
_get_app_search
2010 May 04
2
[PATCH 1/2] Config: NFC: always create and pass round a Config object
...+ return undef unless (defined($dom));
+
# path-root doesn't have to be defined
my ($root) = $dom->findnodes('/virt-v2v/path-root/text()');
$root = $root->getData() if (defined($root));
@@ -175,15 +180,7 @@ sub get_transfer_iso
return $iso_path;
}
-=item get_app_search(desc, name, arch)
-
-Return a string describing what v2v is looking for in the config file. The
-string is intended to be presented to the user to help improve the configuration
-file.
-
-=cut
-
-sub get_app_search
+sub _get_app_search
{
my ($desc, $name, $arch) = @_;
@@ -216,6 +213,10 @@ s...
2010 Apr 08
1
[PATCH] Move all interaction with the config file into Sys::VirtV2V::Config
...points', keys(%path_args));
+ die(user_message(__x("Failed to create transfer iso. ".
+ "Command output was:\n{output}",
+ output => $eh->output()))) unless ($eh->status() == 0);
+
+ return $iso_path;
+}
+
+=item get_app_search(desc, name, arch)
+
+Return a string describing what v2v is looking for in the config file. The
+string is intended to be presented to the user to help improve the configuration
+file.
+
+=cut
+
+sub get_app_search
+{
+ my ($desc, $name, $arch) = @_;
+
+ my $distro = $desc->{distro};
+...
2010 May 04
1
[PATCH] Config: Don't require all referenced software to be available
...root) ? $pathroot->getData()."/$path" : $path;
+
+ die(user_message(__x("Matched local file {path} for {search}. ".
+ "However, this file is not available.",
+ path => $abs,
+ search => get_app_search($desc, $name, $arch))))
+ unless (-r $abs);
+
my @deps;
foreach my $dep ($app->findnodes('dep/text()')) {
push(@deps, $dep->getData());
--
1.6.6.1