git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [GSOC] Update 5: Unification of tag -l, branch -l and for-each-ref
@ 2015-07-12 20:48 Karthik Nayak
  0 siblings, 0 replies; 3+ messages in thread
From: Karthik Nayak @ 2015-07-12 20:48 UTC (permalink / raw)
  To: Git; +Cc: Matthieu Moy, Christian Couder

Hello All,

As part of GSoC I'm working on the Unification of 'for-each-ref', 'tag -l'
and 'branch -l'. Sorry for the lack of update since Jun 14, was a
little busy with an exam I had. Now thats over, I will be working more
on the project.

Current Progress:

1. Building ref-filter.{c,h} from for-each-ref.
This is the process of creating an initial library for the unification
by moving most of the code from for-each-ref to ref-filter.{c,h}.
Merged into next

2. Add options to ref-filter.
This includes the porting of --points-at, --contains, --merged,
--no-merged options from builtin/branch.c and builtin/tag.c, Also the
implementation of these options into for-each-ref.
Currently in pu
(https://github.com/git/git/commit/6d4c958d88e6456405b8d65a8bf469382c47f4c5)

3. Port builtin/tag.c to use ref-filter.
Here we port tag.c to use ref-filter and also port the --format,
--sort and --merged and --no-merged options to builtin/tag.c.
Version 2 can be found here
http://thread.gmane.org/gmane.comp.version-control.git/273731
A lot of input on this, Junio and Duy gave some suggestions on
how we can align items in the format option, there has been good progress
in this regard. More at
http://thread.gmane.org/gmane.comp.version-control.git/273732. A
working prototype of these suggestions have been pushed to Github,
where suggestions can be made until I send my next iteration of the
patch series.
Also a lot of changes suggested by my mentors Matthieu and Christian. Most of
which have been implemented and pushed to Github.

Next:
Have been working on branch.c and there is good progress for the same.
Code pushed to Github.

Github: https://github.com/KarthikNayak/git

Thanks to everyone who has helped :)

-- 
Regards,
Karthik Nayak

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

* [GSOC] Update 5: Unification of tag -l, branch -l and for-each-ref
@ 2015-07-30 16:04 Karthik Nayak
  2015-07-30 16:06 ` Karthik Nayak
  0 siblings, 1 reply; 3+ messages in thread
From: Karthik Nayak @ 2015-07-30 16:04 UTC (permalink / raw)
  To: Git; +Cc: Christian Couder, Matthieu Moy

Hello All,

As part of GSoC I'm working on the Unification of 'for-each-ref', 'tag -l'
and 'branch -l'.

Current Progress:

1. Building ref-filter.{c,h} from for-each-ref.
This is the process of creating an initial library for the unification
by moving most of the code from for-each-ref to ref-filter.{c,h}.
Merged into next

2. Add options to ref-filter.
This includes the porting of --points-at, --contains, --merged,
--no-merged options from builtin/branch.c and builtin/tag.c, Also the
implementation of these options into for-each-ref.
Currently in pu
(https://github.com/git/git/commit/6d4c958d88e6456405b8d65a8bf469382c47f4c5)

3. Port builtin/tag.c to use ref-filter.
Here we port tag.c to use ref-filter and also port the --format,
--sort and --merged and --no-merged options to builtin/tag.c.
Version 7 can be found here :
thread.gmane.org/gmane.comp.version-control.git/274990
We now have support for modifier atoms. Modifier atoms are atoms which
modify succeeding strings or atoms. A simple example of this is the "color"
atom which modifies the color of all succeeding atoms or strings.
Similarly we introduce "padright" atom which will align atoms and strings to the
left followed by spaces. This was after a lot on Input from Junio,
Matthieu, Christian, Duy, Eric and Jacob.
Currently waiting for review from the list.

4. Porting branch.c to use ref-filter.
Here we port branch.c to use ref-filter APIs.
An RFC version was sent to the list and can be found here :
article.gmane.org/gmane.comp.version-control.git/274766
There was a lot of input on this and we are still discussing the structure for
the "ifexists" atom. Currently everyone is indicating towards something like
--format="%(ifexists:<atom>) .............. %(endif).
This seems to be a good design and I hope to implement this over the
next 3 days and send an updated Patch series to the list. Also need to
implement show_ref_array_item() into branch.c. Currently we print form
branch.c itself.

Like always, Thanks to everyone for helping me out, especially my mentors.

All code pushed to github:
Github: https://github.com/KarthikNayak/git

-- 
Regards,
Karthik Nayak

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

* Re: [GSOC] Update 5: Unification of tag -l, branch -l and for-each-ref
  2015-07-30 16:04 Karthik Nayak
@ 2015-07-30 16:06 ` Karthik Nayak
  0 siblings, 0 replies; 3+ messages in thread
From: Karthik Nayak @ 2015-07-30 16:06 UTC (permalink / raw)
  To: Git; +Cc: Christian Couder, Matthieu Moy

This is update 6 :D

-- 
Regards,
Karthik Nayak

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

end of thread, other threads:[~2015-07-30 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-12 20:48 [GSOC] Update 5: Unification of tag -l, branch -l and for-each-ref Karthik Nayak
  -- strict thread matches above, loose matches on Subject: below --
2015-07-30 16:04 Karthik Nayak
2015-07-30 16:06 ` Karthik Nayak

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