git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal]
@ 2022-10-22 11:43 NSENGIYUMVA WILBERFORCE
  2022-10-24 21:00 ` Christian Couder
  0 siblings, 1 reply; 5+ messages in thread
From: NSENGIYUMVA WILBERFORCE @ 2022-10-22 11:43 UTC (permalink / raw)
  To: git, Christian Couder, Hariom verma

Hi team,
I would like to have reviews on my

Google Docs link:https://docs.google.com/document/d/1Kdx8DVWF3c5pwV5-A8Z4n-SoRHlMDncI1gNeGCiLNsE/edit?usp=sharing

Name:Nsengiyumva Wilberforce

Major:Software engineering

Mobile no.:+256 785065399

Email:nsengiyumvawilberforce@gmail.com

IRC:wilber4c

Github:nsengiyumva-wilberforce

Linkedin:https://www.linkedin.com/in/nsengiyumva-wilberforce-623664192/

Time Zone:EAT (UTC + 03:00)


About me

I am doing a Bachelor of Science in software engineering at Makerere
university in my 4th year(final). I spend most of my time writing PHP
applications. I am also interested in Java and embedded systems
development and I have participated in embedded systems development
projects like AdEMNEA.



Microproject

When I was browsing the outreachy projects on outreachy website, I was
super excited about Git because I use it in most of my college work.
At first, it was intimidating for me to introduce myself to the
community. But I am glad I took a step. I am glad that I completed my
microproject and the whole process gave me confidence on how to submit
patches, communicate with the community members and interestingly, it
was a big learning process for me.  The following are the details
about my microproject with public-inbox links to different versions.


Mailing List for the microproject:
https://lore.kernel.org/git/pull.1362.v4.git.git.1665772130030.gitgitgadget@gmail.com/

Github:  https://github.com/git/git/pull/1362

Status: next


Proposed Project

Abstract

Git has an old problem of duplicated implementations of some logic.
For example, Git had at least 4 different implementations to format
command output for different commands. The foremost aim of this
project is to simplify codebase by getting rid of duplication of a
similar logic and, as a result, simplify adding new functionality.
The current task is to reuse ref-filter formatting logic to minimize
code duplication and to have one unified interface to extract all
needed data from the object and to print it properly.

Previous Work

Hariom Verma contributed(final report) tremendously towards “Unifying
Git’s format languages” during his 2020 GSoC internship. Hariom
finished most of the formatting options and this will help me build on
his work.  His work looks smart and understandable thus adding on his
work will be easy. And also his blog is very fabulous, it’s a shooting
point for me to start understanding the codebase very well. Hariom
mentions in his report that 30 % of the log related tests are failing,
he also mentions that the cause of tests failure is because of the
missing mailmap logic and mbox/email commit format. Hariom also says
it does not handle unknown formatting options. I plan to start with
his advice about the cause of the failure of these tests and then
intuitively refactor them into something cool.

Summary of remaining tasks by Hariom

-Around 30% log related tests are failing

-Teach pretty-lib.{c,h} to handle incorrect formatting option

-Email/MBoxed commit format needs work

Some useful mailing lists links from Hariom

Improvements to ref-filter
Fix trailers atom bugs and improved tests

Unify trailer logic for pretty.{c,h} and ref-filter.{c, h}


Olga<olyatelezhnaya@gmail.com> has done great work in “Unifying Git’s
format languages” during Outreachy Round 15 and continued even after
that [from 28-09-2017 to 04-04-2019]. Her work is mostly related to
`cat-file` and `ref-filter`.

She already did a pretty nice job in preparing ref-filter for more
general usage of its formatting logic. It will give me the possibility
to make the migration of pretty.c easier.

The Plan

My task is to look at how pretty formats are different from ref-filter
formats. When some format is supported by the pretty formats but not
by the ref-filter formats, and should prepare some patches to support
the ref-filter format. I will basically build on Hariom’s previous
work

Step 1:List down all the formats supported by the pretty format but
are not supported by the ref-filter format

Step 2:Read through different patches related pretty and ref-filter
formats submitted by different contributors to get a solid and a
thorough understanding of the pretty and ref-filter formats.

Step 3:Understanding an implementation of one or two pretty formats,
and then look at how it was implemented in ref-filter format. This is
going to give me direction to refactor the remaining pretty formats

Step 4(possible approach): Pick one format option at a time and
convert it to use ref-filter option format

Estimated Timeline

Time Period



period: December 5,2022 - January 2, 2023
Community bonding
tasks
-understanding all the logic of pretty.* and ref-filter.*

(what functions are used and how all formatting process is going)

-Working with mentors and identifying the best candidates to be converted first.

-Converting a couple of formatting options to reuse ref-filter formatting logic.

-Update Documentation.


period: December 25, 2022

Christmas celebrations: Join my parents for celebrations

period: January 1, 2023:
New year’s day holiday:Join my parents for celebrations

period: January 3 - February 3, 2023
Coding Phase 1
tasks

-Add on Hariom’s work:Converting more formatting options to reuse
ref-filter formatting logic.

-Finish his incomplete work

-Update Documentation.

-Possibly look at Olga’s work

period: January 18, 2023: Cake cutting with my  friends
My Birthday:cake cutting

period:From January 6 - January 18, 2023:
Semester Exams: I will be working for a few hours per day and always
be available to reply to any communication

period:February 3 - March 3, 2023
Coding Phase 2
tasks
-Final touch-ups and bug fixes(if any)

-Update Documentation

-Wrapping up.

Blogging about Git

I do love writing a lot however much I have not taken time to put out
my personal opinions and thinking. Being an avid reader, I think it’s
now my time to start letting other people read what I write, to let
people know what I think, what I am doing with my life. And guess
what, I am super excited to start with Git.

Availability

I can easily devote 50 hours per week since my college just requires
15 hours per week. I plan even to work more extra hours for my
internship tasks when time allows.


Post Outreachy

Apart from being an Outreachy intern, I plan to remain a member of git
community even after my internship, because I believe there is more
today even after the Outreachy internship

Here are some other things I’d like to do beyond Outreachy

Mentor other students

Doing code reviews for other contributors

May be complete the work that I will have left pending after my internship

Keep learning from all of you...

Experience with Open Source

I have little  experience with open source, so I hope to learn a lot
through my internship with Git from you all.


Motivation

Git being a world’s best developer version control system, I feel
overjoyed that even my little first patch was accepted. The community
is very welcoming, the people there answer questions very first and
this turns everything overwhelming to a simple process


Closing remarks (Optional)

I am a consistent and passionate learner. Even if solving a problem
may look tricky to me, I just give it all my 100% time and think of
1000s of ways to approach it. I know I do not have the required
expertise to begin working with a skilled team like Git but I believe
in learning slowly by slowly until I will make it to the peak.


I hope you consider and give me a chance to work with git. It’s a
great hope I have that this opportunity is bringing me closer to my
dreams. Thanks for your consideration.


Best Regards

Nsengiyumva wilberforce

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

* Re: [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal]
  2022-10-22 11:43 [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal] NSENGIYUMVA WILBERFORCE
@ 2022-10-24 21:00 ` Christian Couder
  2022-10-25 10:28   ` NSENGIYUMVA WILBERFORCE
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Couder @ 2022-10-24 21:00 UTC (permalink / raw)
  To: NSENGIYUMVA WILBERFORCE; +Cc: git, Hariom verma

Hi Wilberforce,

On Sat, Oct 22, 2022 at 1:43 PM NSENGIYUMVA WILBERFORCE
<nsengiyumvawilberforce@gmail.com> wrote:
>
> Hi team,
> I would like to have reviews on my
>
> Google Docs link:https://docs.google.com/document/d/1Kdx8DVWF3c5pwV5-A8Z4n-SoRHlMDncI1gNeGCiLNsE/edit?usp=sharing

Thanks for sending us a draft proposal!

> Microproject
>
> When I was browsing the outreachy projects on outreachy website, I was
> super excited about Git because I use it in most of my college work.
> At first, it was intimidating for me to introduce myself to the
> community. But I am glad I took a step. I am glad that I completed my
> microproject and the whole process gave me confidence on how to submit
> patches, communicate with the community members and interestingly, it
> was a big learning process for me.  The following are the details
> about my microproject with public-inbox links to different versions.
>
> Mailing List for the microproject:
> https://lore.kernel.org/git/pull.1362.v4.git.git.1665772130030.gitgitgadget@gmail.com/
>
> Github:  https://github.com/git/git/pull/1362
>
> Status: next

Thanks for your work on this!

> Proposed Project
>
> Abstract
>
> Git has an old problem of duplicated implementations of some logic.
> For example, Git had at least 4 different implementations to format
> command output for different commands. The foremost aim of this
> project is to simplify codebase by getting rid of duplication of a
> similar logic and, as a result, simplify adding new functionality.
> The current task is to reuse ref-filter formatting logic to minimize
> code duplication and to have one unified interface to extract all
> needed data from the object and to print it properly.
>
> Previous Work
>
> Hariom Verma contributed(final report) tremendously towards “Unifying
> Git’s format languages” during his 2020 GSoC internship. Hariom
> finished most of the formatting options and this will help me build on
> his work.  His work looks smart and understandable thus adding on his
> work will be easy. And also his blog is very fabulous, it’s a shooting
> point for me to start understanding the codebase very well. Hariom
> mentions in his report that 30 % of the log related tests are failing,
> he also mentions that the cause of tests failure is because of the
> missing mailmap logic and mbox/email commit format. Hariom also says
> it does not handle unknown formatting options. I plan to start with
> his advice about the cause of the failure of these tests and then
> intuitively refactor them into something cool.
>
> Summary of remaining tasks by Hariom
>
> -Around 30% log related tests are failing
>
> -Teach pretty-lib.{c,h} to handle incorrect formatting option
>
> -Email/MBoxed commit format needs work
>
> Some useful mailing lists links from Hariom

It looks like the links don't appear on the text version that you sent.

> Improvements to ref-filter
> Fix trailers atom bugs and improved tests
>
> Unify trailer logic for pretty.{c,h} and ref-filter.{c, h}
>
> Olga<olyatelezhnaya@gmail.com> has done great work in “Unifying Git’s
> format languages” during Outreachy Round 15 and continued even after
> that [from 28-09-2017 to 04-04-2019]. Her work is mostly related to
> `cat-file` and `ref-filter`.
>
> She already did a pretty nice job in preparing ref-filter for more
> general usage of its formatting logic. It will give me the possibility
> to make the migration of pretty.c easier.

There might be a bit of work by a recent GSoC student too.

> The Plan
>
> My task is to look at how pretty formats are different from ref-filter
> formats. When some format is supported by the pretty formats but not
> by the ref-filter formats, and should prepare some patches to support
> the ref-filter format. I will basically build on Hariom’s previous
> work
>
> Step 1:List down all the formats supported by the pretty format but
> are not supported by the ref-filter format

How long do you think it would take? If it's not too long you might
want to do that now, so that perhaps you can better estimate how much
work is left.

> Step 2:Read through different patches related pretty and ref-filter

Maybe s/related/related to/

> formats submitted by different contributors to get a solid and a
> thorough understanding of the pretty and ref-filter formats.
>
> Step 3:Understanding an implementation of one or two pretty formats,

s/Understanding/Understand/

> and then look at how it was implemented in ref-filter format. This is
> going to give me direction to refactor the remaining pretty formats
>
> Step 4(possible approach): Pick one format option at a time and
> convert it to use ref-filter option format

Ok.

> Estimated Timeline
>
> Time Period
>
>
>
> period: December 5,2022 - January 2, 2023
> Community bonding
> tasks
> -understanding all the logic of pretty.* and ref-filter.*
>
> (what functions are used and how all formatting process is going)
>
> -Working with mentors and identifying the best candidates to be converted first.
>
> -Converting a couple of formatting options to reuse ref-filter formatting logic.
>
> -Update Documentation.

Updating the documentation is usually part of the patches that are
sent. So I don't think you need to make it a separate point.

> period: December 25, 2022
>
> Christmas celebrations: Join my parents for celebrations
>
> period: January 1, 2023:
> New year’s day holiday:Join my parents for celebrations
>
> period: January 3 - February 3, 2023
> Coding Phase 1
> tasks
>
> -Add on Hariom’s work:Converting more formatting options to reuse
> ref-filter formatting logic.
>
> -Finish his incomplete work
>
> -Update Documentation.
>
> -Possibly look at Olga’s work
>
> period: January 18, 2023: Cake cutting with my  friends
> My Birthday:cake cutting
>
> period:From January 6 - January 18, 2023:
> Semester Exams: I will be working for a few hours per day and always
> be available to reply to any communication
>
> period:February 3 - March 3, 2023
> Coding Phase 2
> tasks
> -Final touch-ups and bug fixes(if any)
>
> -Update Documentation
>
> -Wrapping up.

Ok.

> Blogging about Git
>
> I do love writing a lot however much I have not taken time to put out
> my personal opinions and thinking. Being an avid reader, I think it’s
> now my time to start letting other people read what I write, to let
> people know what I think, what I am doing with my life. And guess
> what, I am super excited to start with Git.

Great!

> Availability
>
> I can easily devote 50 hours per week since my college just requires
> 15 hours per week. I plan even to work more extra hours for my
> internship tasks when time allows.

I don't think Outreachy requires 50 hours of work per week. That seems
a bit too much if you also attend college.

> Post Outreachy
>
> Apart from being an Outreachy intern, I plan to remain a member of git
> community even after my internship, because I believe there is more
> today even after the Outreachy internship

I am not sure I properly understand this last sentence.

> Here are some other things I’d like to do beyond Outreachy
>
> Mentor other students
>
> Doing code reviews for other contributors
>
> May be complete the work that I will have left pending after my internship
>
> Keep learning from all of you...

Great!

> Experience with Open Source
>
> I have little  experience with open source, so I hope to learn a lot
> through my internship with Git from you all.
>
> Motivation
>
> Git being a world’s best developer version control system, I feel
> overjoyed that even my little first patch was accepted. The community
> is very welcoming, the people there answer questions very first and
> this turns everything overwhelming to a simple process
>
> Closing remarks (Optional)
>
> I am a consistent and passionate learner. Even if solving a problem
> may look tricky to me, I just give it all my 100% time and think of
> 1000s of ways to approach it. I know I do not have the required
> expertise to begin working with a skilled team like Git but I believe
> in learning slowly by slowly until I will make it to the peak.
>
> I hope you consider and give me a chance to work with git. It’s a
> great hope I have that this opportunity is bringing me closer to my
> dreams. Thanks for your consideration.

Great, thanks!
Christian.

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

* Re: [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal]
  2022-10-24 21:00 ` Christian Couder
@ 2022-10-25 10:28   ` NSENGIYUMVA WILBERFORCE
  2022-10-25 11:49     ` NSENGIYUMVA WILBERFORCE
  2022-10-25 13:50     ` Đoàn Trần Công Danh
  0 siblings, 2 replies; 5+ messages in thread
From: NSENGIYUMVA WILBERFORCE @ 2022-10-25 10:28 UTC (permalink / raw)
  To: Christian Couder; +Cc: git, Hariom verma

Hi Christian


> It looks like the links don't appear on the text version that you sent

Let me have a look at them and do the update.

> There might be a bit of work by a recent GSoC student too

Thanks for the reminder, let me make more research on this. but if
anyone could point me to any other recent work, it would be great for
me.

>
> How long do you think it would take? If it's not too long you might
> want to do that now, so that perhaps you can better estimate how much
> work is left.


Oh, thank you for this. I do not know how I did not think about it. I
am also going to do research about it.

> Maybe s/related/related to/


I seem not to understand this comment, may be give me some light about it

> s/Understanding/Understand/

 I seem not to understand this comment, may be give me some light about it

> Updating the documentation is usually part of the patches that are
> sent. So I don't think you need to make it a separate point.

Noted!

> I don't think Outreachy requires 50 hours of work per week. That seems
> a bit too much if you also attend college.

Thank you for the advice, I could do 40 then.

thanks big for the review,
I am going to send the updated proposal ASAP

Best Regards,
Wilberforce


On Tue, Oct 25, 2022 at 12:00 AM Christian Couder
<christian.couder@gmail.com> wrote:
>
> Hi Wilberforce,
>
> On Sat, Oct 22, 2022 at 1:43 PM NSENGIYUMVA WILBERFORCE
> <nsengiyumvawilberforce@gmail.com> wrote:
> >
> > Hi team,
> > I would like to have reviews on my
> >
> > Google Docs link:https://docs.google.com/document/d/1Kdx8DVWF3c5pwV5-A8Z4n-SoRHlMDncI1gNeGCiLNsE/edit?usp=sharing
>
> Thanks for sending us a draft proposal!
>
> > Microproject
> >
> > When I was browsing the outreachy projects on outreachy website, I was
> > super excited about Git because I use it in most of my college work.
> > At first, it was intimidating for me to introduce myself to the
> > community. But I am glad I took a step. I am glad that I completed my
> > microproject and the whole process gave me confidence on how to submit
> > patches, communicate with the community members and interestingly, it
> > was a big learning process for me.  The following are the details
> > about my microproject with public-inbox links to different versions.
> >
> > Mailing List for the microproject:
> > https://lore.kernel.org/git/pull.1362.v4.git.git.1665772130030.gitgitgadget@gmail.com/
> >
> > Github:  https://github.com/git/git/pull/1362
> >
> > Status: next
>
> Thanks for your work on this!
>
> > Proposed Project
> >
> > Abstract
> >
> > Git has an old problem of duplicated implementations of some logic.
> > For example, Git had at least 4 different implementations to format
> > command output for different commands. The foremost aim of this
> > project is to simplify codebase by getting rid of duplication of a
> > similar logic and, as a result, simplify adding new functionality.
> > The current task is to reuse ref-filter formatting logic to minimize
> > code duplication and to have one unified interface to extract all
> > needed data from the object and to print it properly.
> >
> > Previous Work
> >
> > Hariom Verma contributed(final report) tremendously towards “Unifying
> > Git’s format languages” during his 2020 GSoC internship. Hariom
> > finished most of the formatting options and this will help me build on
> > his work.  His work looks smart and understandable thus adding on his
> > work will be easy. And also his blog is very fabulous, it’s a shooting
> > point for me to start understanding the codebase very well. Hariom
> > mentions in his report that 30 % of the log related tests are failing,
> > he also mentions that the cause of tests failure is because of the
> > missing mailmap logic and mbox/email commit format. Hariom also says
> > it does not handle unknown formatting options. I plan to start with
> > his advice about the cause of the failure of these tests and then
> > intuitively refactor them into something cool.
> >
> > Summary of remaining tasks by Hariom
> >
> > -Around 30% log related tests are failing
> >
> > -Teach pretty-lib.{c,h} to handle incorrect formatting option
> >
> > -Email/MBoxed commit format needs work
> >
> > Some useful mailing lists links from Hariom
>
> It looks like the links don't appear on the text version that you sent.
>
> > Improvements to ref-filter
> > Fix trailers atom bugs and improved tests
> >
> > Unify trailer logic for pretty.{c,h} and ref-filter.{c, h}
> >
> > Olga<olyatelezhnaya@gmail.com> has done great work in “Unifying Git’s
> > format languages” during Outreachy Round 15 and continued even after
> > that [from 28-09-2017 to 04-04-2019]. Her work is mostly related to
> > `cat-file` and `ref-filter`.
> >
> > She already did a pretty nice job in preparing ref-filter for more
> > general usage of its formatting logic. It will give me the possibility
> > to make the migration of pretty.c easier.
>
> There might be a bit of work by a recent GSoC student too.
>
> > The Plan
> >
> > My task is to look at how pretty formats are different from ref-filter
> > formats. When some format is supported by the pretty formats but not
> > by the ref-filter formats, and should prepare some patches to support
> > the ref-filter format. I will basically build on Hariom’s previous
> > work
> >
> > Step 1:List down all the formats supported by the pretty format but
> > are not supported by the ref-filter format
>
> How long do you think it would take? If it's not too long you might
> want to do that now, so that perhaps you can better estimate how much
> work is left.
>
> > Step 2:Read through different patches related pretty and ref-filter
>
> Maybe s/related/related to/
>
> > formats submitted by different contributors to get a solid and a
> > thorough understanding of the pretty and ref-filter formats.
> >
> > Step 3:Understanding an implementation of one or two pretty formats,
>
> s/Understanding/Understand/
>
> > and then look at how it was implemented in ref-filter format. This is
> > going to give me direction to refactor the remaining pretty formats
> >
> > Step 4(possible approach): Pick one format option at a time and
> > convert it to use ref-filter option format
>
> Ok.
>
> > Estimated Timeline
> >
> > Time Period
> >
> >
> >
> > period: December 5,2022 - January 2, 2023
> > Community bonding
> > tasks
> > -understanding all the logic of pretty.* and ref-filter.*
> >
> > (what functions are used and how all formatting process is going)
> >
> > -Working with mentors and identifying the best candidates to be converted first.
> >
> > -Converting a couple of formatting options to reuse ref-filter formatting logic.
> >
> > -Update Documentation.
>
> Updating the documentation is usually part of the patches that are
> sent. So I don't think you need to make it a separate point.
>
> > period: December 25, 2022
> >
> > Christmas celebrations: Join my parents for celebrations
> >
> > period: January 1, 2023:
> > New year’s day holiday:Join my parents for celebrations
> >
> > period: January 3 - February 3, 2023
> > Coding Phase 1
> > tasks
> >
> > -Add on Hariom’s work:Converting more formatting options to reuse
> > ref-filter formatting logic.
> >
> > -Finish his incomplete work
> >
> > -Update Documentation.
> >
> > -Possibly look at Olga’s work
> >
> > period: January 18, 2023: Cake cutting with my  friends
> > My Birthday:cake cutting
> >
> > period:From January 6 - January 18, 2023:
> > Semester Exams: I will be working for a few hours per day and always
> > be available to reply to any communication
> >
> > period:February 3 - March 3, 2023
> > Coding Phase 2
> > tasks
> > -Final touch-ups and bug fixes(if any)
> >
> > -Update Documentation
> >
> > -Wrapping up.
>
> Ok.
>
> > Blogging about Git
> >
> > I do love writing a lot however much I have not taken time to put out
> > my personal opinions and thinking. Being an avid reader, I think it’s
> > now my time to start letting other people read what I write, to let
> > people know what I think, what I am doing with my life. And guess
> > what, I am super excited to start with Git.
>
> Great!
>
> > Availability
> >
> > I can easily devote 50 hours per week since my college just requires
> > 15 hours per week. I plan even to work more extra hours for my
> > internship tasks when time allows.
>
> I don't think Outreachy requires 50 hours of work per week. That seems
> a bit too much if you also attend college.
>
> > Post Outreachy
> >
> > Apart from being an Outreachy intern, I plan to remain a member of git
> > community even after my internship, because I believe there is more
> > today even after the Outreachy internship
>
> I am not sure I properly understand this last sentence.
>
> > Here are some other things I’d like to do beyond Outreachy
> >
> > Mentor other students
> >
> > Doing code reviews for other contributors
> >
> > May be complete the work that I will have left pending after my internship
> >
> > Keep learning from all of you...
>
> Great!
>
> > Experience with Open Source
> >
> > I have little  experience with open source, so I hope to learn a lot
> > through my internship with Git from you all.
> >
> > Motivation
> >
> > Git being a world’s best developer version control system, I feel
> > overjoyed that even my little first patch was accepted. The community
> > is very welcoming, the people there answer questions very first and
> > this turns everything overwhelming to a simple process
> >
> > Closing remarks (Optional)
> >
> > I am a consistent and passionate learner. Even if solving a problem
> > may look tricky to me, I just give it all my 100% time and think of
> > 1000s of ways to approach it. I know I do not have the required
> > expertise to begin working with a skilled team like Git but I believe
> > in learning slowly by slowly until I will make it to the peak.
> >
> > I hope you consider and give me a chance to work with git. It’s a
> > great hope I have that this opportunity is bringing me closer to my
> > dreams. Thanks for your consideration.
>
> Great, thanks!
> Christian.

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

* Re: [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal]
  2022-10-25 10:28   ` NSENGIYUMVA WILBERFORCE
@ 2022-10-25 11:49     ` NSENGIYUMVA WILBERFORCE
  2022-10-25 13:50     ` Đoàn Trần Công Danh
  1 sibling, 0 replies; 5+ messages in thread
From: NSENGIYUMVA WILBERFORCE @ 2022-10-25 11:49 UTC (permalink / raw)
  To: Christian Couder; +Cc: git, Hariom verma

>
> I am not sure I properly understand this last sentence.


it was a typing error, it's supposed to be to do, not "today". I am
correcting it in the next version.

PS: I missed this in my previous response


On Tue, Oct 25, 2022 at 1:28 PM NSENGIYUMVA WILBERFORCE
<nsengiyumvawilberforce@gmail.com> wrote:
>
> Hi Christian
>
>
> > It looks like the links don't appear on the text version that you sent
>
> Let me have a look at them and do the update.
>
> > There might be a bit of work by a recent GSoC student too
>
> Thanks for the reminder, let me make more research on this. but if
> anyone could point me to any other recent work, it would be great for
> me.
>
> >
> > How long do you think it would take? If it's not too long you might
> > want to do that now, so that perhaps you can better estimate how much
> > work is left.
>
>
> Oh, thank you for this. I do not know how I did not think about it. I
> am also going to do research about it.
>
> > Maybe s/related/related to/
>
>
> I seem not to understand this comment, may be give me some light about it
>
> > s/Understanding/Understand/
>
>  I seem not to understand this comment, may be give me some light about it
>
> > Updating the documentation is usually part of the patches that are
> > sent. So I don't think you need to make it a separate point.
>
> Noted!
>
> > I don't think Outreachy requires 50 hours of work per week. That seems
> > a bit too much if you also attend college.
>
> Thank you for the advice, I could do 40 then.
>
> thanks big for the review,
> I am going to send the updated proposal ASAP
>
> Best Regards,
> Wilberforce
>
>
> On Tue, Oct 25, 2022 at 12:00 AM Christian Couder
> <christian.couder@gmail.com> wrote:
> >
> > Hi Wilberforce,
> >
> > On Sat, Oct 22, 2022 at 1:43 PM NSENGIYUMVA WILBERFORCE
> > <nsengiyumvawilberforce@gmail.com> wrote:
> > >
> > > Hi team,
> > > I would like to have reviews on my
> > >
> > > Google Docs link:https://docs.google.com/document/d/1Kdx8DVWF3c5pwV5-A8Z4n-SoRHlMDncI1gNeGCiLNsE/edit?usp=sharing
> >
> > Thanks for sending us a draft proposal!
> >
> > > Microproject
> > >
> > > When I was browsing the outreachy projects on outreachy website, I was
> > > super excited about Git because I use it in most of my college work.
> > > At first, it was intimidating for me to introduce myself to the
> > > community. But I am glad I took a step. I am glad that I completed my
> > > microproject and the whole process gave me confidence on how to submit
> > > patches, communicate with the community members and interestingly, it
> > > was a big learning process for me.  The following are the details
> > > about my microproject with public-inbox links to different versions.
> > >
> > > Mailing List for the microproject:
> > > https://lore.kernel.org/git/pull.1362.v4.git.git.1665772130030.gitgitgadget@gmail.com/
> > >
> > > Github:  https://github.com/git/git/pull/1362
> > >
> > > Status: next
> >
> > Thanks for your work on this!
> >
> > > Proposed Project
> > >
> > > Abstract
> > >
> > > Git has an old problem of duplicated implementations of some logic.
> > > For example, Git had at least 4 different implementations to format
> > > command output for different commands. The foremost aim of this
> > > project is to simplify codebase by getting rid of duplication of a
> > > similar logic and, as a result, simplify adding new functionality.
> > > The current task is to reuse ref-filter formatting logic to minimize
> > > code duplication and to have one unified interface to extract all
> > > needed data from the object and to print it properly.
> > >
> > > Previous Work
> > >
> > > Hariom Verma contributed(final report) tremendously towards “Unifying
> > > Git’s format languages” during his 2020 GSoC internship. Hariom
> > > finished most of the formatting options and this will help me build on
> > > his work.  His work looks smart and understandable thus adding on his
> > > work will be easy. And also his blog is very fabulous, it’s a shooting
> > > point for me to start understanding the codebase very well. Hariom
> > > mentions in his report that 30 % of the log related tests are failing,
> > > he also mentions that the cause of tests failure is because of the
> > > missing mailmap logic and mbox/email commit format. Hariom also says
> > > it does not handle unknown formatting options. I plan to start with
> > > his advice about the cause of the failure of these tests and then
> > > intuitively refactor them into something cool.
> > >
> > > Summary of remaining tasks by Hariom
> > >
> > > -Around 30% log related tests are failing
> > >
> > > -Teach pretty-lib.{c,h} to handle incorrect formatting option
> > >
> > > -Email/MBoxed commit format needs work
> > >
> > > Some useful mailing lists links from Hariom
> >
> > It looks like the links don't appear on the text version that you sent.
> >
> > > Improvements to ref-filter
> > > Fix trailers atom bugs and improved tests
> > >
> > > Unify trailer logic for pretty.{c,h} and ref-filter.{c, h}
> > >
> > > Olga<olyatelezhnaya@gmail.com> has done great work in “Unifying Git’s
> > > format languages” during Outreachy Round 15 and continued even after
> > > that [from 28-09-2017 to 04-04-2019]. Her work is mostly related to
> > > `cat-file` and `ref-filter`.
> > >
> > > She already did a pretty nice job in preparing ref-filter for more
> > > general usage of its formatting logic. It will give me the possibility
> > > to make the migration of pretty.c easier.
> >
> > There might be a bit of work by a recent GSoC student too.
> >
> > > The Plan
> > >
> > > My task is to look at how pretty formats are different from ref-filter
> > > formats. When some format is supported by the pretty formats but not
> > > by the ref-filter formats, and should prepare some patches to support
> > > the ref-filter format. I will basically build on Hariom’s previous
> > > work
> > >
> > > Step 1:List down all the formats supported by the pretty format but
> > > are not supported by the ref-filter format
> >
> > How long do you think it would take? If it's not too long you might
> > want to do that now, so that perhaps you can better estimate how much
> > work is left.
> >
> > > Step 2:Read through different patches related pretty and ref-filter
> >
> > Maybe s/related/related to/
> >
> > > formats submitted by different contributors to get a solid and a
> > > thorough understanding of the pretty and ref-filter formats.
> > >
> > > Step 3:Understanding an implementation of one or two pretty formats,
> >
> > s/Understanding/Understand/
> >
> > > and then look at how it was implemented in ref-filter format. This is
> > > going to give me direction to refactor the remaining pretty formats
> > >
> > > Step 4(possible approach): Pick one format option at a time and
> > > convert it to use ref-filter option format
> >
> > Ok.
> >
> > > Estimated Timeline
> > >
> > > Time Period
> > >
> > >
> > >
> > > period: December 5,2022 - January 2, 2023
> > > Community bonding
> > > tasks
> > > -understanding all the logic of pretty.* and ref-filter.*
> > >
> > > (what functions are used and how all formatting process is going)
> > >
> > > -Working with mentors and identifying the best candidates to be converted first.
> > >
> > > -Converting a couple of formatting options to reuse ref-filter formatting logic.
> > >
> > > -Update Documentation.
> >
> > Updating the documentation is usually part of the patches that are
> > sent. So I don't think you need to make it a separate point.
> >
> > > period: December 25, 2022
> > >
> > > Christmas celebrations: Join my parents for celebrations
> > >
> > > period: January 1, 2023:
> > > New year’s day holiday:Join my parents for celebrations
> > >
> > > period: January 3 - February 3, 2023
> > > Coding Phase 1
> > > tasks
> > >
> > > -Add on Hariom’s work:Converting more formatting options to reuse
> > > ref-filter formatting logic.
> > >
> > > -Finish his incomplete work
> > >
> > > -Update Documentation.
> > >
> > > -Possibly look at Olga’s work
> > >
> > > period: January 18, 2023: Cake cutting with my  friends
> > > My Birthday:cake cutting
> > >
> > > period:From January 6 - January 18, 2023:
> > > Semester Exams: I will be working for a few hours per day and always
> > > be available to reply to any communication
> > >
> > > period:February 3 - March 3, 2023
> > > Coding Phase 2
> > > tasks
> > > -Final touch-ups and bug fixes(if any)
> > >
> > > -Update Documentation
> > >
> > > -Wrapping up.
> >
> > Ok.
> >
> > > Blogging about Git
> > >
> > > I do love writing a lot however much I have not taken time to put out
> > > my personal opinions and thinking. Being an avid reader, I think it’s
> > > now my time to start letting other people read what I write, to let
> > > people know what I think, what I am doing with my life. And guess
> > > what, I am super excited to start with Git.
> >
> > Great!
> >
> > > Availability
> > >
> > > I can easily devote 50 hours per week since my college just requires
> > > 15 hours per week. I plan even to work more extra hours for my
> > > internship tasks when time allows.
> >
> > I don't think Outreachy requires 50 hours of work per week. That seems
> > a bit too much if you also attend college.
> >
> > > Post Outreachy
> > >
> > > Apart from being an Outreachy intern, I plan to remain a member of git
> > > community even after my internship, because I believe there is more
> > > today even after the Outreachy internship
> >
> > I am not sure I properly understand this last sentence.
> >
> > > Here are some other things I’d like to do beyond Outreachy
> > >
> > > Mentor other students
> > >
> > > Doing code reviews for other contributors
> > >
> > > May be complete the work that I will have left pending after my internship
> > >
> > > Keep learning from all of you...
> >
> > Great!
> >
> > > Experience with Open Source
> > >
> > > I have little  experience with open source, so I hope to learn a lot
> > > through my internship with Git from you all.
> > >
> > > Motivation
> > >
> > > Git being a world’s best developer version control system, I feel
> > > overjoyed that even my little first patch was accepted. The community
> > > is very welcoming, the people there answer questions very first and
> > > this turns everything overwhelming to a simple process
> > >
> > > Closing remarks (Optional)
> > >
> > > I am a consistent and passionate learner. Even if solving a problem
> > > may look tricky to me, I just give it all my 100% time and think of
> > > 1000s of ways to approach it. I know I do not have the required
> > > expertise to begin working with a skilled team like Git but I believe
> > > in learning slowly by slowly until I will make it to the peak.
> > >
> > > I hope you consider and give me a chance to work with git. It’s a
> > > great hope I have that this opportunity is bringing me closer to my
> > > dreams. Thanks for your consideration.
> >
> > Great, thanks!
> > Christian.

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

* Re: [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal]
  2022-10-25 10:28   ` NSENGIYUMVA WILBERFORCE
  2022-10-25 11:49     ` NSENGIYUMVA WILBERFORCE
@ 2022-10-25 13:50     ` Đoàn Trần Công Danh
  1 sibling, 0 replies; 5+ messages in thread
From: Đoàn Trần Công Danh @ 2022-10-25 13:50 UTC (permalink / raw)
  To: NSENGIYUMVA WILBERFORCE; +Cc: Christian Couder, git, Hariom verma

On 2022-10-25 13:28:57+0300, NSENGIYUMVA WILBERFORCE <nsengiyumvawilberforce@gmail.com> wrote:
> >> Step 2:Read through different patches related pretty and ref-filter
> > Maybe s/related/related to/
> 
> I seem not to understand this comment, may be give me some light about it

Apply s/related/related to/ filter (by ed (editor)/sed (stream editor)/vi (visual))
on top of previous (deleted by you, restored by me) comments.

Which will yield:

> >> Step 2:Read through different patches related to pretty and ref-filter

IOW, the comment asked you to change the text with that filter.

-- 
Danh

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

end of thread, other threads:[~2022-10-25 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 11:43 [OUTREACHY] Unify ref-filter formats with other --pretty formats[Draft proposal] NSENGIYUMVA WILBERFORCE
2022-10-24 21:00 ` Christian Couder
2022-10-25 10:28   ` NSENGIYUMVA WILBERFORCE
2022-10-25 11:49     ` NSENGIYUMVA WILBERFORCE
2022-10-25 13:50     ` Đoàn Trần Công Danh

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 NNTP newsgroup(s).