From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id D7290385842B for ; Mon, 8 Jan 2024 13:42:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D7290385842B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D7290385842B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=3.97.99.32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704721357; cv=none; b=ppI5vlkh6M6ek9pL7890H60jjgH0pqwgAG9PKpoFlsPrkKR2G13A+9EPSPypyhmSLcgXxEXgr620Gnt8g4obf9kmaxV8Nut2eZEEKymM40CWNHZqnn8C1UyOiYg7zM7/QDDBzKUfOKwqtaPMSUp0Gt/rEBvUle7eCimcft2bj2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704721357; c=relaxed/simple; bh=UpU9quNGWCoRZQ8maed1Itspqrwe24H0HuSiv7xsmjI=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Vemw4bkpY6r4JUf/rwOQsWkEF8UkSfUK+bGG6cD9GdWsts2yv6R7v+eBDMgcmuctVpQaqSDTvduwk/wDxedOEOuWrxC46AAnaSoEmJdz1V9Abtw45HDSK2zV5T5nOmPsXql1xUbMj52M2QLJcXnU1/Dl+dZvt98RBf+7hFD4OdY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id MnMWr95WqxDxGMptjrGTDX; Mon, 08 Jan 2024 13:42:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1704721355; bh=UpU9quNGWCoRZQ8maed1Itspqrwe24H0HuSiv7xsmjI=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=o2tFmAKHMG7aDJ3KQnH8Qv5qDzenhcHz25wTy1PgmYpu26Ups+0CpPUMu5LZChK7M I4WdTGXUqVXkGFaCgS83x8EbDMjt6sSHnJZWvMq4QSkDKL7RX1XBM1E6YICOTvcI6Z KHAv/PkiDHntjwbl2NVedsrvcDR/h1Z9ZJl+6rugidvc4FL8WYPAWrbjlKxuh1hERS YeTYDDxwXB8ZUH/rhC/wZdneu7s361fBf+6PbdBNfDlrHRiJxOwkVqOCAfcdHG3uzT GZnz9p9qjZWNar1SoEW3Ck+t5fNlgjqHjHaetg2K4SAj6ek5QKiZ+gPSyYvFpX3Iad fXQARVFsl3Jfw== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id Mptir5sMtZR3lMptjrgvu4; Mon, 08 Jan 2024 13:42:35 +0000 X-Authority-Analysis: v=2.4 cv=Lo2Bd1Rc c=1 sm=1 tr=0 ts=659bfbcb a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=vKebfVIyAAAA:8 a=LEc-RecxMBMRMZcKVf8A:9 a=QEXdDO2ut3YA:10 a=3H1JWpMQ7A0A:10 a=zZmuI_iMRXAA:10 a=K4XQBz1HBdoA:10 a=diTawE-iSxgA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=n2eEs4sum_sr8PAT1Mgn:22 Message-ID: <48d33665-ca88-4699-9dd5-5030fc131e1c@Shaw.ca> Date: Mon, 8 Jan 2024 06:42:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: cygwin-apps@cygwin.com Subject: Re: Automatic announcement generation by calm Content-Language: en-CA To: cygwin-apps@cygwin.com References: <99546a04-f0e0-425a-881a-6a54504bdcf9@dronecode.org.uk> <5d19b39d-26e9-45a6-a003-6b9f403a306f@towo.net> From: Brian Inglis Organization: Inglis In-Reply-To: <5d19b39d-26e9-45a6-a003-6b9f403a306f@towo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfE4UvVBmi3hkhfBdii78jc8QI0B/D10iEqEEd14xEFyA2lJmAK1jjkxg1K+/kokJCgGDVLBxhAbSTmlO3gWbyGHWV41nluJr/0NtCjCDYClDI/ekxQ3n vjJqm4iV/EDJNpaftb72tNEzzHgf9RsXtbdPDYZN8lo3UwP/U/U/Syr272GApy+8DVg8oi/q99SB0A== X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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: >>> 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: Maybe also append: " For more information, see the project home page: $HOMEPAGE " >>> * If the cygport defines the variable "ANNOUNCE", it's evaluated contents >>> will be appended to the generated mail. Evaluated how - cygport variable expansion - commands? Could ANNOUNCE variable contain a source file name or a URI? >>> * 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? >>> * 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. How about email headers: From: "Cygwin $NAME Maintainer" To: Cygwin Announcements Bcc: $SMTP_SENDER Reply-To: Cygwin Subject: Updated: $NAME $PVR >>> 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. > 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: ..."? Maybe also update cygport ... announce to be as close as possible to calm? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry