v01d commented on issue #128:
URL: https://github.com/apache/incubator-nuttx/issues/128#issuecomment-694413112


   I've been writing some scripts which convert the output of git log (over a 
given file) into JSON format, to obtain metadata for each revision of the file. 
The final JSON contains (among other information): commit author, commit 
message and blob hash for the file.
   I then started writing a python script to parse the JSON and extract (using 
regular expressions) authors from commit message and file header, in each 
commit. It is working nicely so far.
   The final goal would be to determine if a given file passes the previously 
discussed checks for the easy cases that can be moved to Apache header. The 
python script could also be used to make the header change and commit the 
result.
   
   I will work a bit more on this and open a draft PR (to add the script inside 
tools/).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to