{"thread":{"id":"36191","subject":"[GSoC 2014] git config API improvements","startedAt":"2014-03-16T22:27:58Z","lastAt":"2014-03-16T22:27:58Z","messageCount":1,"participants":["Dragos Foianu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"236844","messageId":"1395008878-18677-1-git-send-email-dragos.foianu@gmail.com","threadId":"36191","inReplyTo":null,"subject":"[GSoC 2014] git config API improvements","fromName":"Dragos Foianu","fromEmail":"dragos.foianu@gmail.com","sentAt":"2014-03-16T22:27:58Z","receivedAt":"2014-03-16T22:27:58Z","isPatch":false,"sender":{"key":"dragos.foianu@gmail.com","avatar":null},"body":"Hello,\n\nMy name is Dragos Foianu and I am an undergraduate student at University Politehnica of Bucharest in Romania. This is my final year and I'm planning on doing something more exciting than the simple \nassignments I get from the university.\n\nI have been working with git for quite some time now and I'm currently using it for my diploma project. It was annoying at first but now I love it and it has helped me many times in the past. I wanted to \ncontribute to the project and I feel that GSoC 2014 is the perfect opportunity for this.\n\nI am primarily interested in the \"git config API improvements\" project. I have glanced over the code in order to get an idea of how git-config currently works. The project idea page gives a very good \ndescription of what is desired. Caching and retrieving values by name sounds to me like a hint to use a hashtable-like data structure. Conveniently, there is already a hashmap implementation in git and \neven more conveniently, there is a cache implementation that uses that data structure. So that part is fairly straightforward.\n\nI have a question, however: how would I go about detecting when a cache invalidation is necessary? Considering I have read a configuration file and cached the configuration in memory, what can trigger \none of the existing cache entries to be invalidated?\n\nThat is all I have to ask for now. I will look over the code during the next few days to get the bigger picture and submit my application. At [1] you can find my microproject patch. I am eagerly awaiting \nfor any questions you might have.\n\nAll the best,\nDragos\n\n[1] http://thread.gmane.org/gmane.comp.version-control.git/244210\n"}]}