capjamesgI don't know how many times I have written "This project is open source". Having an explicit rel both feels valuable, and adds almost no effort on the publisher's side.
[tantek]we can capture both such plain text content/link use-cases and the (popular a while ago?) little graphic diagonal banner in the corner of various pages that said "This project is on GitHub" or something similar
[tantek]re: "differs from a source-code file" – examples of plain "view source code" (not on a repo): wikis that require login to edit instead show a "View source" link/button that when clicked shows you a textarea you can copy out of (but not edit). E.g. http://indieweb.org, http://microformats.org/wiki, http://wiki.mozilla.org
[tantek]but yea, I expect any user visible/clickable in-page links with rel=repository to have at least one other value, e.g. at most one of "code", "directory", or "root"