Page MenuHomeSoftware Heritage

Rename PackageInfo.raw to PackageInfo.raw_info and remove it from BasePackageInfo.
ClosedPublic

Authored by vlorentz on Jul 24 2020, 2:00 PM.

Details

Summary

The rename is to disambiguate with 'raw metadata', which may differ from the
raw info.
And the base PackageLoader doesn't need to access this field, so removing
it from BasePackageInfo.

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Branch
package-metadata
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13940
Build 21389: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 21388: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D3612 (id=12714)

Rebasing onto 14f700d0fa...

Current branch diff-target is up to date.
Changes applied before test
commit ec522be394ebe8eefd489a85e21a3d7ac593851d
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 24 14:00:17 2020 +0200

    Rename PackageInfo.raw to PackageInfo.raw_info and remove it from BasePackageInfo.
    
    The rename is to disambiguate with 'raw metadata', which may differ from the
    raw info.
    And the base PackageLoader doesn't need to access this field, so removing
    it from BasePackageInfo.

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

This revision is now accepted and ready to land.Jul 24 2020, 3:32 PM