On Sun, 12 May 2013 19:21:11 -0700, Silurian Ireviken <silurianirevi...@gmail.com> wrote: > I've gotten reviewboard working with my git repo when I keep around a local > copy of the checkout, and update it frequently. > > I'm trying to move to using a url to cgit > > My cgit setup is pretty unfriendly. > > any hints on how to make this work or debug this? > > So here is the url I can use to see a file in my repo in cgi, in 'plain' > mode > > http://search.internet.com/commit/cf8b55f2ef64daf5d148f36ce01a70715c512f68/commit/code_management_tools/add_file_tag.pl?id=7bded99c9be22dccb9a5609f5f975f2faa7753d7 > > so the file is "code_management_tools/add_file_tag.pl" and the version > is 7bded99c9be22dccb9a5609f5f975f2faa7753d7 > > In reviewboard admin I have set: > > ( this is the url I use to clone from command line ) > Path: ssh:// > operati...@git.internet.com/internet.com/data/git/push/com.internet.push.perl.git > > Raw file URL mask: > http://search.internet.com/commit/cf8b55f2ef64daf5d148f36ce01a70715c512f68/plain/ > <filename>?id=<revision> >
This is most certainly the wrong URL. Your email doesn't make it even clear that you are using cgit which is this: http://hjemli.net/git/cgit/ Even if you have a similar system which is not cgit, you might still be able to get this to work. Here is what we use successfully: http://cgit-host/cgit/some_project/blob/<filename>?id=<revision> Where "some_project" is obviously your project's name. The Reviewboard docs recommend using "id2". I don't know why it recommends this; I looked into the cgit source code and "id2" is just wrong for this use case. Be aware that Reviewboard will continue to insist that the ssh path to the repository is valid even thought RB should not/will not need that URL. To work around this, you can change the raw file URL mask in the database directly or point the ssh URL to a junk repository. Cheers, M -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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/groups/opt_out.