You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/09 22:03:00 UTC

[jira] [Resolved] (THRIFT-4416) Perl CPAN Packaging Improvements

     [ https://issues.apache.org/jira/browse/THRIFT-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III resolved THRIFT-4416.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

> Perl CPAN Packaging Improvements
> --------------------------------
>
>                 Key: THRIFT-4416
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4416
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process, Perl - Library
>    Affects Versions: 0.10.0, 0.11.0
>         Environment: CPAN
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>             Fix For: 0.12.0
>
>
> The perl library has a few files and a shell script designed to automate the production of a perl package for CPAN.  It mostly works, however:
> 1. CPAN cannot parse the package version references we use when we point to lib/Thrift.pm from other packages.  This is fixed by adding a provides{} stanza to META.json.
> 2. Users of CPAN don't care about anything but obtaining the "Thrift" package that contains all the others, so identifying the others (like Thrift::BinaryProtocol) is not necessary.  This is done by adding a provides{} stanza to META.json.
> 3. The CPAN package no longer needs the META.yml file, as META.json is sufficient.
> 4. These changes were made by hand to the 0.11.0 package before uploading to CPAN.  This needs to be automated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)