That's why we recommend using something like cgit/gitweb on your main git
server instead. We can then use that to access the files we need directly.
This is all due to the lack of support for accessing individual files
through the Git protocol.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com
On Thu, Apr 3, 2014 at 3:19 AM, Tadeusz Kozak <t...@addlive.com> wrote:
> Answering my own question:
> In order to use Git with Review Board, you’ll need either a local clone on
> the server, or by using raw file URLs to a web front-end to Git (cgit,
> Gitweb, etc.) on the Git server. Git doesn’t have a way of fetching an
> individual file of a given revision from a remote server without having an
> entire clone, so it works differently from other repository types.
> In order to work with Review Board, a local clone needs to be kept in sync
> regularly. It should either have direct access to a central Git server, or
> it needs to be updated on every commit to the central Git server.
> The Path
> be the full path of the .git directory inside this checkout. For example:
> The Mirror path
> contain the repository URL. Find the URL you should use from within a git
> checkout by running the following:
> It's up to the server configuration to poll for changes. Sigh :|
> On Wednesday, April 2, 2014 8:36:53 PM UTC+2, Tadeusz Kozak wrote:
>> Hi All,
>> I am fairly new to reviewboard, so most likely I am missing something.
>> I am using rboard with git and am submitting post-commit reviews. The
>> usual flow here is:
>> 1. Create new branch from master
>> 2. Develop stuff
>> 3. Commit and push to origin as needed
>> 4. Task is ready - post a review request with master as a parent
>> From time to time when I want to submit a post-commit review it fails:
>> [tk:~/Work/adl/sources/saymamaplugin] master_tk+ ± rbt post
>> ERROR:root:Error uploading diff
>> One or more fields had errors (HTTP 400, API Error 105)
>> path: error: unable to find 4ab787809955e0b3e5499883c0d21ab005d4b1e4
>> fatal: git cat-file 4ab787809955e0b3e5499883c0d21ab005d4b1e4: bad file
>> Your review request still exists, but the diff is not attached.
>> After manually fetching all the changes from the origin on the repository
>> used by reviewboard the review request post succeeds:
>> ⌂82% [tk:~/Work/adl/sources/saymamaplugin] master_tk+ 4s 1 ± rbt post
>> Review request #26 posted.
>> I basically just SSH into the machine, cd to the repository configured in
>> review board and call
>> git fetch origin
>> our .revieboardrc is as follows:
>>> REVIEWBOARD_URL = "http://reviews.addlive-vpn.com/"
>>> REPOSITORY = "Streaming-Core"
>>> BRANCH = "master"
>>> TARGET_GROUPS = "core"
>>> GUESS_FIELDS = True
>>> MARKDOWN = True
>> Thanks a lot for any guide.
> 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 reviewboard+unsubscr...@googlegroups.com.
> 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
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.