On Tue, 2015-11-03 at 09:57 +0100, Corinna Vinschen wrote: > On Nov 3 02:06, Yaakov Selkowitz wrote: > > I just created a new 'announce' feature branch in cygport git: > > > > https://github.com/cygwinports/cygport/tree/announce > > > > The new 'announce' command generates an announcement template from > > the .cygport file based on NAME/VERSION/RELEASE, PKG_NAMES, and > > DESCRIPTION, to which you can easily add release-specific information, > > and then sends the message via an SMTP server. Note that this adds > > dependencies on perl-Authen-SASL, perl-MIME-tools, and > > perl-Net-SMTP-SSL, and requires several new SMTP_* configuration options > > in cygport.conf. > > > > Feedback and patches welcome. > > Sounds cool. Do you have an example how to configure and use it?
The new settings are all documented in data/cygport.conf, and are similar in concept to the sendemail.from and sendemail.stmp* settings in git; if you have git send-email working then this should be straight-forward. Just be sure to 0600 your file if you store an SMTP_PASS (as mentioned in the documentation). Once configured, run 'cygport NAME.cygport announce' and it will open a template email in mbox format in $EDITOR; add any release-specific information, exit the editor normally, and the email is sent. What this does need still is robustness; e.g. being able to cancel sending the announcement, or dealing with a misformed mbox caused by poor editing. The ability to automatically add a signature may also be desirable. As for the results, my announcements from last night starting from gmic on were all generated by cygport announce. -- Yaakov