This queue is for tickets about the Arepa CPAN distribution.

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

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

BugTracker
Severity:
Important
Broken in:
0.74
Fixed in:
(no value)

Attachments


Subject: Approving packages for "canonical" distributions fails
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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