version 1.487, 2004/04/15 23:06:02
|
version 1.488, 2004/04/23 19:36:46
|
Line 4083 sub metadata {
|
Line 4083 sub metadata {
|
#&logthis("extsion1 $extension $key !!"); |
#&logthis("extsion1 $extension $key !!"); |
#no specific packages #how's our extension |
#no specific packages #how's our extension |
if ($key!~/^extension_\Q$extension\E&/) { next; } |
if ($key!~/^extension_\Q$extension\E&/) { next; } |
&metadata_create_pacakge_def($uri,$key,'extension_'.$extension, |
&metadata_create_package_def($uri,$key,'extension_'.$extension, |
\%metathesekeys); |
\%metathesekeys); |
} |
} |
if (!exists($metacache{$uri}->{':packages'})) { |
if (!exists($metacache{$uri}->{':packages'})) { |
foreach my $key (sort(keys(%packagetab))) { |
foreach my $key (sort(keys(%packagetab))) { |
#no specific packages well let's get default then |
#no specific packages well let's get default then |
if ($key!~/^default&/) { next; } |
if ($key!~/^default&/) { next; } |
&metadata_create_pacakge_def($uri,$key,'default', |
&metadata_create_package_def($uri,$key,'default', |
\%metathesekeys); |
\%metathesekeys); |
} |
} |
} |
} |
Line 4122 sub metadata {
|
Line 4122 sub metadata {
|
return $metacache{$uri}->{':'.$what}; |
return $metacache{$uri}->{':'.$what}; |
} |
} |
|
|
sub metadata_create_pacakge_def { |
sub metadata_create_package_def { |
my ($uri,$key,$package,$metathesekeys)=@_; |
my ($uri,$key,$package,$metathesekeys)=@_; |
my ($pack,$name,$subp)=split(/\&/,$key); |
my ($pack,$name,$subp)=split(/\&/,$key); |
if ($subp eq 'default') { next; } |
if ($subp eq 'default') { next; } |