From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 1B8B83858CDB; Mon, 8 Jan 2024 12:35:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B8B83858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1704717309; bh=ZWzITQnV2xyPw5kKhi7k/2rKCQdwe/yW6FE1vw4dT9g=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=v0uTzj2J5mETUeFSbKLD0z6WiHQ38nw+iVz05aml2ft+yX04q+Ld4G0AmmmQtIPH5 v9cZEXOZ+5qzXr8OUhcdtu/z2tYZo0WOjGM7jnsWJV1C8A6sTtlnk3hYnKC3+liI1k Ax40AeRMhewWupLPtCYWK7u+VtYs9POccaqAguSY= Received: by calimero.vinschen.de (Postfix, from userid 500) id 3B79EA808A0; Mon, 8 Jan 2024 13:35:07 +0100 (CET) Date: Mon, 8 Jan 2024 13:35:07 +0100 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: Automatic announcement generation by calm Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <99546a04-f0e0-425a-881a-6a54504bdcf9@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <99546a04-f0e0-425a-881a-6a54504bdcf9@dronecode.org.uk> List-Id: On Jan 7 16:12, Jon Turney via Cygwin-apps wrote: > This is an experimental facility, currently only available for packages > deployed from the build service [1] (that is, not for self-built packages > uploaded with 'cygport up' via sftp) > > When the token "announce" is present for a build job (in addition to > "deploy"), after a successful deploy, calm will automatically generate and > send an announce email. > > The mail follows a similar format to that generated by "cygport announce", > containing a list of packages and the description, with the following > addition: > > * If the cygport defines the variable "ANNOUNCE", it's evaluated contents > will be appended to the generated mail. > > * Otherwise, if the source package contains an ANNOUNCE file [2], it's > contents will be appended. > > * Otherwise, if the source package contains a README or ${PN}.README file, > lines that look like part of a changelog, between one starting with '---- > ${PVR}' and the next starting '----', will be extracted and appended > > (None of these seem like a particularly great way of doing things, but they > match some historical patterns. As always, suggestions about improvements > are welcome.) > > > 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. > > > For testing purposes, if the token "mock" (yes, I am running out of synonyms > for "test"...) is also present, the mail will be only sent to the uploader, > not the announce list. > > > [1] https://cygwin.com/packaging/build.html > [2] Note that this isn't currently part of the default value of CYGWIN_FILES > [3], so needs to be explicitly listed there to be included in the source > package > [3] https://cygwin.github.io/cygport/src_prep_cygpart.html#CYGWIN_FILES :+1: Unfortunately I started the OpenSSH 9.6 build before reading this here, but that's some great addition. Corinna