public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
Cc: cygwin-apps@cygwin.com
Subject: Re: Automatic announcement generation by calm
Date: Sun, 14 Jan 2024 18:59:36 +0000	[thread overview]
Message-ID: <92d85c7e-28e3-46c7-922b-fc1c1c2873ca@dronecode.org.uk> (raw)
In-Reply-To: <48d33665-ca88-4699-9dd5-5030fc131e1c@Shaw.ca>

On 08/01/2024 13:42, Brian Inglis via Cygwin-apps wrote:
> On 2024-01-08 06:01, Thomas Wolff via Cygwin-apps wrote:
>> Am 08/01/2024 um 13:35 schrieb Corinna Vinschen via Cygwin-apps:
>>> On Jan  7 16:12, Jon Turney via Cygwin-apps wrote:
[...]
>>>> The mail follows a similar format to that generated by "cygport 
>>>> announce",
>>>> containing a list of packages and the description, with the following
>>>> addition:
> 
> Maybe also append:
>      "
>      For more information, see the project home page:
> 
>          $HOMEPAGE
>      "

Maybe.

I'm not sure how much value this adds, or the quality of the HOMEPAGE 
information we currently have.

>>>> * If the cygport defines the variable "ANNOUNCE", it's evaluated 
>>>> contents
>>>> will be appended to the generated mail.
> 
> Evaluated how - cygport variable expansion - commands?

This is evaluated using 'cygport vars', so yes, variables are expanded.

> Could ANNOUNCE variable contain a source file name or a URI?

No. Why would it need to do that when you can just use an ANNOUNCE file 
instead.

A URI seems a bad idea, as it's mutable (and potentially unavailable).

>>>> * Otherwise, if the source package contains an ANNOUNCE file [2], it's
>>>> contents will be appended.
> 
> Could ANNOUNCE be a symlink to $NAME-$PVR.$ARCH/origsrc/$SRC_DIR/NEWS?
> 

No. Don't do this. You should not assume the upstream source archive is 
unpacked.

Furthermore, this specific example seems bad, as typically this contains 
a historical list of changes, going back perhaps to the initial release.

If you find yourself wanting to write this, instead either arrange for 
that NEWS file to be installed and write "for further information see 
/usr/share/doc/FOO/NEWS', or point to it upstream.

There's currently no limit to the size of this mail (other than what the 
list itself imposes). Don't make have to add one.

[...]
>>>>
>>>>
>>>> In accordance with our long-standing policy of treating maintainer 
>>>> email
>>>> addresses as private information, the mail is sent from 
>>>> cygwin-no-reply and
>>>> bcc'ed to the uploader.
> 
[example snipped]
How is this different from what it currently does?

[...]
> 
>> I'd also appreciate to prefix the mail with an "[ANNOUNCEMENT] " tag 
>> as for the mails forwarded from cygwin-announcement to cygwin before 
>> that was stopped, to enhance the overview in users' mailboxes.
> 
> Spammy looking compared to "Updated: ..."?

This seems to be actually a request to change the cygwin-announce 
mailing list configuration, since presumably you want that on manually 
sent package announces and other announcements.

Have you considered having your email client filter or highlight if the 
'List-Id:' header contains 'cygwin-announce'.

> Maybe also update cygport ... announce to be as close as possible to calm?

I'm not going to do this because it's something I have no use for, but 
if someone else wants to, PTC.


      reply	other threads:[~2024-01-14 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-07 16:12 Jon Turney
2024-01-08 12:35 ` Corinna Vinschen
2024-01-08 13:01   ` Thomas Wolff
2024-01-08 13:42     ` Brian Inglis
2024-01-14 18:59       ` Jon Turney [this message]

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=92d85c7e-28e3-46c7-922b-fc1c1c2873ca@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --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).