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 13:37:00 UTC

[jira] [Updated] (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 updated THRIFT-4416:
---------------------------------------
    Description: 
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.

  was:
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 wants numeric dotted versions, and we have 'v0.11.0' in our version; for the previous release we had '0.10.0'.

2. CPAN cannot parse the package version references we use when we point to lib/Thrift.pm from other packages.

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.


> 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
>
> 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)