git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* [GSoC] Scripts to be conversted into builtins
@ 2018-03-17 12:44 Yash Yadav
  2018-03-17 18:26 ` Ævar Arnfjörð Bjarmason
  2018-03-19 17:27 ` Johannes Schindelin
  0 siblings, 2 replies; 4+ messages in thread
From: Yash Yadav @ 2018-03-17 12:44 UTC (permalink / raw)
  To: git

Hello,

I am a student going through the GSoC process.

In the project ideas listed there is one idea talking of conversion of 
scripts to builtins. This interests me but no pointer forward is given 
and I'd like to dive more into that idea and go through the script(s).

So, where should I look further from here?


Thanks,

Yash Yadav


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

* Re: [GSoC] Scripts to be conversted into builtins
  2018-03-17 12:44 [GSoC] Scripts to be conversted into builtins Yash Yadav
@ 2018-03-17 18:26 ` Ævar Arnfjörð Bjarmason
  2018-03-17 20:51   ` Christian Couder
  2018-03-19 17:27 ` Johannes Schindelin
  1 sibling, 1 reply; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2018-03-17 18:26 UTC (permalink / raw)
  To: Yash Yadav; +Cc: git, Stefan Beller


On Sat, Mar 17 2018, Yash Yadav jotted:

> Hello,
>
> I am a student going through the GSoC process.
>
> In the project ideas listed there is one idea talking of conversion of
> scripts to builtins. This interests me but no pointer forward is given
> and I'd like to dive more into that idea and go through the script(s).
>
> So, where should I look further from here?

One good place to start is to start reading at:

    git log -p --stat --full-diff --reverse 74703a1e4d.. -- 'builtin/*--helper.c'

And then search for git-.*\.sh in your pager. These are a bunch of
commits where the bisect, rebase and submodule helpers have had their
shellscript code incrementally replaced by C.

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

* Re: [GSoC] Scripts to be conversted into builtins
  2018-03-17 18:26 ` Ævar Arnfjörð Bjarmason
@ 2018-03-17 20:51   ` Christian Couder
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Couder @ 2018-03-17 20:51 UTC (permalink / raw)
  To: Yash Yadav
  Cc: git, Ævar Arnfjörð Bjarmason, Stefan Beller, Alban Gruin

On Sat, Mar 17, 2018 at 7:26 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
>
> On Sat, Mar 17 2018, Yash Yadav jotted:
>
>> Hello,
>>
>> I am a student going through the GSoC process.
>>
>> In the project ideas listed there is one idea talking of conversion of
>> scripts to builtins. This interests me but no pointer forward is given
>> and I'd like to dive more into that idea and go through the script(s).
>>
>> So, where should I look further from here?
>
> One good place to start is to start reading at:
>
>     git log -p --stat --full-diff --reverse 74703a1e4d.. -- 'builtin/*--helper.c'
>
> And then search for git-.*\.sh in your pager. These are a bunch of
> commits where the bisect, rebase and submodule helpers have had their
> shellscript code incrementally replaced by C.

Yeah, and we have been proposing this kind of GSoC projects for a
number of years now, so we have had a number of GSoC students doing
this kind of projects, and therefore a lot of information about their
projects is available in the mailing list archive.

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

* Re: [GSoC] Scripts to be conversted into builtins
  2018-03-17 12:44 [GSoC] Scripts to be conversted into builtins Yash Yadav
  2018-03-17 18:26 ` Ævar Arnfjörð Bjarmason
@ 2018-03-19 17:27 ` Johannes Schindelin
  1 sibling, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2018-03-19 17:27 UTC (permalink / raw)
  To: Yash Yadav; +Cc: git

Hi,

On Sat, 17 Mar 2018, Yash Yadav wrote:

> In the project ideas listed there is one idea talking of conversion of
> scripts to builtins. This interests me but no pointer forward is given
> and I'd like to dive more into that idea and go through the script(s).
> 
> So, where should I look further from here?

One concrete example how a script was converted can be seen here:

https://github.com/git/git/compare/b7786bb4b09%5E...b7786bb4b09%5E2

(This is the patch series that replaced the scripted version of the
`difftool` by the one written in portable C.)

But maybe you want to look at the micro-projects first, to see how you
like to work on Git's source code, and with the Git mailing list?

Ciao,
Johannes

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

end of thread, other threads:[~2018-03-19 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-17 12:44 [GSoC] Scripts to be conversted into builtins Yash Yadav
2018-03-17 18:26 ` Ævar Arnfjörð Bjarmason
2018-03-17 20:51   ` Christian Couder
2018-03-19 17:27 ` Johannes Schindelin

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

This inbox may be cloned and mirrored by anyone:

	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

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.version-control.git
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.version-control.git
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

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

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