Page MenuHomeSoftware Heritage

swh-indexer: sync data/codemeta with official codemeta repo
ClosedPublic

Authored by KShivendu on Mar 18 2021, 7:41 PM.

Details

Summary

codemeta dir was updated last time in Jan 2019. In this commit crosswalk.csv, CITATION and codemeta.jsonld have been updated.

Related to D5273

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
update-crosswalk
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20006
Build 31054: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 31053: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D5282 (id=18926)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit b164b6535e7042f5c31d4e025b7bbe23546d80ef
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    Update crosswalk.csv

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

please also update the SWHID in swh/indexer/data/codemeta/CITATION. You can compute it by running swh-identify on the Codemeta directory you got the .csv from.

This revision now requires changes to proceed.Mar 19 2021, 2:23 PM

Updating D5282: Update SWHID in CITATION and remove creator from codemeta.jsonld (in sync with the changes in the official codemeta repo)

Build is green

Patch application report for D5282 (id=18947)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit 94394f68469ecc49eec9f61cc34932b47af378ac
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    data/codemeta: sync with official repo
    
    codemeta dir was updated last time in Jan 2019.
    SWHID in CITATION file is also updated by this commit

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

Updating D5282: Update data/codemeta

Build is green

Patch application report for D5282 (id=18948)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit 5128af8a48c9a83cd702a34034125c8571263fc3
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    data/codemeta: sync with official repo
    
    codemeta dir was updated last time in Jan 2019.
    SWHID in CITATION file is also updated by this commit

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

Hey @vlorentz I noticed that creator has been removed from codemeta.jsonld which is also part of our repository (Source : Github Commit)

That's why I am updating codemeta.jsonld as well.

I cloned https://github.com/codemeta/codemeta and used swh identify codemeta and got the response as :

swh:1:dir:1522c21a63ad91d6b2e92700bd7958798f696016	codemeta

Just to be sure that this SWHID is valid, I used the 'save now' feature of the archive and waited for some time but
as per the Permalink section of https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://github.com/codemeta/codemeta its

swh:1:dir:f39a0ef0005ad0dee50dcd546231ed568cf8705d;

which is totally different. I compared the latest commit (of my local repository and the archived repository) and they were both the same.

I also tried to search for the SWHID that I got from swh identify but it doesn't exist in the archive.

Hmm, weird, same issue on my end.

anyway, the right SWHID is swh:1:dir:f39a0ef0005ad0dee50dcd546231ed568cf8705d, you can see the hash with git cat-file -p HEAD

And please update the commit and diff name, to reflect that you're also updating codemeta.jsonld

This revision now requires changes to proceed.Mar 19 2021, 7:19 PM

Updating D5282: Fix SWHID in CITATION

KShivendu retitled this revision from Update crosswalk.csv file to data/codemeta: sync with official codemeta repo.Mar 19 2021, 9:16 PM
KShivendu edited the summary of this revision. (Show Details)
KShivendu retitled this revision from data/codemeta: sync with official codemeta repo to swh-indexer: sync data/codemeta with official codemeta repo.

Build is green

Patch application report for D5282 (id=18950)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit b04b4d524b7bda304c473a660dc76f298e7d5e77
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    data/codemeta: sync with official codemeta repo
    
    codemeta dir was updated last time in Jan 2019. In this commit
    crosswalk.csv, CITATION and codemeta.jsonld have been updated.

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

Please don't change codemeta.jsonld, copy it as-is from the codemeta repo

This revision now requires changes to proceed.Mar 19 2021, 9:21 PM

Updating D5282: swh-indexer: sync data/codemeta with official codemeta repo

Build is green

Patch application report for D5282 (id=18951)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit 1732e73d2d2be10abb7261da1f352205847e3859
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    data/codemeta: sync with official codemeta repo
    
    codemeta dir was updated last time in Jan 2019. In this commit
    crosswalk.csv, CITATION and codemeta.jsonld have been updated.

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

Updating D5282: swh-indexer: sync data/codemeta with official codemeta repo

Build is green

Patch application report for D5282 (id=18952)

Rebasing onto 4831012290...

Current branch diff-target is up to date.
Changes applied before test
commit 8e046c1900df73c199263d28fad68a994907bdc6
Author: KShivendu <shivendu@iitbhilai.ac.in>
Date:   Fri Mar 19 00:06:34 2021 +0530

    data/codemeta: sync with official codemeta repo
    
    codemeta dir was updated last time in Jan 2019. In this commit
    crosswalk.csv, CITATION and codemeta.jsonld have been updated.

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

This revision is now accepted and ready to land.Mar 19 2021, 9:33 PM