Page MenuHomeSoftware Heritage

Remove get_random()
ClosedPublic

Authored by vlorentz on Jun 22 2022, 4:19 PM.

Details

Summary

It is not used anywhere (and swh-storage provides content_get_random() that
feels the same need), and cloud backends do not implement it anyway.

Diff Detail

Repository
rDOBJS Object storage
Branch
multihash
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 30001
Build 46900: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 46899: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8026 (id=28907)

Rebasing onto 847285a28d...

Current branch diff-target is up to date.
Changes applied before test
commit 0fd9cefc33d50b1a345a3c965b7f63d7bcf58d61
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Jun 22 16:18:47 2022 +0200

    Remove get_random()
    
    It is not used anywhere (and swh-storage provides content_get_random() that
    feels the same need), and cloud backends do not implement it anyway.

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

This revision is now accepted and ready to land.Jun 22 2022, 4:27 PM

Build is green

Patch application report for D8026 (id=28922)

Rebasing onto d7f4daa242...

Current branch diff-target is up to date.
Changes applied before test
commit 2caa05e869c952a3e8c4f3418d41ea17955f5447
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Jun 22 16:18:47 2022 +0200

    Remove get_random()
    
    It is not used anywhere (and swh-storage provides content_get_random() that
    feels the same need), and cloud backends do not implement it anyway.

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

This revision was automatically updated to reflect the committed changes.