Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-27 Thread Guru Das Srinagesh
On Sep 26 2023 17:32, Pavan Kondeti wrote: > On Sat, Aug 26, 2023 at 01:07:42AM -0700, Guru Das Srinagesh wrote: > > +def gather_maintainers_of_file(patch_file): > > +all_entities_of_patch = dict() > > + > > +# Run get_maintainer.pl on patch file > > +logging.info("GET: Patch: {}".forma

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-27 Thread Guru Das Srinagesh
On Sep 27 2023 10:21, Pavan Kondeti wrote: > On Mon, Aug 28, 2023 at 10:21:32AM +0200, Krzysztof Kozlowski wrote: > > On 26/08/2023 10:07, Guru Das Srinagesh wrote: > > > This script runs get_maintainer.py on a given patch file (or multiple > > > patch files) and adds its output to the patch file i

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Tue, Sep 26, 2023 at 05:32:10PM +0530, Pavan Kondeti wrote: > On Sat, Aug 26, 2023 at 01:07:42AM -0700, Guru Das Srinagesh wrote: > > +def gather_maintainers_of_file(patch_file): > > +all_entities_of_patch = dict() > > + > > +# Run get_maintainer.pl on patch file > > +logging.info("G

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Mon, Aug 28, 2023 at 10:21:32AM +0200, Krzysztof Kozlowski wrote: > On 26/08/2023 10:07, Guru Das Srinagesh wrote: > > This script runs get_maintainer.py on a given patch file (or multiple > > patch files) and adds its output to the patch file in place with the > > appropriate email headers "To:

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Sat, Aug 26, 2023 at 01:07:42AM -0700, Guru Das Srinagesh wrote: > +def gather_maintainers_of_file(patch_file): > +all_entities_of_patch = dict() > + > +# Run get_maintainer.pl on patch file > +logging.info("GET: Patch: {}".format(os.path.basename(patch_file))) > +cmd = ['scripts