linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [Linux-kernel-mentees] Evaluate and Improve checkpatch
       [not found] <b842e923-f7b0-e732-7c0e-bdd795d905ae@gmail.com>
@ 2020-08-17  9:35 ` Lukas Bulwahn
  2020-08-21  5:59   ` Piyush Thange
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Bulwahn @ 2020-08-17  9:35 UTC (permalink / raw)
  To: Piyush Thange; +Cc: linux-kernel-mentees


Hi Piyush,

On Fri, 14 Aug 2020, Piyush Thange wrote:

> Hello sir, myself Piyush Thange I'm a junior student of Computer Engineering.
> I'm interested in the project - "Evaluate and Improving checkpatch.pl" and
> willing to contribute to the project.
> Please I would like to know more about this project and if you have any
> specific task please provide it to me.
>

The zeroth task is to learn suitable netiquette for the communication with 
the kernel community.

First, please do not top-post.

    A: Because we read from top to bottom, left to right.
    Q: Why should I start my reply below the quoted text?

    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?

    A: The lost context.
    Q: What makes top-posted replies harder to read than bottom-posted?

    A: Yes.
    Q: Should I trim down the quoted part of an email to which I'm 
replying?

Second, please always CC: linux-kernel-mentees@lists.linux-foundation.org.

Third, set up your email client according to the kernel community rules.



Then, the first task is to run checkpatch.pl on a few kernel patches and
collect the results. When you have that, please share your script with
me, e.g., in a github repository.


Hints to the first task:

Can you create a list of all non-merge commits that were added in the
version v5.8 of the kernel, i.e., all non-merge commits that are in v5.8
and not already in v5.7?

Can you share the script/command you executed and the resulting list on 
github?

Can you run your script on all commits of this list above and record
all checkpatch.pl reports, and store them in your github repository?

Can you suggest ideas how to aggregate the findings and create a
statistics? For example: Which type of error is reported most?
Can you implement that idea?


I also suggest to have a look at
the options ./scripts/checkpatch.pl --list-types and
./scripts/checkpatch.pl --show-types. The option --show-types changes
the output of checkpatch.pl to list type identifiers, so it is easier
to parse and aggregate the output.

Please also share the script you create for that purpose on your
github repository.



The second task is to pick one warning that appears often and improve
checkpatch.pl to handle that better and get it accepted by the kernel
community.

Hints to the second task follow when the first task is solved.

If you fail on any of those tasks, you are out of the selection process.


Lukas
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

* Re: [Linux-kernel-mentees] Evaluate and Improve checkpatch
  2020-08-17  9:35 ` [Linux-kernel-mentees] Evaluate and Improve checkpatch Lukas Bulwahn
@ 2020-08-21  5:59   ` Piyush Thange
  2020-08-21  7:24     ` Lukas Bulwahn
  0 siblings, 1 reply; 5+ messages in thread
From: Piyush Thange @ 2020-08-21  5:59 UTC (permalink / raw)
  To: Lukas Bulwahn; +Cc: linux-kernel-mentees

On 17/08/20 3:05 pm, Lukas Bulwahn wrote:
> 
> Hi Piyush,
> 
> On Fri, 14 Aug 2020, Piyush Thange wrote:
> 
>> Hello sir, myself Piyush Thange I'm a junior student of Computer Engineering.
>> I'm interested in the project - "Evaluate and Improving checkpatch.pl" and
>> willing to contribute to the project.
>> Please I would like to know more about this project and if you have any
>> specific task please provide it to me.
>>
> 
> The zeroth task is to learn suitable netiquette for the communication with
> the kernel community.
> 
> First, please do not top-post.
> 
>      A: Because we read from top to bottom, left to right.
>      Q: Why should I start my reply below the quoted text?
> 
>      A: Because it messes up the order in which people normally read text.
>      Q: Why is top-posting such a bad thing?
> 
>      A: The lost context.
>      Q: What makes top-posted replies harder to read than bottom-posted?
> 
>      A: Yes.
>      Q: Should I trim down the quoted part of an email to which I'm
> replying?
> 
> Second, please always CC: linux-kernel-mentees@lists.linux-foundation.org.
> 
> Third, set up your email client according to the kernel community rules.
> 
> 
> 
> Then, the first task is to run checkpatch.pl on a few kernel patches and
> collect the results. When you have that, please share your script with
> me, e.g., in a github repository.
> 
> 
> Hints to the first task:
> 
> Can you create a list of all non-merge commits that were added in the
> version v5.8 of the kernel, i.e., all non-merge commits that are in v5.8
> and not already in v5.7?
> 
> Can you share the script/command you executed and the resulting list on
> github?
> 
> Can you run your script on all commits of this list above and record
> all checkpatch.pl reports, and store them in your github repository?
> 
> Can you suggest ideas how to aggregate the findings and create a
> statistics? For example: Which type of error is reported most?
> Can you implement that idea?
> 
> 
> I also suggest to have a look at
> the options ./scripts/checkpatch.pl --list-types and
> ./scripts/checkpatch.pl --show-types. The option --show-types changes
> the output of checkpatch.pl to list type identifiers, so it is easier
> to parse and aggregate the output.
> 
> Please also share the script you create for that purpose on your
> github repository.
> 
> 
> 
> The second task is to pick one warning that appears often and improve
> checkpatch.pl to handle that better and get it accepted by the kernel
> community.
> 
> Hints to the second task follow when the first task is solved.
> 
> If you fail on any of those tasks, you are out of the selection process.
> 
> 
> Lukas
> 

Hello everyone,
As mentor Lukas Bulwahn have provided the first task 1, I've collected 
some results for the patches on kernel v5.8
Please do check. And If any issues please respond

https://github.com/its-crypted/Evaluate-and-Improve-checkpatch.pl


Regards,

Piyush Thange
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

* Re: [Linux-kernel-mentees] Evaluate and Improve checkpatch
  2020-08-21  5:59   ` Piyush Thange
@ 2020-08-21  7:24     ` Lukas Bulwahn
  2020-08-21 13:28       ` Piyush Thange
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas Bulwahn @ 2020-08-21  7:24 UTC (permalink / raw)
  To: Piyush Thange; +Cc: linux-kernel-mentees



On Fri, 21 Aug 2020, Piyush Thange wrote:

> > 
> > Hints to the first task:
> > 
> > Can you create a list of all non-merge commits that were added in the
> > version v5.8 of the kernel, i.e., all non-merge commits that are in v5.8
> > and not already in v5.7?
> > 
> > Can you share the script/command you executed and the resulting list on
> > github?
> > 
> > Can you run your script on all commits of this list above and record
> > all checkpatch.pl reports, and store them in your github repository?
> > 
> > Can you suggest ideas how to aggregate the findings and create a
> > statistics? For example: Which type of error is reported most?
> > Can you implement that idea?
> > 
> > 
> > I also suggest to have a look at
> > the options ./scripts/checkpatch.pl --list-types and
> > ./scripts/checkpatch.pl --show-types. The option --show-types changes
> > the output of checkpatch.pl to list type identifiers, so it is easier
> > to parse and aggregate the output.
> > 
> > Please also share the script you create for that purpose on your
> > github repository.
> > 
> > 
> > 
> > The second task is to pick one warning that appears often and improve
> > checkpatch.pl to handle that better and get it accepted by the kernel
> > community.
> > 
> > Hints to the second task follow when the first task is solved.
> > 
> > If you fail on any of those tasks, you are out of the selection process.
> > 
> > 
> > Lukas
> > 
> 
> Hello everyone,
> As mentor Lukas Bulwahn have provided the first task 1, I've collected some
> results for the patches on kernel v5.8
> Please do check. And If any issues please respond
> 
> https://github.com/its-crypted/Evaluate-and-Improve-checkpatch.pl
> 
>

I had a look and it is a starting point of task 1.

My request below is not addressed yet:

> > Can you run your script on all commits of this list above and record
> > all checkpatch.pl reports, and store them in your github repository?
> >
> > Can you suggest ideas how to aggregate the findings and create a
> > statistics? For example: Which type of error is reported most?

Can you answer the question: Which type of error is reported most on all 
commits from v5.8?

Lukas
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

* Re: [Linux-kernel-mentees] Evaluate and Improve checkpatch
  2020-08-21  7:24     ` Lukas Bulwahn
@ 2020-08-21 13:28       ` Piyush Thange
  2020-08-21 15:38         ` Lukas Bulwahn
  0 siblings, 1 reply; 5+ messages in thread
From: Piyush Thange @ 2020-08-21 13:28 UTC (permalink / raw)
  To: Lukas Bulwahn; +Cc: linux-kernel-mentees

On 21/08/20 12:54 pm, Lukas Bulwahn wrote:
Hello sir
> My request below is not addressed yet:
> 
>>> Can you run your script on all commits of this list above and record
>>> all checkpatch.pl reports, and store them in your github repository?
>>>
>>> Can you suggest ideas how to aggregate the findings and create a
>>> statistics? For example: Which type of error is reported most?
> 
> Can you answer the question: Which type of error is reported most on all
> commits from v5.8?
> 
> Lukas
> 
Hello sir,
I've update the files on github. please check if it's correct

https://github.com/its-crypted/Evaluate-and-Improve-checkpatch.pl/blob/master/README.md

Regards,

Piyush T.
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

* Re: [Linux-kernel-mentees] Evaluate and Improve checkpatch
  2020-08-21 13:28       ` Piyush Thange
@ 2020-08-21 15:38         ` Lukas Bulwahn
  0 siblings, 0 replies; 5+ messages in thread
From: Lukas Bulwahn @ 2020-08-21 15:38 UTC (permalink / raw)
  To: Piyush Thange; +Cc: linux-kernel-mentees



On Fri, 21 Aug 2020, Piyush Thange wrote:

> On 21/08/20 12:54 pm, Lukas Bulwahn wrote:
> Hello sir
> > My request below is not addressed yet:
> > 
> > > > Can you run your script on all commits of this list above and record
> > > > all checkpatch.pl reports, and store them in your github repository?
> > > > 
> > > > Can you suggest ideas how to aggregate the findings and create a
> > > > statistics? For example: Which type of error is reported most?
> > 
> > Can you answer the question: Which type of error is reported most on all
> > commits from v5.8?
> > 
> > Lukas
> > 
> Hello sir,
> I've update the files on github. please check if it's correct
> 
> https://github.com/its-crypted/Evaluate-and-Improve-checkpatch.pl/blob/master/README.md
>

You still have not aggregated the data that checkpatch.pl reports, such 
that you can answer the question above.

Let's make it simple for both of us:

If you cannot answer with your next email response, you finished the 
selection process for this mentorship.

Lukas
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

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

end of thread, other threads:[~2020-08-21 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b842e923-f7b0-e732-7c0e-bdd795d905ae@gmail.com>
2020-08-17  9:35 ` [Linux-kernel-mentees] Evaluate and Improve checkpatch Lukas Bulwahn
2020-08-21  5:59   ` Piyush Thange
2020-08-21  7:24     ` Lukas Bulwahn
2020-08-21 13:28       ` Piyush Thange
2020-08-21 15:38         ` Lukas Bulwahn

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