Page MenuHomeSoftware Heritage

assets/save: Autofill artifact version from artifact url
ClosedPublic

Authored by anlambert on May 28 2021, 4:19 PM.

Details

Summary

For the archives visit type, when an arifact url is pasted in a
dedicated input, autofill the asociated artifact version input from
the filename in the url without extensions.

Related to T3213

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 D5801 (id=20721)

Rebasing onto 56b52cf891...

Current branch diff-target is up to date.
Changes applied before test
commit 045dc6d5c630c1f6b261e1fde7f72dd59393dd79
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri May 28 14:15:47 2021 +0200

    assets/save: Autofill artifact version from artifact url
    
    For the archives visit type, when an arifact url is pasted in a
    dedicated input, autofill the asociated artifact version input from
    the filename in the url without extensions.
    
    Related to T3213

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

ardumont added a subscriber: ardumont.
ardumont added inline comments.
cypress/integration/origin-save.spec.js
540

what does it do?

This revision is now accepted and ready to land.May 31 2021, 10:54 AM
cypress/integration/origin-save.spec.js
540

it empties the version input that has been autofilled before typing the version (different from tarball name here).