git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Prathamesh Chavan <pc44800@gmail.com>
To: git <git@vger.kernel.org>
Cc: Stefan Beller <sbeller@google.com>,
	Christian Couder <christian.couder@gmail.com>
Subject: [GSoC] Project Selected: Incremental rewrite of git-submodules
Date: Mon, 8 May 2017 01:26:56 +0530	[thread overview]
Message-ID: <CAME+mvXtA6iZNfErTX5tYB-o-5xa1yesAG5h=iP_Z2_zL_kOnQ@mail.gmail.com> (raw)

Hey everyone,

I am Prathamesh Chavan, an undergraduate student from the department
of Computer Science and Engineering, at Indian Institue of Technology,
Kharagpur. I applied for Google Summer of Code 2017 and my project
"Incremental rewrite of git-submodules" has been selected.
This project will be done under the guidance of the mentors:
Stefan Beller and Christian Couder.

Brief introduction of the 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]

Before I discuss my future plan, first I would like to thank everyone
who was involved in helping me apply to GSoC and reviewing my patches.
I would especially like to thank Stefan Beller, Christian Couder and
Junio C Hamano for reviewing my patches and helping me get my first
patch(microproject) merged.

Current status of my patches:

1. t2027: avoid using pipes:
This patch has been merged to the master branch and also has
been included in the Git v2.13.0

2. Disallow git commands from within unpopulated submodules:
This patch was reviewed by Stefan Bellar and since to disallow
the git commands in unpopulated submodules required git commands
to identify whether the user has entered the command in
an unpopulated or uninitialized submodule individually at
low level than catching them for a complete group of
builtin commands. I found the review useful and
understood what needs to be done. Also, I wish to work on
it, but currently I would like to work on my project first.
I have included this issue in my wishlist and will
work on this after completing my project.

3. submodule: port subcommand foreach from shell to C
I have started implementing the suggestion in the previous
reviews and currently I'm adding more test-cases which my
patch still fails. Also, still this patch is failing tests
6, 7, 8 and 9 from t7407-submodule-foreach and test 64 from
t3600-rm.
Link to the patch: [2]

Plan for this week:

According to my proposal, time till 15th May is allocated as
community bonding period and hence I have
resumed taking a brief overview of the files:
1. strbuf.h
2. Various API files from Documentation/technical
since some functions from these may be used in every future porting.

I'm also aiming to read carefully:
1. submodule.h and submodule.c
2. git-submodule.sh
3. builtin/submodule--helper.c
since in every submodule subcommand's porting I'll be using the
functions from these files and it will also help me avoid code
duplication in future.

Along with this, I'm also working on porting of the subcommand
foreach and wish to complete it before the end of the community
bonding period.

I'll officially start coding from 16th May, as per my proposed
schedule and will be pushing my work on GitHub [3] regularly so
that the mentors can monitor the progress of the project. Also, I'll
be posting a weekly update on changes made throughout the week
and my plan for the next week.

Thanks,
Prathamesh Chavan

[1]: https://public-inbox.org/git/CAME+mvXBuLbbRJu1DAA8o-u6DeZATKypH=W=hPEks3KL5WMX+Q@mail.gmail.com/
[2]: https://public-inbox.org/git/20170422195804.18477-1-pc44800@gmail.com/T/#u
[3]: https://github.com/pratham-pc/git/

             reply	other threads:[~2017-05-07 22:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-07 19:56 Prathamesh Chavan [this message]
2017-05-08 11:16 ` [GSoC] Project Selected: Incremental rewrite of git-submodules Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAME+mvXtA6iZNfErTX5tYB-o-5xa1yesAG5h=iP_Z2_zL_kOnQ@mail.gmail.com' \
    --to=pc44800@gmail.com \
    --cc=christian.couder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=sbeller@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).