git@vger.kernel.org mailing list mirror (one of many)
 help / 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] Update: Week 4
Date: Tue, 13 Jun 2017 03:40:09 +0530
Message-ID: <CAME+mvUrzVxpRdPDvA1ZyatNm2R27QGJVjSB3=KX85CEedMaRQ@mail.gmail.com> (raw)

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 improvisions for the ported functions were
   implemented. I'm planning on floating a series patches,
   containing all the ported functions put together, but
   recently encountered some issue with the get_submodule_displaypath
   function, I haven't yet posted an updated version of the above
   ported function.The issues are now resolved. Hence, soon I plan
   on posting their updated versions.

2. deinit: As planned for the week, this submodule subcommand is
   ported from shell to C. But still, there are some tests, the
   ported functions are failing. Along with the updated versions
   of 'status' and 'sync', I'll also be posting a WIP patch
   about this subcommand ported.

3. summary: Porting of this subcommand is still underway. I choose
   to do the porting of this subcommand after deinit as it was
   smaller and hence porting this subcommand is still left.

4. count_slashes: A function was introduced in dir.h for reducing
   the code-duplication as similar functions exist in apply.c and
   builtin/show-branch.c

PLAN FOR WEEK-5 (13 June 2017 to 19 June 2017):

1. sync and status: Since the changes are ready, I plan to post the
   complete series of the updated version soon as a single series of
   patches.

2. summary: As this is still underway, I'll be finishing this submodule
   subcommand in the following week.

3. foreach: To unblock the conversion of this submodule subcommand,
   I'll be focusing on porting the original cmd_foreach, and
   will not be including the BUG-FIX patch here.
   An additional NEEDSWORK comment will be added to the ported function,
   stating the reported bug, and not resolving the bug in this patch
   series.

4. deinit: As mentioned earlier, there is still some debugging left for
   the ported functions. I plan to debug them and discuss the patch
   for further improvisions this week.

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

Thanks,
Prathamesh Chavan

                 reply index

Thread overview: [no followups, yet] (expand / mbox.gz / Atom feed)

Reply instructions:

You may reply publically 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 to all the recipients using the --to, --cc,
  and --in-reply-to switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAME+mvUrzVxpRdPDvA1ZyatNm2R27QGJVjSB3=KX85CEedMaRQ@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

git@vger.kernel.org mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox