Page MenuHomeSoftware Heritage

Add Podspec Mappings
Changes PlannedPublicDraft

Authored by VickyMerzOwn on Aug 22 2022, 10:41 PM.

Details

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
podspec-mapping
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 31449
Build 49193: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 49192: arc lint + arc unit

Event Timeline

Build has FAILED

Patch application report for D8283 (id=29911)

Rebasing onto 466108c166...

Current branch diff-target is up to date.
Changes applied before test
commit 0333ce1ccfe939f8b3afd11a7d79f54072b82f81
Author: Satvik Vemuganti <vemugantisesha@iitbhilai.ac.in>
Date:   Tue Aug 23 02:06:29 2022 +0530

    metadata_dictionary: Add mappings for "*.podspec" files

Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/451/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/451/console

Harbormaster returned this revision to the author for changes because remote builds failed.Aug 22 2022, 10:43 PM
Harbormaster failed remote builds in B30963: Diff 29911!

Add 'podspec' to list of expected_output in test_cli.test_cli_mapping_list method

Build has FAILED

Patch application report for D8283 (id=29940)

Rebasing onto e8cafad61c...

Current branch diff-target is up to date.
Changes applied before test
commit 5b86e1351f2c87c61f595070973d7115c16bdda4
Author: Satvik Vemuganti <vemugantisesha@iitbhilai.ac.in>
Date:   Tue Aug 23 02:06:29 2022 +0530

    metadata_dictionary: Add mappings for "*.podspec" files

Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/462/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/462/console

Harbormaster returned this revision to the author for changes because remote builds failed.Aug 23 2022, 12:58 PM
Harbormaster failed remote builds in B30992: Diff 29940!

Build has FAILED

Patch application report for D8283 (id=30433)

Rebasing onto b6385cec11...

First, rewinding head to replay your work on top of it...
Applying: metadata_dictionary: Add mappings for "*.podspec" files
Changes applied before test
commit f1f9bf3fd78f3616dd83ae4ded554149bf4f80b9
Author: Satvik Vemuganti <vemugantisesha@iitbhilai.ac.in>
Date:   Tue Aug 23 02:06:29 2022 +0530

    metadata_dictionary: Add mappings for "*.podspec" files

Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/486/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/486/console

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 11 2022, 9:00 AM
Harbormaster failed remote builds in B31449: Diff 30433!
swh/indexer/metadata_dictionary/podspec.py
100–103

Maybe try this.

swh/indexer/metadata_dictionary/podspec.py
45–60

please reuse the code from ruby.py.

(Actually, you could move PodspecMapping to that file, to keep the code tidier)

71–90

ditto.

(also, the name should remain eval_ruby_expression, because it evaluates Ruby code)

96

don't you mean parse_hash?

101–103

you can simplify this

swh/indexer/tests/test_cli.py
125

remove this

swh/indexer/metadata_dictionary/__init__.py
26

remove this.