Closed fernandocastor closed 11 years ago
@gustavopinto @rodrigoalvesvieira can i use the ft-fetch-languages branch to solve this or you already closed this branch?
I think it is still open. Go ahead! :-)
@gustavopinto, thanks and one more thing, you commited to the master, is there a way to get clone your code the branch?
Yes. Just go to the branch you want, and use git merge.
Thanks!
I'm having a real problem with this limit that we have. I have to get the repos, then get the projects, get the owner and finally get the languages to solve this question from the issue. Alone it consumes a lot of my hourly data limit. The solution is ready and working.
Sorry, closed accidentally.
@pork9 are you using authenticated requests?
You either performed some unnecessary, extra requests there or there's a problem with the tool. Because the project metadata (example) provides the user name and so there's absolutely no need to perform the request to a User
resource in order to fetch the project's languages.
@rodrigoalvesvieira ok, i'm not using User
anymore and it's working. I'm going to push soon. @gustavopinto now i'm using it.
Great!
Only problem is i couldn't merge the branch i intended to, is there a problem to push to master?
Is the code tested? If so, then I guess there's no problem. But preferably you'd push to a separate branch. What exactly is the problem?
It's tested. The only real problem is the amount of requests because the amount of projects it's really huge.
Now it's done. @fernandocastor Can you check it? So i can close and start doing something new?
@rodrigoalvesvieira i found problem with your implemantation of fetchProjectLanguages
. It seems that when the api data limit is reached you are not checking if you got the message. So you try to get a value that doesn't exist. Should i fix and push the solution or you want to check it out first?
Go ahead and fix it! :+1:
@gustavopinto can i close this issue?
Go ahead! This was great!
We need to implement and test the features required to use Groundhog to answer the question in the title of the issue. We then have to use it to actually answer the question.