Questions for creating a new Review request using the WEB API

2010-07-15 Thread hero alfa
Hi Folks I have several questions about the Web api which is used for create a new review request: 1. As described in http://www.reviewboard.org/docs/manual/dev/webapi/reference/apicalls/new-review-request/, if this API run successfully, then what is the return type? I see it's a so called "Revi

Reset cookie...

2010-07-15 Thread Hayes, Kyle
Is there a way to reset the login cookie that is used with post-review? Kyle Hayes Sr. Web Developer | Disney Family Disney Interactive Media Group 818-623-3847 AIM/YIM/gTalk: mrkylehayes "It's kind of fun to do the impossible." -Walt Disney -- Want to help the Review Board project? Donate toda

Re: Reset cookie...

2010-07-15 Thread Hayes, Kyle
Nevermind, I forgot it was just a file in the directory. Kyle Hayes Sr. Web Developer | Disney Family Disney Interactive Media Group 818-623-3847 AIM/YIM/gTalk: mrkylehayes "It's kind of fun to do the impossible." -Walt Disney On Jul 15, 2010, at 10:51 AM, Hayes, Kyle wrote: Is there a way to r

Re: Is git-svn supposed to work with --parent?

2010-07-15 Thread Jared Roberts
Hmm, I can't tell if the groups web interface ate my message or if I just need mod approval before it shows up so I'll try again. Sorry if this shows up twice. change-3 and change-2 *are* branches, just with a single commit each. Sorry I didn't make that clear (note the presence of refs/heads/ ch

Re: Is git-svn supposed to work with --parent?

2010-07-15 Thread Jared Roberts
Sorry I wasn't clear: change-3 and change-2 *are* branches, with a single commit each (hence the refs/heads/change-3 in the log). It would be ideal if they didn't have to be, but it's an easy workaround so I'll take whatever I can get. -- Want to help the Review Board project? Donate today at h

Re: Questions for creating a new Review request using the WEB API

2010-07-15 Thread Christian Hammond
Hi, Yes, that'll return a JSON object. On success, 'stat' will be 'ok' and it will contain a 'review_request' key. On failure, 'stat' will be 'fail' and information will be in 'err'. If the request was successful, and was made from the same user you're using for the web UI, you should see it in y

Taking a nap when uploading a file

2010-07-15 Thread Aleix Pol
Hi, I am Aleix Pol, from the KDE project. I'm working on a little plugin for KDevelop that will enable the user to send patches directly a reviewboard service. I've been testing the API using curl and there I can create a new review but when I try to add a patch I get an HTML error saying that "re

Re: Taking a nap when uploading a file

2010-07-15 Thread Christian Hammond
Hi Aleix, Off-hand, I don't know why it'd be problematic, but I'd recommend setting up a little development server on your box, set DEBUG = True in your settings_local.py, and testing it there. We should be able to better see what the error is that way, along with lots of debug information. We tr

Re: Taking a nap when uploading a file

2010-07-15 Thread Aleix Pol
We have 1.5 beta 2 installed there. I guess it should be fine to use 1.5 API. Where can I find the documentation for the new API? On Thu, Jul 15, 2010 at 11:13 PM, Christian Hammond wrote: > Hi Aleix, > > Off-hand, I don't know why it'd be problematic, but I'd recommend setting > up a little dev

Re: Taking a nap when uploading a file

2010-07-15 Thread Christian Hammond
You can't yet. It's one of the things I'm working on before 1.5. What you can do though is browse /api/ (I recommend the JSONView FireFox extension for this), and look at reviewboard/webapi/resources.py. The new API is pretty browseable. Not everything, but it's getting there. You can also look a

Re: Taking a nap when uploading a file

2010-07-15 Thread Aleix Pol
Well I could make it work. Just for the record, the correct line was this: curl http://reviewboard.kde.org/api/json/reviewrequests/4647/diff/new/ -u apol -F "basedir=/trunk/KDE/kdeedu/kalgebra" -F "pa...@cosa" | json_reformat On Thu, Jul 15, 2010 at 11:37 PM, Christian Hammond wrote: > You can't