public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: cygport: 'announce' feature branch
Date: Tue, 03 Nov 2015 16:01:00 -0000	[thread overview]
Message-ID: <1446566466.9596.10.camel@cygwin.com> (raw)
In-Reply-To: <20151103085708.GA17092@calimero.vinschen.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


  reply	other threads:[~2015-11-03 16:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03  8:06 Yaakov Selkowitz
2015-11-03  8:57 ` Corinna Vinschen
2015-11-03 16:01   ` Yaakov Selkowitz [this message]
2015-11-03 23:23 ` Ken Brown
2015-11-04  0:10   ` Yaakov Selkowitz
2015-11-04  9:03     ` Corinna Vinschen
2015-11-04 16:12     ` Ken Brown
2015-11-15 21:32       ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446566466.9596.10.camel@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).