emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress on merging Eglot?


From: Payas Relekar
Subject: Re: Progress on merging Eglot?
Date: Mon, 19 Sep 2022 21:20:22 +0530
User-agent: mu4e 1.8.9; emacs 29.0.50

João Távora <joaotavora@gmail.com> writes:

> You're right.  Only people with access to the copyright file can check that.
>
> A unique list of author names and emails is very welcome.  You can filter
> out the authors whose only commit contains a line
>
> Copyright-paperwork-exempt: yes
>
> In the commit message.

Please find attached the list of authors without copyright exemption
string in commit message.

I tried to remove duplicates, but there are some by name and some by
email. The list is small enough that they can be identified with a
glance.

This is the filter used:

eglot_authors.py:
######
log = b""
if (not re.search(b"Copyright-paperwork-exempt: yes", commit.message)):
    log += b"\n" + commit.author_name + b"\t" + commit.author_email
    print(commit.author_name + b"\t" + commit.author_email)
    with open("temp", "a") as text_file:
        text_file.write(log.decode("utf-8"))
######

command:
*****
cd eglot && git filter-repo --commit-callback ../eglot_authors.py && cat \
temp | sort -h | uniq | sed 's/\t/\t\t/g'
*****

QnD, but good enough IMO.

Let me know for any corrections.

Thanks,
Payas

--

Attachment: eglot_authors.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]