Page MenuHomeSoftware Heritage

Save code now ui rejects valid git sourceforge origin
Closed, ResolvedPublic

Description

Trying to submit a save code now request [1] with a valid git sourceforge origin [2] is rejected in the validation input ui [3].

This should be ok to submit such origin.

[1] https://archive.softwareheritage.org/save/#requests

[2] Ingestion for that origin is ok: P1209

[3]

Related Objects

Event Timeline

ardumont triaged this task as Normal priority.Oct 26 2021, 10:37 AM
ardumont created this task.
ardumont added a project: Save Code Now.
ardumont added a subscriber: zimoun.

This is because I made the wrong assumption that URL paths to git repos for the git.code.sf.net netloc are necessarily prefixed by /p/.
So URLs starting with https://git.code.sf.net/u/ are currently rejected when submitting save requests through the Web UI , see related frontend code.

Diff fixing that invalid behavior incoming.

anlambert claimed this task.

Fixed and deployed, origin https://git.code.sf.net/u/bsomervi/hamlib.git has been successfully submitted and is currently being loaded into the archive, closing this.