Hi Daniel, Git has no ability to fetch individual file/revisions from a remote repository, so it’s not possible to just point to one. Instead, we have to either use a web front-end (like cgit, gitweb, or anything that provides an accessible URL fetching the raw file contents for a given path/SHA1), or a service’s API.
It looks like they may have such an API, but their docs on it are pretty bad. From looking through them, it doesn’t immediately look like it provides the (very basic) functionality we would need. For instance, I don’t see anything for getting the content of a file. However, Gerrit does have an API, so it’s possible that support could be written to piggy-back on that and get the data we need. Unfortunately, it’s not flexible enough to be useable as the raw file URL, so explicit support in Review Board would need to be written. That all being said, short of doing a paid development project, or someone volunteering a patch I won’t be able to get to this any time soon… Best bet right now is to see if TeamForge has any accessible URL for viewing the raw contents that takes a full SHA1 and a filename in the URL, and doesn’t require authentication to access it. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On August 12, 2014 at 5:51:22 AM, Daniel Laird ([email protected]) wrote: All, My company have a TeamForge service running and are using GIT as the default SCM. I have a local Reviewboard server and would like to point it at the GIT repo - instead of using the default code review tool of gerrit I am using Reviewboard 1.7.25 currently The TeamForge project says that the clone URL is: git clone ssh://[email protected]:PORT/dashboard I have tried to setup a repo using my MY_USERNAME/PASSWORD, I have alos tried without. But I am not having much luck. Has anyone done this, or got it working or any ideas how I could get this working? Many thanks Dan -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
