Page MenuHomeSoftware Heritage

api.RPCClient: replace use of deprecated post method in generated methods
ClosedPublic

Authored by olasd on Mar 3 2022, 7:57 PM.

Details

Summary

This avoids spamming a deprecation error clients can't do anything about.

Test Plan

no more spam in the staging services I used this change

Diff Detail

Event Timeline

vlorentz published this revision for review.Mar 3 2022, 7:59 PM
vlorentz accepted this revision.
This revision is now accepted and ready to land.Mar 3 2022, 7:59 PM

Build is green

Patch application report for D7290 (id=26384)

Rebasing onto 83fb36b83f...

First, rewinding head to replay your work on top of it...
Applying: api.RPCClient: replace use of deprecated post method in generated methods
Changes applied before test
commit 6e26b9b2c832eeb4b59ded53ab7ee36226e2c0d2
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Thu Mar 3 19:26:54 2022 +0100

    api.RPCClient: replace use of deprecated post method in generated methods
    
    This avoids spamming a deprecation error clients can't do anything about.

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

Track down more uses of rpc_client.post

Build is green

Patch application report for D7290 (id=26385)

Rebasing onto 83fb36b83f...

First, rewinding head to replay your work on top of it...
Applying: api.RPCClient: replace use of deprecated post method in generated methods
Changes applied before test
commit 9eae63ea06f8f6f8446777261ecf319e31693344
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Thu Mar 3 19:26:54 2022 +0100

    api.RPCClient: replace use of deprecated post method in generated methods
    
    This avoids spamming a deprecation error clients can't do anything about.

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

Build is green

Patch application report for D7290 (id=26386)

Rebasing onto 83fb36b83f...

Current branch diff-target is up to date.
Changes applied before test
commit ae654de04ed727e3703ee6d9d389eaa9438114cc
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Thu Mar 3 19:26:54 2022 +0100

    api.RPCClient: replace use of deprecated post method in generated methods
    
    This avoids spamming a deprecation error clients can't do anything about.

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

vlorentz added a task: Restricted Maniphest Task.Mar 7 2022, 9:25 AM