git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[GSoC] Update: Week 7

From
Prathamesh Chavan <pc44800@gmail.com>
Date
Jul 3, 2017, 20:27 UTC
Message-ID
<CAME+mvVRSovmXLDUzz8dNiruvLrXFv3iUifqXDm+HwQDu1mJpQ@mail.gmail.com>
SUMMARY OF MY PROJECT:

Git submodule subcommands are currently implemented by using shell script 'git-submodule.sh'. There are several reasons why we'll prefer not to use the shell script. My project intends to convert the subcommands into C code, thus making them builtins. This will increase Git's portability and hence the efficiency of working with the git-submodule commands. Link to the complete proposal: [1]

Mentors: Stefan Beller <sbeller@google.com> Christian Couder <christian.couder@gmail.com>

UPDATES:
Following are the updates about my ongoing project:
1. sync and status: The patches are updates after the last
   discussion, and will be posted with this update, along
   with the patches of the function get_submodule_displaypath()
   and for_each_submodule_list().
2. deinit: The patch was discussed in the last update, and
   I still have to make the required changes to this patch.
3. summary: I'm still working on debugging this patch as
   the are still some part where the patch isn't working as
   expected.
4. foreach: Most of the time was spent in reading the repo-object
   patch series. Also, currently I'm still confused about the
   approach I have to take for carrying this out.
PLAN FOR WEEK-8 (4 July 2017 to 10 July 2017):

The main focus for this week will be to get the reviewed code merged by sending new version after their review. Hence, I've attached the patches which were recently review, after adding the suggested changes, with this update. Other than that, there is still lots of work related to porting left as follows:

1. foreach: I'll try to come up with an approach for the present
   problem in the foreach patch, and get this discussed with
   mentors as well as with Brandon Williams so that I can
   get this subcommand ported.
2. summary: Currently, I'm still on debugging the patch. There are
   parts of the patch which aren't running as expected and hence
   it is taking more time to figure it out.
3. deinit: The patch was reviewed in the last update and I'm yet to
   work on the improving the patches as suggested.

Apart from this, there still lie two submodule subcommands: 'add' and 'update' unported. I'll try to completed as much as work related to porting but will also, focus on improving the code completed so that it becomes good for merging.

[1]: https://docs.google.com/document/d/1krxVLooWl--75Pot3dazhfygR3wCUUWZWzTXtK1L-xU/

Thanks, Prathamesh Chavan

Next: Prathamesh Chavan
Message 1 of 6 in “[GSoC] Update: Week 7”
  1. Prathamesh ChavanJul 3, 2017
  2. [GSoC][PATCH 1/5 v4] submodule--helper: introduce get_submodule_displaypath()Prathamesh Chavan, Jul 3, 2017
  3. [GSoC][PATCH 2/5 v4] submodule--helper: introduce for_each_submodule_list()Prathamesh Chavan, Jul 3, 2017
  4. [GSoC][PATCH 3/5 v4] submodule: port set_name_rev() from shell to CPrathamesh Chavan, Jul 3, 2017
  5. [GSoC][PATCH 4/5 v4] submodule: port submodule subcommand 'status' from shell to CPrathamesh Chavan, Jul 3, 2017
  6. [GSoC][PATCH 5/5 v4] submodule: port submodule subcommand 'sync' from shell to CPrathamesh Chavan, Jul 3, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.