rlauer6 / perl-amazon-api Goto Github PK
View Code? Open in Web Editor NEWGeneric class for creating AWS API method calls
Generic class for creating AWS API method calls
There are some places in documentation and code where "https:://" instead of "https://" is used (and in one case a slash is missing). See:
https://github.com/search?q=repo%3Arlauer6%2Fperl-Amazon-API+%22https%3A%3A%22&type=code
Also I think it would be a good idea to add "--depth=1" to the git-clone calls.
On some systems multiple tests fail if Pod::Find (which is not anymore a core perl module) is not installed:
# Failed test 'use Amazon::API;'
# at t/00-load.t line 5.
# Tried to use 'Amazon::API'.
# Error: Can't locate Pod/Find.pm in @INC (you may need to install the Pod::Find module) (@INC contains: ...
...
Test Summary Report
-------------------
t/00-load.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/01-urlencode.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 6 tests but ran 1.
t/amazon-api.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=5, Tests=33, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.54 cusr 0.30 csys = 0.88 CPU)
Result: FAIL
Failed 3/5 test programs. 2/33 subtests failed.
make: *** [Makefile:1008: test_dynamic] Error 2
Checking if you have Test::More 1.302190 ... Yes (1.302191)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.64)
==> Found dependencies: warnings, charnames, Amazon::API::Signature4, Amazon::API
Searching warnings (1.47) on cpanmetadb ...
skipping R/RJ/RJBS/perl-5.36.0.tar.gz
Searching charnames (1.48) on cpanmetadb ...
Already tried perl-5.36.0. Skipping.
Searching Amazon::API::Signature4 (v1.3.4) on cpanmetadb ...
Already tried Amazon-API-1.3.4. Skipping.
Already tried Amazon::API. Skipping.
! Installing the dependencies failed: Installed version (1.3.3) of Amazon::API is not in range 'v1.3.4', Installed version (1.45) of charnames is not in range '1.48', Installed version (1.44) of warnings is not in range '1.47', Installed version (1.3.3) of Amazon::API::Signature4 is not in range 'v1.3.4'
! Bailing out the installation for Amazon-API-v1.3.4.
% steph@kerangi (/home/steph/mup_t) %
% perl -MLb -E ' use Amazon::API; say Amazon::API::->VERSION'
1.3.3
hth
--steph
t/amazon-api.t fails on some of my smoker systems:
# Failed test 'undef isa 'Amazon::API''
# at t/amazon-api.t line 15.
# undef isn't defined
# Can't locate object method "initialized" via package "Log::Log4perl" at /home/cpansand/.cpan/build/2023022022/Amazon-API-2.0.0-0/blib/lib/Amazon/API.pm line 1474.
# Amazon::API::_set_default_logger(Amazon::API=HASH(0x55f270a76ee8)) called at /home/cpansand/.cpan/build/2023022022/Amazon-API-2.0.0-0/blib/lib/Amazon/API.pm line 487
# Amazon::API::new("Amazon::API", HASH(0x55f270a76d98)) called at t/amazon-api.t line 12
# eval {...} called at t/amazon-api.t line 11
# Looks like you failed 1 test of 1.
t/amazon-api.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.