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

Re: Git in Outreachy?

From
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Date
Sep 20, 2020, 16:31 UTC
Message-ID
<a9b7cac1-1993-dbf9-a048-a81c2c39a906@gmail.com>
In-Reply-To
<441bd08b-ca7d-5977-a455-c4c2a4bd4bc9@gmail.com>
On 07-09-2020 00:26, Kaartic Sivaraam wrote:>
Show 12 quoted lines
>> I would appreciate help to find project ideas though. Are there still
>> scripts that are worth converting to C (excluding git-bisect.sh and
>> git-submodule.sh that are still worked on)? 
> 
> I think Dscho's e-mail linked below gives a nice overview of the various
> scripts and their likely status as of Jan2020:
> 
> https://lore.kernel.org/git/nycvar.QRO.7.76.6.2001301154170.46@tvgsbejvaqbjf.bet/
> 
> I'm guessing only the status of submodule has changed as it's being
> worked on now.
> 

After giving it a second thought, I believe I should take back my word about the git-submodule status changing. There still seems to be some work left for it. To be clear,

- there's 'add', whose conversion is currently stalled [1]
- there's 'update', which still has a decent amount of code [2]
  in the shell script.
- we still have to complete the conversion completely converting
  moving the rest of the bits from `git-submodule.sh` to C which is
  mostly just the option parsing. This might be more trickier than
  it sounds as we would've to ensure the we don't accidentally
  change behaviour of the options when moving the option parsing to C.
  There's also an e-mail from Junio which is relevant [3]

I'm not sure if this would be enough for a complete project on it's own. I'm also not sure whether 'add' would get converted in the meantime. In any case, I believe we could add a few other small refactoring projects to make up for the rest of the period. For instance,

- Replace more instances of `the_index` and `the_repository`
  (https://github.com/gitgitgadget/git/issues/379)
- Turn the `fetch_if_missing` global into a field of `struct repository`
  (https://github.com/gitgitgadget/git/issues/251)
- Possibly others from #leftoverbits
Thoughts?

References === [1]: http://public-inbox.org/git/20200824090359.403944-1-shouryashukla.oo@gmail.com/ [2]: https://github.com/git/git/blob/v2.28.0/git-submodule.sh#L554-L713 [3]: https://lore.kernel.org/git/xmqqtuzrrk8r.fsf@gitster.c.googlers.com/

-- 
Sivaraam
Previous: Johannes SchindelinNext: Christian Couder
Message 41 of 44 in “Git in Outreachy?”
  1. Jeff KingAug 28, 2020
  2. Christian CouderAug 31, 2020
  3. Jonathan NiederSep 3, 2020
  4. Philip OakleySep 4, 2020
  5. Johannes SchindelinSep 7, 2020
  6. Philip OakleySep 16, 2020
  7. Johannes SchindelinSep 16, 2020
  8. Philip OakleySep 17, 2020
  9. Taylor BlauSep 9, 2020
  10. Jonathan NiederSep 10, 2020
  11. Taylor BlauSep 10, 2020
  12. Christian CouderSep 16, 2020
  13. Christian CouderSep 16, 2020
  14. Junio C HamanoAug 31, 2020
  15. Emily ShafferAug 31, 2020
  16. Jeff KingSep 1, 2020
  17. Jeff KingSep 3, 2020
  18. Jeff KingSep 15, 2020
  19. Kaartic SivaraamSep 15, 2020
  20. Jeff KingSep 15, 2020
  21. Christian CouderSep 19, 2020
  22. Phillip WoodSep 19, 2020
  23. Christian CouderSep 16, 2020
  24. Johannes SchindelinSep 2, 2020
  25. Christian CouderSep 16, 2020
  26. Phillip WoodSep 16, 2020
  27. Christian CouderSep 17, 2020
  28. Phillip WoodSep 17, 2020
  29. Christian CouderSep 18, 2020
  30. Elijah NewrenSep 17, 2020
  31. Christian CouderSep 18, 2020
  32. Kaartic SivaraamSep 27, 2020
  33. Christian CouderSep 27, 2020
  34. Christian CouderOct 29, 2020
  35. Kaartic SivaraamSep 6, 2020
  36. Johannes SchindelinSep 7, 2020
  37. Christian CouderSep 16, 2020
  38. Johannes SchindelinSep 16, 2020
  39. Christian CouderSep 19, 2020
  40. Johannes SchindelinSep 20, 2020
  41. Kaartic SivaraamSep 20, 2020
  42. Christian CouderSep 21, 2020
  43. Kaartic SivaraamSep 21, 2020
  44. Shourya ShuklaSep 21, 2020

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.