Christian Franke wrote: > The email generated by the cygport announce command is useful, but > actual use cases are somewhat limited due to the hard-coded email > submission. > > The attached patch adds more flexibility. The patch is on top of the > "Use correct wording if only one package is announced" patch. Slightly changed patch attached. Also adjusted to new version of "Use correct wording if only one package is announced" patch. > > Examples for cygport.conf settings: > > ANNOUNCE_EDITOR='printf "\\nRegards,\\n$PN package maintainer\\n" >>"$1"' > > ANNOUNCE_EDITOR=' > n=$(wc -l <"$1") && cat >>"$1" < >   >>> This is an update to the latest upstream release. >   >>> This is a bugfix release. >   <<< PLEASE EDIT >>> > > Regards, > $PN package maintainer > EOF > vim +$((n+2)) "$1" && ! grep -E "<<<|>>>" "$1" > ' > > ANNOUNCE_TO_CMD='cat "$1" >/dev/clipboard' > > ANNOUNCE_TO_CMD=' > sed "1,/^\$/d" "$1" >$PF-announcement.txt && > echo "Announcement placed here: $(pwd)/$PF-announcement.txt" > ' > > ANNOUNCE_TO_CMD=' > /usr/local/sbin/custom-mailer \ >   --sender="$SMTP_SENDER" \ >   --smarthost="$SMTP_SERVER" \ >   ...more...options... \ >   cygwin-announce@cygwin.com <"$1" > ' > Possible (better?) alternative names for the new settings: ANNOUNCEMENT_EDITOR ANNOUNCEMENT_MAILER