Page MenuHomeSoftware Heritage

hypothesis_strategies: Ensure to generate valid directory entry name (again)
ClosedPublic

Authored by vlorentz on Dec 8 2021, 12:29 PM.

Details

Summary

Depends on D6787

This is a rewrite of D6760, that does limit itself to valid UTF-8 bytes,
nor does it exclude null bytes.

Diff Detail

Repository
rDMOD Data model
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 D6788 (id=24622)

Could not rebase; Attempt merge onto c525484e47...

Updating c525484..b065c13
Fast-forward
 swh/model/hypothesis_strategies.py | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
Changes applied before test
commit b065c139c8ab177b52f8113be12bae9c09fa5873
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Dec 8 12:27:28 2021 +0100

    hypothesis_strategies: Ensure to generate valid directory entry name (again)

commit a2f4c79958bec48b21dcf7e0adf2f2dc78eac1d3
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Dec 8 12:22:01 2021 +0100

    Revert "hypothesis_strategies: Ensure to generate valid directory entry name"
    
    This reverts commit c525484e473720ffcde89534d3ba89093bc8b016.

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

This revision now requires changes to proceed.Dec 8 2021, 3:16 PM
This revision is now accepted and ready to land.Dec 8 2021, 3:16 PM

Build is green

Patch application report for D6788 (id=24631)

Could not rebase; Attempt merge onto f6e0a289ef...

Updating f6e0a28..52d6e0a
Fast-forward
 swh/model/hypothesis_strategies.py | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
Changes applied before test
commit 52d6e0a5065a550cebd89bc5e9ecb2ed14bf7119
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Dec 8 12:27:28 2021 +0100

    hypothesis_strategies: Ensure to generate valid directory entry name (again)

commit 4803d786d911848600ccab531071fbbbbe499aaa
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Dec 8 12:22:01 2021 +0100

    Revert "hypothesis_strategies: Ensure to generate valid directory entry name"
    
    This reverts commit c525484e473720ffcde89534d3ba89093bc8b016.

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