Re: Repository path issue

2009-07-15 Thread Florent Thoumie

On Jul 15, 5:07 pm, Florent Thoumie  wrote:
> Alright, I'm trying to play with post-review and reviewboard but I'm
> getting an error 206 because, I suppose, the svn repository is
> configured with http protocol in reviewboard and my working copy is svn
> +ssh.
>
> Debug info follows:
>
> : f...@mayday:/home/flz/work/freebsd/svn/head/pkg_install; post-review
> --server=http://reviews.xxx.org-
> d>>> svn info
> >>> repository info: Path: svn+ssh://svn.freebsd.org/base, Base path: 
> >>> /head/usr.sbin/pkg_install, Supports changesets: False
> >>> svn diff --diff-cmd=diff
> >>> svn info README
> >>> svn info README
> >>> svn info README
> >>> svn info README
> >>> Looking for 'reviews.xxx.org /' cookie in 
> >>> /home/flz/.post-review-cookies.txt
> >>> Loaded valid cookie -- no login required
> >>> Attempting to create review request for None
> >>> HTTP GETting /api/json/repositories/
> >>> HTTP GETting /api/json/repositories/1/info/
> >>> repository info: Path:http://svn.freebsd.org/base, Base path: 
> >>> /head/usr.sbin/pkg_install, Supports changesets: False
> >>> HTTP POSTing 
> >>> tohttp://reviews.xxx.org/api/json/reviewrequests/new/:{'repository_path': 
> >>> 'http://svn.freebsd.org/base'}
>
> Error creating review request: The repository path specified is not in
> the list of known repositories (code 206)
>
> Anything I might be doing wrong?

The protocol wasn't the issue. I assumed the trailing slash in the
repository path wouldn't be an issue, and of course I was wrong.
Working now!

Thanks for this great piece of software!

Florent

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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: Repository path issue

2009-07-15 Thread Christian Hammond
Use the svn+ssh version as the Mirror URL in the repository settings, and it
should work.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Wed, Jul 15, 2009 at 9:07 AM, Florent Thoumie
wrote:

>
> Alright, I'm trying to play with post-review and reviewboard but I'm
> getting an error 206 because, I suppose, the svn repository is
> configured with http protocol in reviewboard and my working copy is svn
> +ssh.
>
> Debug info follows:
>
> : f...@mayday:/home/flz/work/freebsd/svn/head/pkg_install; post-review
> --server=http://reviews.xxx.org -
> d
> >>> svn info
> >>> repository info: Path: svn+ssh://svn.freebsd.org/base, Base path:
> /head/usr.sbin/pkg_install, Supports changesets: False
> >>> svn diff --diff-cmd=diff
> >>> svn info README
> >>> svn info README
> >>> svn info README
> >>> svn info README
> >>> Looking for 'reviews.xxx.org /' cookie in
> /home/flz/.post-review-cookies.txt
> >>> Loaded valid cookie -- no login required
> >>> Attempting to create review request for None
> >>> HTTP GETting /api/json/repositories/
> >>> HTTP GETting /api/json/repositories/1/info/
> >>> repository info: Path: http://svn.freebsd.org/base, Base path:
> /head/usr.sbin/pkg_install, Supports changesets: False
> >>> HTTP POSTing to http://reviews.xxx.org/api/json/reviewrequests/new/:
> {'repository_path': 'http://svn.freebsd.org/base'}
> Error creating review request: The repository path specified is not in
> the list of known repositories (code 206)
>
> Anything I might be doing wrong?
>
> Cheers,
>
> Florent
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Repository path issue

2009-07-15 Thread Florent Thoumie

Alright, I'm trying to play with post-review and reviewboard but I'm
getting an error 206 because, I suppose, the svn repository is
configured with http protocol in reviewboard and my working copy is svn
+ssh.

Debug info follows:

: f...@mayday:/home/flz/work/freebsd/svn/head/pkg_install; post-review
--server=http://reviews.xxx.org -
d
>>> svn info
>>> repository info: Path: svn+ssh://svn.freebsd.org/base, Base path: 
>>> /head/usr.sbin/pkg_install, Supports changesets: False
>>> svn diff --diff-cmd=diff
>>> svn info README
>>> svn info README
>>> svn info README
>>> svn info README
>>> Looking for 'reviews.xxx.org /' cookie in /home/flz/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request for None
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/1/info/
>>> repository info: Path: http://svn.freebsd.org/base, Base path: 
>>> /head/usr.sbin/pkg_install, Supports changesets: False
>>> HTTP POSTing to http://reviews.xxx.org/api/json/reviewrequests/new/: 
>>> {'repository_path': 'http://svn.freebsd.org/base'}
Error creating review request: The repository path specified is not in
the list of known repositories (code 206)

Anything I might be doing wrong?

Cheers,

Florent

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---