Page MenuHomeSoftware Heritage

tarball: Add support for uncompressing egg files
AbandonedPublic

Authored by anlambert on Sep 15 2021, 2:22 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Maniphest Tasks
T3576: Add support for Python eggs file processing
Summary

Python egg files are standard ZIP archives so add support
to uncompress them through shutil.register_unpack_format.

Related to T3576

Test Plan

Existing test have been adapted.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Branch
tarball-uncompress-egg-support
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 23625
Build 36868: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 36867: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6267 (id=22692)

Rebasing onto 632673f6bd...

Current branch diff-target is up to date.
Changes applied before test
commit 7ded13975ca3b6d6bb6d7f1511a9db620ab6cbe6
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Sep 15 14:20:11 2021 +0200

    tarball: Add support for uncompressing egg files
    
    Python egg files are standard ZIP archives so add support
    to uncompress them through shutil.register_unpack_format.
    
    Related to T3576

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/243/ for more details.

Apparently, decision has been made to not archive egg files so abandoning this.