From 0471c01103e163fb3fbfa114200928e6ffaa2693 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Tue, 7 Mar 2023 17:46:55 +0100 Subject: Implement Git Send Email This commit enables the Send Email functionality of Git in order to easily post patches to mailing lists. A Git configuration file constructor is prepared in order to compose its content from multiple Org blocks. The needed packages are declared in a service, and the initial sendemail configuration is defined. As a result, it is now possible to post patches directly from Git. --- aisaka.org | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'aisaka.org') diff --git a/aisaka.org b/aisaka.org index 16b8e65..c025baf 100644 --- a/aisaka.org +++ b/aisaka.org @@ -2,6 +2,8 @@ #+startup: overview #+property: header-args:scheme :noweb yes #+property: header-args:scheme+ :noweb-prefix yes +#+property: header-args:shell :noweb yes +#+property: Header-args:shell+ :noweb-prefix yes * TODO Guix @@ -260,6 +262,7 @@ https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html (services (list <> + <> (service (service-type (name 'org-fc-tn-package) @@ -391,11 +394,56 @@ https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html *** TODO git-config #+begin_src shell :tangle data/git-config + <> + <> +#+end_src + +**** TODO User Configuration + +#+begin_src shell :noweb-ref git-user-config [user] name = "Marek Paśnikowski" email = "marekpasnikowski@protonmail.com" #+end_src +* TODO Git Send Email + +https://git-send-email.io/ + +** TODO Installation + +https://git-send-email.io/#step-1 + +#+begin_src scheme :noweb-ref git-sendemail-packages + (service + (service-type + (name 'git-sendemail-packages) + (extensions + (list + (service-extension home-profile-service-type + (lambda (_) + (map + <> + (list + "git" + "git:send-email")))))) + (description "Git Send Email") + (default-value #f))) +#+end_src + +** TODO Configuration + +https://git-send-email.io/#step-2 + +#+begin_src shell :noweb-ref git-sendemail-config + [sendemail] + smtpencryption = tls + smtpserver = localhost + smtpserverport = 1025 + smtpsslcertpath = "" + smtpuser = marekpasnikowski@protonmail.com +#+end_src + * TODO LIBREBOOT The first layer of computing is the firmware. The Lenovo Thinkpad X200 has -- cgit v1.2.3