Page MenuHomeSoftware Heritage

deposit.api: Add a basic api page to https://deposit.s.o/1
ClosedPublic

Authored by ardumont on Dec 6 2019, 9:32 AM.

Details

Summary

This makes the link https://d.s.o/1 referenced from the getting-started [1]
actually resolves to a page and not a 404.

Note: This also improve some sentence phrasing in the main homepage and some
module docstrings

Related to T2140

[1] https://docs.softwareheritage.org/devel/swh-deposit/getting-started.html

Test Plan

tox

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Dec 6 2019, 9:32 AM
anlambert accepted this revision.Dec 6 2019, 12:04 PM
anlambert added a subscriber: anlambert.
anlambert added inline comments.
swh/deposit/api/urls.py
6 ↗(On Diff #8457)

I would rather write SWH's deposit api URL configuration here

swh/deposit/templates/homepage.html
30

s/respository/archive/

This revision is now accepted and ready to land.Dec 6 2019, 12:04 PM
ardumont updated this revision to Diff 8467.Dec 6 2019, 12:27 PM

Adapt according to review

ardumont marked 2 inline comments as done.Dec 6 2019, 12:27 PM

thx.

Adapted.

Looks good to me too :-)