Skip Menu |
 

This queue is for tickets about the Arepa CPAN distribution.

Report information
The Basics
Id: 55706
Status: resolved
Priority: 0/
Queue: Arepa

People
Owner: Nobody in particular
Requestors: OPERA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.74
Fixed in: (no value)

Attachments


Subject: Approving packages for "canonical" distributions fails
Download (untitled) / with headers
text/plain 302b
Say that you have a builder for distribution "lenny" with an alias "unstable". While approving packages targeted for "unstable" works, approving packages for "lenny" actually fails. The workaround is adding "lenny" to the distribution_aliases for that builder, or apply the attached one-line patch.
Subject: canonical-distribution-fix.patch
Index: lib/Arepa/Web/App.pm =================================================================== --- lib/Arepa/Web/App.pm (revision 12067) +++ lib/Arepa/Web/App.pm (revision 12068) @@ -371,7 +371,8 @@ foreach my $b (@builders) { my %builder_cfg = $config->get_builder_config($b); if (grep { $_ eq $distribution } - @{$builder_cfg{distribution_aliases}}) { + @{$builder_cfg{distribution_aliases}}, + $builder_cfg{distribution}) { # There should be only one; if there's more than one, that's a # problem if ($builder) {
This should be fixed in 0.75, which I'm going to upload now.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.