Page MenuHomeSoftware Heritage

loader: Use utf-8 instead of ascii to decode rsync output
ClosedPublic

Authored by anlambert on Jul 8 2022, 6:33 PM.

Details

Summary

It exists cases where rsync output will not be ascii decodable so prefer
to use utf-8 instead.

Fixes SWH-LOADER-CVS-18.

Diff Detail

Repository
rDLDCVS CVS Loader
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 D8104 (id=29260)

Rebasing onto e5215cf198...

Current branch diff-target is up to date.
Changes applied before test
commit 5a79a325a875340816f3695faaf2a0b3e19797ee
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Fri Jul 8 18:29:21 2022 +0200

    loader: Use utf-8 instead of ascii to decode rsync output
    
    It exists cases where rsync output will not be ascii decodable so prefer
    to use utf-8 instead.

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

This revision is now accepted and ready to land.Jul 11 2022, 1:53 PM