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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9550
Build 14061: tox-on-jenkinsJenkins
Build 14060: arc lint + arc unit

Event Timeline

anlambert added a subscriber: anlambert.
anlambert added inline comments.
swh/deposit/api/urls.py
6

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

swh/deposit/templates/homepage.html
29

s/respository/archive/

This revision is now accepted and ready to land.Dec 6 2019, 12:04 PM

thx.

Adapted.