Previous: Conventions, Up: Contribution Guidelines [Contents]
As mentioned, the preferred way of contribution is via patches. The easiest way
for sending git mails without git send-email
is using msmtp
.
You can install it from the repository by doing:
$ cpt b msmtp && cpt i msmtp
You can then edit ~/.config/msmtp/config to add your email. Here is an
example configuration, you can use pass
, pash
, or any other
password manager that fits your needs:
defaults auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile ~/.config/msmtp/msmtp.log account my-mail host mail.example.com port 587 from me@example.com user me@example.com passwordeval "pass my-mail"
In order to simply send your patch, do the following:
$ git format-patch --to=~carbslinux/dev+subscribe@lists.sr.ht -1 --stdout | msmtp -t -a my-mail
You can also send multiple patches by doing the following:
$ git format-patch --to=~carbslinux/dev+subscribe@lists.sr.ht <region> Edit those files as necessary and send them. $ for file in *.patch; do msmtp -t -a my-mail < $patch; done