[GSOC Update] Week 6
- From
Pranit Bauva <pranit.bauva@gmail.com>
- Date
- Jun 13, 2016, 08:06 UTC
- Message-ID
- <20160613080656.5013-1-pranit.bauva@gmail.com>
- In-Reply-To
- <20160606065301.5228-1-pranit.bauva@gmail.com>
================================= SUMMARY ================================== My public git.git is available here[1]. I regularly keep pushing my work so anyone interested can track me there. Feel free to participate in the discussions going on PRs with my mentors. Your comments are valuable.
=============================== INTRODUCTION ============================== The purpose of this project is to convert the git-bisect utility which partly exists in the form of shell scripts to C code so as to make it more portable. I plan to do this by converting each function to C and then calling it from git-bisect.sh so as to use the existing test suite to test the function which is converted.
Mentors: Christian Couder <chriscool@tuxfamily.org> Lars Schneider <larsxschneider@gmail.com>
================================== Updates ================================= Things which were done in this week:
* bisect_clean_state() function is converted and sent out to the mailing list which received some useful comments from Eric Sunshine and the updated version can be found on bisect-reset branch[3].
* I also converted bisect_reset() function and also introduced a file_size() method which received some useful comments from Eric Sunshine and Torsten Bogershausen. You can find the whole branch here[3].
* I have also converted bisect_write() and will send it to the mailing list soon. The branch can be found here[4].
* I also converted is_expected_rev() and check_expected_revs(). I sent it to the mailing list which collected some useful reviews from Eric Sunshine. I have updated according to the reviews. I need to confirm it once before I send it out on the mailing list. You can find the branch here[3].
* My v2[5] on a cleanup patch to use the function macro GIT_PATH_FUNC is yet queued on the pu branch.
================================= NEXT STEPS ================================ Things which would be done in the coming week:
* check_and_set_terms(): This function uses the two global variables in the script namely TERM_GOOD TERM_BAD. I have decided to pass then as arguments.
* get_terms(): This will also introduce a struct to store global variables namely TERM_GOOD and TERM_BAD.
* bisect_terms().
* bisect_next_check().
[1]: https://github.com/pranitbauva1997/git [3]: https://github.com/pranitbauva1997/git/pull/13 [4]: https://github.com/pranitbauva1997/git/pull/14 [5]: http://thread.gmane.org/gmane.comp.version-control.git/295524
Regards, Pranit Bauva