]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/TODO: New section "Make it easier to contribute".
authorStefan Kangas <stefankangas@gmail.com>
Sun, 23 Feb 2025 05:19:26 +0000 (06:19 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:48:36 +0000 (21:48 +0100)
(cherry picked from commit 99253f79703535ab7bd500fc39b33dc0a966333d)

etc/TODO

index 677aea1c646d50ad2be8d84e147e33be6283618f..e54237ef8c6442f9039ade59f616a15210a68711 100644 (file)
--- a/etc/TODO
+++ b/etc/TODO
@@ -209,6 +209,31 @@ https://lists.gnu.org/r/emacs-devel/2008-08/msg00456.html
 
 * Important features
 
+** Make it easier to contribute
+
+*** New script to catch common mistakes in patches.
+Examples of things to catch are missing or malformed ChangeLog, style
+issues in C, Lisp, and Texinfo, etc.  There is no need to be overly
+ambitious in a first draft, making a start is better than nothing.  It
+could draw inspiration from checkpatch.pl used by the Linux kernel.
+
+*** New make target or script to run tests for changed files.
+This might require some kind of data structure mapping a source file to
+the tests which exercise some of the code in that source file.  The
+first approximation is to run FOO-tests when you modify a file FOO, but
+some FOO's get used in many places in the test suite, so this is not a
+simple 1:1 relation.  Then we could ask contributors to run the relevant
+tests as part of the submission process.
+
+*** Automated emails to contributors when their commits make tests fail
+Having EMBA or something similar email the guilty parties in case of
+new test failures (or maybe even warnings) would be great.
+
+*** Automated testing of patches submitted to the bug tracker
+Create a bot that can run the above "check patch" script, and perhaps
+even run unit tests, for every patch submitted to the bug tracker, and
+then send an automated email with the results.  Can EMBA help with this?
+
 ** Speed up Elisp execution
 
 *** Speed up function calls