[GSoC] My Git Dev Blog - Week 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's the link to the blog: <https://atharvaraykar.me/gitnotes/week13>

Since it's a short one, I'll share the text here as well:


1 Week 13: Preparing for the wrap up
====================================


2 Project Progress
==================

This week's update will be relatively short, partly because I will be out of
town and juggling multiple things this week, and also because I am saving up for
the larger final report ;-)

This week I re-rolled my [run-update-procedure] patch. I was tempted to also send
out my series that [converts the rest of submodule update] to C, but it is quite a
big series, and it doesn't help that we are already at the release week for Git.
I felt I should be a little more patient, and wait for `run-update-procedure` to
get picked up first rather than send a storm of all these related series at
once, at a time of release rush.

In other news, my attempt to making `submodule` a fully C builtin is shaping up
well. Here's a brief of how the transition will work:

- We have a switch called `submodule.useBuiltin` (as well as
  `GIT_TEST_SUBMODULE_USE_BUILTIN` as an environment variable for the test
  suite) which defaults to false. When set to true, we use the builtins that are
  purely in C.

- If the switch is set to true, but the user requests a command that has not been
  converted yet, it falls back to using the old shell starting point. This
  allows us to test the newly ported builtins with the switch set to true, while
  still passing the test suite as a whole.

I expect this transition to be rather brief, because the commands are already
implemented, all we need to do is manage the flag parsing. As of now [I have
already ported the `submodule status` command] to a pure C builtin. I am open to
taking comments on this approach, feel free to leave them on the GitHub web
interface, or on the list.

------------------------------------------------------------------------

Have a great weekend!

---
Atharva Raykar
ಅಥರ್ವ ರಾಯ್ಕರ್
अथर्व रायकर


[run-update-procedure] <https://lore.kernel.org/git/20210813075653.56817-1-raykar.ath@xxxxxxxxx/>

[converts the rest of submodule update] <https://github.com/tfidfwastaken/git/tree/submodule-update-list-1>

[I have
already ported the `submodule status` command] <https://github.com/tfidfwastaken/git/commits/submodule-make-builtin-2>




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux