Re: Django auth backend vs. ReviewBoard custom auth

2010-02-11 Thread Stephen Gallagher
On 02/10/2010 07:52 PM, Christian Hammond wrote:
> You should be able to append to your middleware declaration in
> conf/settings_local.py. If it must be in a specific location in the
> list, though, you might have to do a little extra.
>
> Christian
>   

What "little extra" do you mean? I tried adding it to the settings.py,
but it appears to be ignored.

-- 
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


Re: ReviewBoard Error while posting review for GIT

2010-02-11 Thread Kunjal
So, you are saying that Path variable in Admin GUI should be empty and
Mirror Path: should list the git repository?

Path: Empty string
Mirror Path: git://mobcom-git.sj.broadcom.com/git_repos/repo_tools/scripts.git

I also configure cgit as you told but I do not know how to make my
local workspace available in cgit and also what path I put in Path
variable in Admin GUI for cgit.

Right now, posting review only works if there is below config:

Path: /projects/mobcom_andrwks_ext2/users/kaparikh/scripts/.git [ This
is my local workspace and every developer would have its own ]
Mirror Path: git://mobcom-git.sj.broadcom.com/git_repos/repo_tools/scripts.git

I think I am getting there...

On Feb 10, 5:18 pm, Christian Hammond  wrote:
> Awesome :)
>
> You can put the git:// URL in Mirror Path and Review Board will match
> it properly. It just won't use it for accessing the repository.
>
> Christian
>
>
>
>
>
> On Wednesday, February 10, 2010, Kunjal  wrote:
> > THANKS MAN !
>
> > Finally I got it working.
>
> > But my Path in RB server looks like: /projects/mobcom_andrwks_ext2/
> > users/kaparikh/scripts/.git which is my workspace.
>
> > Every developer has different workspace and multiple repo to work
> > with.
>
> > I did not get the part where you mentioned about raw URL stuff.
>
> > Thanks
> > Kunjal
>
> > On Feb 10, 10:28 am, Christian Hammond  wrote:
> >> Hi,
>
> >> Sorry, I'm out of town on vacation and emailing from my phone, do my
> >> answers will be brief.
>
> >> Subversion, Perforce, etc. give you the ability to talk to a remote
> >> server and request a single file without having a checkout of the
> >> whole repository. Git does not. With Git, you must have a full clone,
> >> on the local computer (in this case, the Review Board server), in
> >> order to access a particular file. This also means keeping it fully in
> >> sync with origin always.
>
> >> Because of this limitation in Git, you either need to set up this
> >> clone and point Path to that or you needto use the Raw URL. This is a
> >> mask (similar to the bug URL) that points to a path for a raw file on
> >> cgit/gitweb/etc. This is the easiest, most preferred way. See the help
> >> text under that field in the Repository configuration.
>
> >> Christian
>
> >> On Wednesday, February 10, 2010, Kunjal  wrote:
> >> > Chris,
>
> >> > Are you saying repository path field in the RB Admin GUI?
> >> > I set it as 
> >> > git://mobcom-git.sj.broadcom.com/git_repos/repo_mydroid/vendor.git
> >> > which is the server path where our repository resides.
>
> >> > What do you mean when you say GIT works only on local paths? How do I
> >> > know developer's local workspace path?
>
> >> > Pl. help. this issue is taking away my sleep !!
>
> >> > Kunjal
>
> >> > On Feb 5, 2:48 pm, Christian Hammond  wrote:
> >> >> I still need to see the repository Path field to be able to say what's 
> >> >> going
> >> >> on. Is it a remote path, or a local path on the filesystem? Git can only
> >> >> operate on local paths.
>
> >> >> Christian
>
> >> >> --
> >> >> Christian Hammond - chip...@chipx86.com
> >> >> Review Board -http://www.reviewboard.org
> >> >> VMware, Inc. -http://www.vmware.com
>
> >> >> On Fri, Feb 5, 2010 at 11:05 AM, Kunjal  wrote:
> >> >> > It's failing here in git.py in scmtools folder.
>
> >> >> > class GitClient:
> >> >> >    def __init__(self, path):
> >> >> >        if not is_exe_in_path('git'):
> >> >> >            # This is technically not the right kind of error, but
> >> >> > it's the
> >> >> >            # pattern we use with all the other tools.
> >> >> >            raise ImportError
>
> >> >> >        self.path = path
> >> >> >        p = subprocess.Popen(
> >> >> >            ['git', '--git-dir=%s' % self.path, 'config',
> >> >> >                 'core.repositoryformatversion'],
> >> >> >            stderr=subprocess.PIPE,
> >> >> >            stdout=subprocess.PIPE,
> >> >> >            close_fds=(os.name != 'nt')
> >> >> >        )
> >> >> >        contents = p.stdout.read()
> >> >> >        errmsg = p.stderr.read()
> >> >> >        failure = p.wait()
>
> >> >> >        if failure:
> >> >> >            raise ImportError
>
> >> >> > On Feb 4, 1:31 pm, Kunjal  wrote:
> >> >> > > When I look at the error.log for Apache server, It give me this:
> >> >> > > Am I not Importing some modules?
>
> >> >> > > Traceback (most recent call last):
> >> >> > >   File "/projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
> >> >> > > packages/Django-1.1.1-py2.5.egg/django/core/handlers/base.py", line
> >> >> > > 92, in get_response
> >> >> > >     response = callback(request, *callback_args, **callback_kwargs)
> >> >> > >   File "/projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
> >> >> > > packages/Django-1.1.1-py2.5.egg/django/views/decorators/cache.py",
> >> >> > > line 44, in _wrapped_view_func
> >> >> > >     response = view_func(request, *args, **kwargs)
> >> >> > >   File "/projects/mob_tools/xampp/1.6.4-brcm-v2/lib/python2.5/site-
>

Re: Reviewboard and Konqueror issues

2010-02-11 Thread pfee
Konqueror still uses KHTML (from which Webkit was forked).  However
there is ongoing talk of switching to WebKit and there are some
examples that illustrate the use of WebKit in KDE already, e.g. rekonq

So don't expect Konqueror to behave like Safari or Google Chrome just
yet.

On Feb 11, 1:26 am, Christian Hammond  wrote:
> Thanks for these data points.
>
> Dan, if you could find out the versions of Konqueror and Review Board
> used, it would help. I spent some time a while back trying to make it
> work with Konqueror, but I will say that we don't officially support
> it. We would prefer to work without loss of functionality, however,
> even if it's not perfect.
>
> I thought Konqueror used WebKit these days, in which case we should
> just work fine, as we support WebKit for Safari and Google Chrome.
>
> Christian
>
>
>
> On Wednesday, February 10, 2010, pfee  wrote:
> > Hi,
>
> > I remember a while back (may be a year ago) having to use Firefox
> > because Konqueror didn't work correctly.  However a few KDE releases
> > later I tried again and was pleased to see that Konqueror had started
> > working as required.
>
> > Unfortunately I didn't take note of which particular version of
> > Konqueror made the difference, but I can say I'm using Konqueror 4.3.5
> > on Fedora 12 and it works for me.
>
> > Thanks,
> > Paul
>
> > On Feb 10, 7:10 pm, David Trowbridge  wrote:
> >> It sounds like various AJAX calls aren't working. A JavaScript
> >> debugger (like firebug) would hel figure out what's wrong but I don't
> >> know if konquerer has such a thing.
>
> >> -David
>
> >> On Feb 9, 2010, at 5:07 AM, "daniel.j.la...@googlemail.com" 
> >> 
> >>  > wrote:
> >> > All,
>
> >> > I have encouraged people within my software group to start using
> >> > review-board and so far the response has been very positive.  However
> >> > as with any large software and firmware team people have their
> >> > favourite tools.
> >> > One of these tools happens to be KDE Konqueror in some cases.  The
> >> > problem is that when users create a review request it all starts up ok
> >> > but the following occurs:
> >> > 1. Clicking on all text entry areas (Description / Testing Done /
> >> > Summary) etc does not result in an OK Cancel button appearing.
> >> > 2. Clicking on view diff results in the first file in the diff request
> >> > showing - however the subsequent parts of the diff just show the
> >> > loading icon (swirling dots) and nothing happens
>
> >> > I would be interested in hearing peoples thoughts on how I can debug
> >> > this and what further information you would like before I try to raise
> >> > a bug report - or maybe other people have some helpful options I can
> >> > enable on Konqueror to get this to work.
>
> >> > Cheers
> >> > Dan
>
> >> > --
> >> > Want to help the Review Board project? Donate today 
> >> > athttp://www.reviewboard.org/donate/
> >> > Happy user? Let us know athttp://www.reviewboard.org/users/
> >> > -~--~~~~--~~--~--~---
> >> > To unsubscribe from this group, send email to 
> >> > reviewboard+unsubscr...@googlegroups.com
> >> > For more options, visit this group 
> >> > athttp://groups.google.com/group/reviewboard?hl=en
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to 
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en
>
> --
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com

-- 
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