[GSOC Update] Week 2
- From
Pranit Bauva <pranit.bauva@gmail.com>
- Date
- May 30, 2016, 05:37 UTC
- Message-ID
- <20160530053758.28134-1-pranit.bauva@gmail.com>
- In-Reply-To
- <1463947103-28464-1-git-send-email-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 having a segmentation fault which is yet not fixed by me. I will try this for one more day and then send it to the list for RFC.
* I also converted is_expected_rev() and check_expected_revs() which also has segmentation fault.
* I also converted bisect_head() function. I changed the semantics a little bit. Previously the shell function used to echo the string, now it returns the value to the caller.
* I investigated why test no. 43 and 44 are failing with t6030 with `|| exit` in the previous version of the patch but it didn't in the newer one. This is because the location of .git was hardcoded and thus it created problems with bare repositories.
* I also sent a cleanup patch for using the marco GIT_PATH_FUNC to create a function instead of using git_path() because of the benefits described in the commit message of that change.
================================= NEXT STEPS ================================ Things which would be done in the coming week:
* Finish bisect_clean_state() conversion.
* Finish is_expected_rev() and check_expected_revs() conversion.
* Convert the function bisect_write(). I plan to convert this function and add it as a subcommand.
* Convert bisect_reset() and add it as a subcommand.
* Convert get_terms() and add the variables TERM_GOOD and TERM_BAD in a struct in the global state.
Regards, Pranit Bauva