Saturday, May 4, 2013

Ready to get all data from Git.

Click on the image to enlarge.

Second source of information is done. I've successfully managed to get all needed data from a git repo. Although it requires having a local mirror on the server but I couldn't find another nice way to get all information from git repos. In the prototype, you can add new projects and try to see the new stats of Git but notice that I'm using heroku's free plan which doesn't allow me to do background jobs and have a running server at the same time so I chose to make it happen on project creation or update, if there is a change in the repos field. However the code in github repo is doing the clone in the background. Although I still need to improve the process especially when editing an existing repo but I think I've reached enough to get all information needed from Git.
Note: I know the update functions here can't be the ones used in the final project. I'm planning to take into consideration having my update functions incremental. However, at this time, I'm just trying to get rid of the problem of fetching data from its sources.
Time to go to mailman ;) .

No comments:

Post a Comment