This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport: 'announce' feature branch
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 03 Nov 2015 10:01:06 -0600
- Subject: Re: cygport: 'announce' feature branch
- Authentication-results: sourceware.org; auth=none
- References: <1446537985 dot 10444 dot 84 dot camel at cygwin dot com> <20151103085708 dot GA17092 at calimero dot vinschen dot de>
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