2897: raw file URL mask incorrect for fedorahosted git - gets HTML instead of raw code

tfl***@fedorapr********* (Google Code) (Is this you? Claim this profile.)
Feb. 8, 2013
What version are you running?
1.7.4

The 'raw file URL mask' template for adding a Fedora Hosted git repository is not correct. It points to an HTML representation of the source file in question, leading to diff failures.

It is currently:
'http://git.fedorahosted.org/cgit/%(fedorahosted_repo_name)s.git/tree/<filename>?id2=<revision>'

It should be:
'http://git.fedorahosted.org/cgit/%(fedorahosted_repo_name)s.git/plain/<filename>?id2=<revision>'

The change is from 'tree' to 'plain'
david
#1 david
Fixed in release-1.6.x (4722667), release-1.7.x (a4ade92). Thanks!
  • +Fixed