Browse Source

mail things

master
Arti Zirk 4 years ago
parent
commit
978e127496
  1. 16
      .bin/prepare-patch.sh
  2. 2
      .config/neomutt/neomuttrc

16
.bin/prepare-patch.sh

@ -149,18 +149,18 @@ PATCH_DIR=$PATCH_TEMP_DIR/$TOPIC_NAME @@ -149,18 +149,18 @@ PATCH_DIR=$PATCH_TEMP_DIR/$TOPIC_NAME
rm -rf $PATCH_DIR
mkdir -p $PATCH_DIR
git format-patch $FORMAT_PATCH_FLAGS $BASE_HASH --output-directory $PATCH_DIR/
git format-patch --rfc $FORMAT_PATCH_FLAGS $BASE_HASH --output-directory $PATCH_DIR/
if [ $COMMIT_COUNT -ne "1" ]
then
COVER_LETTER="$PATCH_DIR/v$PATCH_VERSION-0000-cover-letter.patch"
split -p 'BLURB HERE' "$COVER_LETTER"
cat xaa > $COVER_LETTER
rm xaa
csplit "$COVER_LETTER" '/BLURB HERE/'
cat xx00 > $COVER_LETTER
rm xx00
printf "$URLS\n" >> $COVER_LETTER
! [ -e "$INTERDIFF" ] || cat "$INTERDIFF" >> $COVER_LETTER
tail -n +2 xab >> $COVER_LETTER
rm xab
tail -n +2 xx01 >> $COVER_LETTER
rm xx01
fi
! [ -e "$INTERDIFF" ] || rm "$INTERDIFF"
@ -223,8 +223,8 @@ REVIEWERS=$( @@ -223,8 +223,8 @@ REVIEWERS=$(
########################################################################
$(git config core.editor) $PATCH_DIR &
$(git config core.editor) $PATCH_DIR
echo ""
echo "Send patch with:"
echo "git push origin $TAG_NAME && git send-email $PATCH_DIR/* --to=git@vger.kernel.org $REVIEWERS --in-reply-to="
echo "git push origin $TAG_NAME && git send-email $PATCH_DIR/* --to=wireguard@lists.zx2c4.com $REVIEWERS --in-reply-to="

2
.config/neomutt/neomuttrc

@ -10,6 +10,8 @@ set spoolfile = +INBOX @@ -10,6 +10,8 @@ set spoolfile = +INBOX
set imap_check_subscribed
# NotMuch config
set nm_default_url = "notmuch:///home/arti/Mail"
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.

Loading…
Cancel
Save