chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP commod-update-receiver
[ypp-sc-tools.web-live.git]
/
pctb
/
Commods.pm
diff --git
a/pctb/Commods.pm
b/pctb/Commods.pm
index 6f3a177ee8870c8ca471521058c4b4d1b0d20728..d59529b0a6b1eb0121d3761e45a5a34c42686993 100644
(file)
--- a/
pctb/Commods.pm
+++ b/
pctb/Commods.pm
@@
-10,15
+10,16
@@
BEGIN {
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
$VERSION = 1.00;
@ISA = qw(Exporter);
our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
$VERSION = 1.00;
@ISA = qw(Exporter);
- @EXPORT = qw(&parse_masters %oceans %commods
+ @EXPORT = qw(&parse_masters %oceans %commods
%clients
&parse_pctb_commodmap %pctb_commodmap @pctb_commodmap);
%EXPORT_TAGS = ( );
@EXPORT_OK = qw();
}
&parse_pctb_commodmap %pctb_commodmap @pctb_commodmap);
%EXPORT_TAGS = ( );
@EXPORT_OK = qw();
}
-our %oceans; # eg $oceans{'Midnight'}{'Ruby'}{'Eta Island'}= $sources
+our %oceans; # eg $oceans{'Midnight'}{'Ruby'}{'Eta Island'}= $sources
;
our %commods; # eg $commods{'Fine black cloth'}= $sources;
our %commods; # eg $commods{'Fine black cloth'}= $sources;
+our %clients; # eg $clients{'ypp-sc-tools'}= [ qw(last-page) ];
# $sources = 's[l]b';
# 's' = Special Circumstances; 'l' = local ; B = with Bleach
# $sources = 's[l]b';
# 's' = Special Circumstances; 'l' = local ; B = with Bleach
@@
-50,6
+51,13
@@
sub parse_master_master1 ($$) {
$oceans{$ocean}{$arch}{$_} .= $src;
};
});
$oceans{$ocean}{$arch}{$_} .= $src;
};
});
+ } elsif (m/^client (\S+)$/) {
+ my $client= $1;
+ $clients{$client}= [ ];
+ @ctx= (sub {
+ my $bug= $_;
+ push @{ $clients{$client} }, $bug;
+ });
} elsif (s/^ +//) {
my $indent= length $&;
die "wrong indent $indent" unless defined $ctx[$indent-1];
} elsif (s/^ +//) {
my $indent= length $&;
die "wrong indent $indent" unless defined $ctx[$indent-1];