From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Generate NEWS.XX.Y.html file for Emacs website Date: Thu, 15 Sep 2022 01:39:44 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14491"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 11:43:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYlPH-0003Wp-Fb for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 11:43:39 +0200 Original-Received: from localhost ([::1]:49426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYlPG-0003UC-38 for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 05:43:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYkPU-0007bA-P5 for emacs-devel@gnu.org; Thu, 15 Sep 2022 04:39:51 -0400 Original-Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]:42780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYkPS-00088t-Kn for emacs-devel@gnu.org; Thu, 15 Sep 2022 04:39:48 -0400 Original-Received: by mail-oi1-x235.google.com with SMTP id p187so1375579oia.9 for ; Thu, 15 Sep 2022 01:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date; bh=UG60awUcRNXITvGG3ZDNgWk3MlB1z22x75ii+OHMCa0=; b=BRaH5IioTkaW2tOGGFSWsnKq6U5UitVPHVkVVfxshaxyIhA4lXebTZ415j7XW6TN/5 UzD/qtnmbZFS3Fkypr+YfbD89ENXJOZ/5/+Ut3d+zwlgd2y2nmqsS6aUK1T0Gv/k8m8S G4pBpX+tIT+rnPoPO1SnahxjjnD/U+H/nTPOjtyqm3+Y3crNPITgW2tMNes7rh23xCn7 ZGDRFjIVVNHdfDeNl/DF5bG3INn5p0g2Pbq1S8jmun6ylwdSv2uNUb2Tw+IWnxmrYSNS x43U6DEKb6b5pERnL9Umyj1y/R4gQ+JteUoV2eLUzBvm8MrlZHIseSFf/nP0Qm/ujhpf eaQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date; bh=UG60awUcRNXITvGG3ZDNgWk3MlB1z22x75ii+OHMCa0=; b=JV4pWRPc3T0GR3sqlqnXgz71kKa/oh4nkuP5ahkA6VvOM4w5MxPUP+7PDtdm33AHgi MQ9lQsGyLNLq8dEZ/thq9TuC5gxQ9O85ScijPgFjXWKSEdVcSqO729daAPtjJeTWtEBc RGwGMWNFAIP85KMUTLkwzQshM6iyRQ49yeXgoPBrnhDhb8PnM/Fz8Vr5DUSQiTQs1Rxj 3IXWk0NJg6LH540GQKPQv7am1CRRCw4J1J3VxUgE2ZrDcqlpkPBQdzaW7zG+vuaO5SK7 7LvNuqLzknbbITKFpC/ICXDnB0qnTn6EqB27+VuXD1d5BU+V35utd75fgkH9Xdr3RvuH MhFw== X-Gm-Message-State: ACgBeo3a2BrTbnZ10s2kxbdNs5E7FSsrWUEAvx9JdRAu2pcQaWLGn64l iLXhOeIYO0HMO6WQpcQfjtnDok2qxtoknmvRqS/oy/6p X-Google-Smtp-Source: AA6agR6rcVu8lxY/skvIBdkzftcBz2qDOxbyfo+Qkf6zK6BYY2dvATTv/8mPqlAVgdmfndQGfF9J9KJAxGJ3jbPwc40= X-Received: by 2002:a05:6808:1a09:b0:350:1e6a:e469 with SMTP id bk9-20020a0568081a0900b003501e6ae469mr2433397oib.92.1663231184728; Thu, 15 Sep 2022 01:39:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 15 Sep 2022 01:39:44 -0700 Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x235.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295408 Archived-At: [I'm creating a new thread for generating HTML versions of etc/NEWS for the website. This is continued from the discussion starting here: https://lists.gnu.org/r/emacs-devel/2022-09/msg00759.html ] Eli Zaretskii writes: > [P]lease describe what is needed (which commands and packages, and how > to use them) to produce this HTML version. The command is: ./src/emacs -l admin/admin.el -f make-news-html-file mv etc/NEWS.XX.Y.html $EMACS_WEBROOT/news cd $EMACS_WEBROOT cvs commit -m "Update NEWS.XX.Y.html" news/NEWS.XX.Y.html Please see `make-news-html-file' in admin/admin.el for more details. It's still a work in progress, of course, but I'm happy to work on it. > Also, how will this HTML version be maintained, after it is produced. The easiest option is to just leave the old generated HTML files alone and update them only if absolutely necessary. But it'd be better if we could generate HTML versions of all etc/NEWS.* files whenever we make a new release. I didn't yet look into this, so I don't know how realistic this is, but I have a hunch that it's doable. Maybe we will only be able to do it for releases newer than Emacs 21 (or something) though. We would then also need to add some code to delete all the Emacs 28.2 stuff from "NEWS.28.1.html". Maybe we would want to trim out the Emacs 28.1 headlines from "NEWS.28.2.html"? I'm not sure. The second option has the added benefit that any fixes or additions we make in old NEWS files would eventually propagate to the website.