Kallithea issues archive

Issue #285: Start Revision setting not working as described

Reported by: André
State: new
Created on: 2017-06-19 10:52
Updated on: 2017-06-24 17:25

Description

I set the "Start Revision" setting to master and it does not what the description claims it does. The description is "Default revision for files page, downloads, whoosh and readme" but on the summary page the link to the files is "reponame/files/tip" instead of "reponame/files/master", the download link is also "reponame/archive/tip.zip" and the changelog page also defaults to the tip.

The download link is hardcoded in the summary template. The other links are generated with a call to "${self.repo_context_bar('summary')}" which lacks the rev parameter. Even then a call to "reponame/changelog" should default to "Start Revision".

Attachments

Comments

Comment by Mads Kiilerich, on 2017-06-24 17:25

Right. That seems like a relatively easy issue to fix, if a new contributor wants to start somewhere.