Page MenuHomeSoftware Heritage

common: Move PIDs related functions from utils to dedicated sub-module
ClosedPublic

Authored by anlambert on Apr 2 2020, 4:20 PM.

Details

Summary

Move functions related to SWH PIDs in new swh.web.common.identifiers sub-module.

Related to T2342

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D2946 (id=10489)

Rebasing onto 2e858f73f6...

Current branch diff-target is up to date.
Changes applied before test
commit 8b3e0ce543c072db36a4e5e838d479b2cca11bf2
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Apr 2 16:16:01 2020 +0200

    common: Move PIDs related functions from utils to dedicated sub-module
    
    Related to T2342

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

ardumont added a subscriber: ardumont.

I'd argue to add the types while the code is moved.
But as you wish ;)

swh/web/common/identifiers.py
19

please add the types ;)

54

targetted?

This revision is now accepted and ready to land.Apr 2 2020, 4:53 PM

I'd argue to add the types while the code is moved.
But as you wish ;)

D2948 ;-)