Page MenuHomeSoftware Heritage

browse: Add tip revision info in content/directory views if available
ClosedPublic

Authored by anlambert on Jun 22 2020, 5:32 PM.

Details

Summary

When browsing a content or a directory in a snapshot context, add a box on top
of the views content giving info about current tip revision: link, author, date
and first message line.

Below are some screenshots of the result:

Closes T2326

Diff Detail

Repository
rDWAPPS Web applications
Branch
browse-add-tip-revision-link
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13044
Build 19889: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 19888: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D3335 (id=11818)

Rebasing onto 9e0b50ba24...

Current branch diff-target is up to date.
Changes applied before test
commit 058c6047e65498539084bcce6e650c9d1a5b9c1c
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Mon Jun 22 16:21:50 2020 +0200

    browse: Add tip revision info in content/directory views if available
    
    When browsing a content or a directory in a snapshot context, add a box on top
    of the views content giving info about current tip revision: link, author, date
    and first message line.
    
    Closes T2326

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

ardumont added a subscriber: ardumont.

Nice.

one remark/question for a docstring above.

swh/web/common/typing.py
101

snapshot int that?

into might be?

(it seems that the pattern snapshot int that exists in multiple locations)

This revision is now accepted and ready to land.Jun 23 2020, 11:45 AM
swh/web/common/typing.py
101

Gosh, I am the king of the typos these days. Thanks !

Build is green

Patch application report for D3335 (id=11830)

Rebasing onto 9e0b50ba24...

Current branch diff-target is up to date.
Changes applied before test
commit 33de552220749ae2b14cefefec33ff777450ea40
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Mon Jun 22 16:21:50 2020 +0200

    browse: Add tip revision info in content/directory views if available
    
    When browsing a content or a directory in a snapshot context, add a box on top
    of the views content giving info about current tip revision: link, author, date
    and first message line.
    
    Closes T2326

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