Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4416

Perl CPAN Packaging Improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.11.0
    • 0.12.0
    • None
    • CPAN

    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.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              jking3 James E. King III
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: