<div class="gmail_quote">On Tue, Oct 4, 2011 at 11:35 PM, David Narvaez <span dir="ltr"><<a href="mailto:david.narvaez@computer.org">david.narvaez@computer.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Oct 4, 2011 at 7:25 AM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
> Maybe they changed the API?<br>
> I'd be very interested in helping you fix this :)<br>
> Aleix<br>
<br>
</div>It does sound like an API change, but what looks weird to me is that<br>
the API we were using (which I _know_ was working) is not documented<br>
anywhere in the Reviewboard documentation.<br>
<br>
My first idea was to modify the URL and use the Accept header to<br>
request a JSON response. That worked, but the default number of<br>
repositories that are included in the response is 25. You need an<br>
extra request to get the total count first and then include that count<br>
in the second request (both, according to the documentation, should be<br>
GET requests) so that's the workflow I'm planning to implement. If so,<br>
then I wouldn't be using the HttpPostCall but doing everything inside<br>
the ProjectRequest. Makes any sense?<br></blockquote><div>Well, if they require it, it makes full sense.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Anyhow, I found this bug<br>
<br>
<a href="https://bugs.kde.org/show_bug.cgi?id=270677" target="_blank">https://bugs.kde.org/show_bug.cgi?id=270677</a><br>
<br>
which is technically not the same issue as we have now (because I<br>
remember it didn't work before, when I was also using KDevelop 4.2, I<br>
remember it working in KDevelop 4.3 with latest KDevPlatform and now<br>
it doesn't work again) but I think we could use that space to discuss<br>
further if needed.<br></blockquote><div><br></div><div>It's ok, you can also open a new bug, it's cheap!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
David E. Narváez<br>
<div><div></div><div class="h5"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br><div><br></div><div>Aleix</div>