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

[GSoC] Update: Week 5

From
Prathamesh Chavan <pc44800@gmail.com>
Date
Jun 19, 2017, 21:41 UTC
Message-ID
<CAME+mvUQJFneV7b1G7zmAidP-5L=nimvY43V0ug-Gtesr83tzg@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 were discussed with the mentors
   and after that, are being posted with this patch.
2. deinit: The patch is finally debugged, and is ready to be
   discussed. It is also attached with this update.
3. summary: While porting the subcommand, I underwent certain
   issues. After getting them clarified from my mentors, I
   have resumed working on it. I'm aware of the time I have
   taken for porting this subcommand is more than the previous
   ones. Hence will try my best to finish this in this week.
4. foreach: As stated in the previous update, the subcommand was
   ported without resolving the bug, and simply translating the
   present code, and adding a NEEDSWORK tag to the comment for
   mentioning the reported bug as well.
   But as communicating between child_process is still an issue
   and so there was no simple was to current carry out the
   porting. And hence, a hack was used instead. But after
   discussing it, instead using the repository-object patch
   series will help to resolve these issues in this situation.
PLAN FOR WEEK-6 (20 June 2017 to 26 June 2017):
1. summary: Mostly I'll be working on this and post the patch
   for discussion as soon as possible.
2. foreach: As it was decided that unblock the conversion of
   this submodule subcommand, the original cmd_foreach was
   ported without including the BUG-FIX patch here.
   Hence, for this week I will try to utilize the
   'repository-object' series by Brandon Williams.
3. deinit: I will be working on improvising this patch as it was
   recently debugged and posted for discussion.
[1]: https://docs.google.com/document/d/1krxVLooWl--75Pot3dazhfygR3wCUUWZWzTXtK1L-xU/

Thanks, Prathamesh Chavan

Next: Prathamesh Chavan
Message 1 of 16 in “[GSoC] Update: Week 5”
  1. Prathamesh ChavanJun 19, 2017
  2. [GSoC][PATCH 1/6] dir: create function count_slashesPrathamesh Chavan, Jun 19, 2017
  3. [GSoC][PATCH 2/6] submodule--helper: introduce get_submodule_displaypath and for_each_submodule_listPrathamesh Chavan, Jun 19, 2017
  4. Brandon WilliamsJun 20, 2017
  5. Christian CouderJun 22, 2017
  6. [GSoC][PATCH 3/6] submodule: port set_name_rev from shell to CPrathamesh Chavan, Jun 19, 2017
  7. [GSoC][PATCH 6/6] submodule: port submodule subcommand 'deinit' from shell to CPrathamesh Chavan, Jun 19, 2017
  8. [GSoC][PATCH 4/6] submodule: port submodule subcommand statusPrathamesh Chavan, Jun 19, 2017
  9. Brandon WilliamsJun 20, 2017
  10. [GSoC][PATCH 5/6] submodule: port submodule subcommand sync from shell to CPrathamesh Chavan, Jun 19, 2017
  11. Stefan BellerJun 20, 2017
  12. Christian CouderJun 22, 2017
  13. Stefan BellerJun 20, 2017
  14. Andrew ArdillJun 20, 2017
  15. Brandon WilliamsJun 20, 2017
  16. Prathamesh ChavanJun 26, 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.