crrev.com now points to chromium.googlesource.com

54 views
Skip to first unread message

Mike Stipicevic

unread,
Aug 21, 2014, 12:07:41 PM8/21/14
to chromium-dev
Hey chromium-dev,

crrev.com has been updated to point to chromium.googlesource.com. This means that going to https://crrev.com/290969 will redirect to the appropriate git commit (2bfa5cff in this case). This ensures crrev.com links and git commit position numbers still work after flag day. Git commit position numbers will assume chromium/src and refs/heads/master.

crrev.com also supports short and full git hashes. Short hashes are assumed to be on chromium/src (for now), while full git hashes resolve to any repository on chromium.googlesource.com.

crrev also has an API accessible at https://cr-rev.appspot.com/_ah/api/explorer. One of the more useful capabilities of the API is programmatically mapping a svn revision or git commit position to a repository and commit sha, for example: https://cr-rev.appspot.com/_ah/api/crrev/v1/redirect/291010.

Note that some svn CLs are purely administrative and do not have a git counterpart (r2 sets svn revprops, for example). These do not exist on chromium.googlesource.com and will 404 when accessed on crrev.

Please contact me or infr...@chromium.org if you have any questions.

Thanks,
- Mike
Reply all
Reply to author
Forward
0 new messages