git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [GSoC] Update: Week 7
@ 2017-07-03 20:27 Prathamesh Chavan
  2017-07-03 20:32 ` [GSoC][PATCH 1/5 v4] submodule--helper: introduce get_submodule_displaypath() Prathamesh Chavan
  0 siblings, 1 reply; 7+ messages in thread
From: Prathamesh Chavan @ 2017-07-03 20:27 UTC (permalink / raw)
  To: git; +Cc: Stefan Beller, Christian Couder

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [GSOC Update] Week 6
@ 2016-06-13  8:06 Pranit Bauva
  2016-06-20  7:37 ` [GSOC Update] Week 7 Pranit Bauva
  0 siblings, 1 reply; 7+ messages in thread
From: Pranit Bauva @ 2016-06-13  8:06 UTC (permalink / raw)
  To: git; +Cc: christian.couder, chriscool, larsxschneider, Pranit Bauva

================================= SUMMARY ==================================
My public git.git is available here[1]. I regularly keep pushing my work so
anyone interested can track me there. Feel free to participate in the
discussions going on PRs with my mentors. Your comments are valuable.


=============================== INTRODUCTION  ==============================
The purpose of this project is to convert the git-bisect utility which partly
exists in the form of shell scripts to C code so as to make it more portable.
I plan to do this by converting each function to C and then calling it from
git-bisect.sh so as to use the existing test suite to test the function which
is converted.

Mentors:
Christian Couder <chriscool@tuxfamily.org>
Lars Schneider <larsxschneider@gmail.com>


================================== Updates =================================
Things which were done in this week:

 * bisect_clean_state() function is converted and sent out to the mailing
   list which received some useful comments from Eric Sunshine and the
   updated version can be found on bisect-reset branch[3].

 * I also converted bisect_reset() function and also introduced a file_size()
   method which received some useful comments from Eric Sunshine and Torsten
   Bogershausen. You can find the whole branch here[3].

 * I have also converted bisect_write() and will send it to the mailing list
   soon. The branch can be found here[4].

 * I also converted is_expected_rev() and check_expected_revs(). I sent
   it to the mailing list which collected some useful reviews from Eric
   Sunshine. I have updated according to the reviews. I need to confirm it
   once before I send it out on the mailing list. You can find the branch
   here[3].

 * My v2[5] on a cleanup patch to use the function macro GIT_PATH_FUNC is
   yet queued on the pu branch.

================================= NEXT STEPS ================================
Things which would be done in the coming week:

 * check_and_set_terms(): This function uses the two global variables in the
   script namely TERM_GOOD TERM_BAD. I have decided to pass then as arguments.

 * get_terms(): This will also introduce a struct to store global variables
   namely TERM_GOOD and TERM_BAD.

 * bisect_terms().

 * bisect_next_check().

[1]: https://github.com/pranitbauva1997/git
[3]: https://github.com/pranitbauva1997/git/pull/13
[4]: https://github.com/pranitbauva1997/git/pull/14
[5]: http://thread.gmane.org/gmane.comp.version-control.git/295524


Regards,
Pranit Bauva

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-03 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 20:27 [GSoC] Update: Week 7 Prathamesh Chavan
2017-07-03 20:32 ` [GSoC][PATCH 1/5 v4] submodule--helper: introduce get_submodule_displaypath() Prathamesh Chavan
2017-07-03 20:32   ` [GSoC][PATCH 2/5 v4] submodule--helper: introduce for_each_submodule_list() Prathamesh Chavan
2017-07-03 20:32   ` [GSoC][PATCH 3/5 v4] submodule: port set_name_rev() from shell to C Prathamesh Chavan
2017-07-03 20:32   ` [GSoC][PATCH 4/5 v4] submodule: port submodule subcommand 'status' " Prathamesh Chavan
2017-07-03 20:32   ` [GSoC][PATCH 5/5 v4] submodule: port submodule subcommand 'sync' " Prathamesh Chavan
  -- strict thread matches above, loose matches on Subject: below --
2016-06-13  8:06 [GSOC Update] Week 6 Pranit Bauva
2016-06-20  7:37 ` [GSOC Update] Week 7 Pranit Bauva

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).