CPANPLUS-Dist-Arch

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


The URIs for login and package submit were changed to /login/ and /submit/.

* Release 1.23 [2012-06-27 Wed]

** Update cpan2aur for AUR website changes.

The AUR passes the session token as an extra POST parameter to prevent
cross-site scripting. cpan2aur needed updating in order to be able to
upload source packages to the AUR.

* Release 1.22 [2012-06-04 Mon]                                       :BUGFIX:

** Avoid using Cwd::abs_path on non-existant directory.

* Release 1.21 [2012-05-31 Thu]

** Developer versions nuked to hell.                                  :BUGFIX:

Developer versions on CPAN have a trailing underscore and numeric
portion (eg 1.2.3_4). These are a largely misunderstood nuisance
which require special logic on the part of perl/CPAN to compare versions.
A dev ver drops the trailing number if compared against a non-dev ver
string. So 1.2.3_4 == 1.2.3 but 1.2.3_4 < 1.2.3_5.

Previously I tried to preserve them but because pacman mercifully
has no special logic to compare them with non-developer version
strings I decided to just remove them entirely from pkgvers.

Long story short... 1.2.3_4 is not equivalent to 1.2.3.4 so why
even try to make it so.

Reported by Florian Pritz (Bluewind)

* Release 1.20 [2012-04-29 Sun]

** Be more careful removing duplicate makedepends/depends.           :BUGFIX:

The depends list starts off with packages containing the modules
in the META.json's build.requires. The build.requires are merged
into the makedepends and these are removed from the depends list.
This was causing a problem with Params::Validate where
perl-module-implementation was showing up only on the makedepends list.

Now this should be fixed because the build.requires is a different
version than the runtime.requires. We don't remove seemingly duplicate
deps that have a differing version string.

However, this is just a hackish fix.  A better fix would be to only use
the META.yml if it is available or else use the pre-requisites CPP provides.

Reported by Florian Pritz (Bluewind)

** Use META.json if it is available.

Now that META.json is more prevalent we can use it instead of META.yml
when it is available.

* Release 1.19 [2011-10-25 Tue]

** Detect non-perl XS deps when using non-english locale.            :BUGFIX:

We scrape pacman's output in order to find package owners of C
libraries that we are linking to. Silly me, I only matched english
output of pacman. We now force the locale to C when we run pacman
behind the scenes.

Reported by Franek at https://bbs.archlinux.org/viewtopic.php?id=128890

* Release 1.18 [2011-08-21 Sun]

** Trivial fix for $CPANPLUS::Dist::Arch::PACKAGER.

If the PACKAGER environment variable is set then the package variable
$CPANPLUS::Dist::Arch::PACKAGER will now be set to its value,
overriding the /etc/makepkg.conf value.

** cpan2aur: Update to match the latest AUR upgrades.

Logins are now HTTPS only. I thought I updated this already but I
guess that was WWW::AUR instead. Sessions now have lowercase letters
instead of uppercase letters. This confused the session key
loading mechanism.

** Add sha512sums to PKGBUILD.

SHA-512 digests are calculated for the "sources" tarball if the
Digest::SHA module is installed.

** Make all warnings fatal.

Warnings will now stop the program.

** Fix warning messages for undefined module versions.

Warning messages would be printed when a sub-module of a distribution
is depended on. Sub-modules are modules inside a distribution which
don't match the name of the distribution. These are generally hidden
in order to depend only on distributions and not modules. Example
warning message (word-wrapped):

Use of uninitialized value $depver in numeric eq (==) at
/usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm line 984.

* Release 1.17 [2011-08-03 Wed]

** If at first you don't succeed, try again harder.

   Okay the last fix didn't really work. Really fix it this time
   and add a test.

* Release 1.16 [2011-08-03 Wed]

** Remove any leading 'v' char in front of versions for perl.

   Since we parse these on our own we must be diligent of the strange
   perl habit of prefixing versions with "v".

   Found when uploading Exporter-Declare to the AUR.

* Release 1.15 [2011-07-06 Wed]

** Depend on perl core modules again

   After getting some coffee in me I realized that it's ok to depend



( run in 0.704 second using v1.01-cache-2.11-cpan-ceb78f64989 )