[MetaCPAN] Perl Core Modules

Dey, John F jfdey at fredhutch.org
Fri Dec 21 21:08:23 GMT 2018


I build and maintain software at a research center with easybuild.  Our Perl recipe has about 400 modules in it.  A few times I year I need to update this list and or add new modules that are requested. I also do this for R, Python.  While updating module versions I also resolve missing dependencies.  If a dependency is core then it is not required.  I need the core list in order to short circuit dependency resolution. Without a REST API I will need to build and install Perl, before I can update our custom local version of Perl.

Example Easybuild Perl recipe:   https://github.com/easybuilders/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/p/Perl/Perl-5.24.0-foss-2016b.eb

Why do we use easybuild to build software?  Because we are trying to make science reproducible. 

John Dey

On 12/21/18, 9:38 AM, "Karen Etheridge" <perl at froods.org> wrote:

    As Shlomi says, it's not necessary to use a networked API for that
    information, as it is available locally, via the corelist command
    available in the Module-CoreList distribution.
    
    May I ask why you want to find a module's core status? That's not
    usually relevant information. Core modules should still be listed as
    prerequisites in distribution metadata, as modules have been added and
    removed to core as the years go by, and sometimes one needs a feature
    in a core module that only appeared in a later version. Also, some
    operating system distributions have in the past been known to omit
    some core modules from their perl packages, which makes things
    complicated if a distribution's prerequisites omits those modules.
    
    On Fri, Dec 21, 2018 at 8:47 AM Dey, John F <jfdey at fredhutch.org> wrote:
    >
    > Thanks for the link to metacpan.org   and Module::CoreList   But this is not the solution I was hoping for.  I am looking for a REST API.  It would be nice if CPAN had a published API to query module  information similar to PyPi.org.
    >
    > - does a module exist, if yes what is the latest version
    > - File name, and download URL, sha256 checksum
    > - dependency list
    > - requirements list
    > - Is it a Core module
    >
    >
    > John Dey
    >
    > On 12/21/18, 2:12 AM, "Shlomi Fish" <shlomif at shlomifish.org> wrote:
    >
    >     https://urldefense.proofpoint.com/v2/url?u=https-3A__metacpan.org_pod_Module-3A-3ACoreList&d=DwIFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=3TR-iteG1SyRqQ5yubQg-_2KIAToz9bj5dZrRdW36Hc&m=caPSA9keF-TGhpoj5QsGrMPtxa4ALCkmUestI2V5FUg&s=eguT1p46Kbk3I8jjeYFi4El4teQRf732iiFBHMWXOXU&e=
    >
    > _______________________________________________
    > MetaCPAN mailing list
    > MetaCPAN at lists.scsys.co.uk
    > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scsys.co.uk_cgi-2Dbin_mailman_listinfo_metacpan&d=DwIFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=3TR-iteG1SyRqQ5yubQg-_2KIAToz9bj5dZrRdW36Hc&m=OOosDhiW3QHMfSeJ5mp1U8ij_l0S95jXVm79hxfJ-ps&s=1954myLc_cqXowiyljLC4eAoenL7DNtbAxjkQn-ZXLQ&e=
    



More information about the MetaCPAN mailing list