From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AO1ADjx2Fmco7wAA62LTzQ:P1 (envelope-from ) for ; Mon, 21 Oct 2024 15:41:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AO1ADjx2Fmco7wAA62LTzQ (envelope-from ) for ; Mon, 21 Oct 2024 17:41:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PUupxEOd; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Q/qa7nNY"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729525307; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5nkcch/l4Swy4Tr28y7PRmSxpqVOZKjjIx4EdTE16bA=; b=UpUOsAHmu/fHpQvXcDwZxaEbZuxE9lKYuBGvaMJEZY/l/Hd5GnwXunKzNqF94oauiwZ/G6 TaXOBeMq3GfTyznWJnmBF3wwP8lMuNjWd1gvxRgvpObES9Y2/c20/EZq0wj3GCTJl0G+ta +6ZZzsokjSh7iBHJStQqc/tLm+0BgMNd20S9WDWN32kx1L8HHe1X7BVpfMANpMOPDr6lvF UybE0dA9w+u9uLI3XXJofuKEEXWZ+9z3mF/2DQNQVbbs9O4JP19hmRLlqCATGmXiBisAaa nwM/8o/paHfJZVlo330KnS0bpMREakLCKUVeBA2G12yWZK5e3/YXSb8jn4zDhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729525307; a=rsa-sha256; cv=none; b=Yc3/gzTXMI3YhkxygaOXAUdaJQRtsMNGbw1a3r4vP3xkNCsDsrBM1HiJeHaK8OKCNusXzj VdRu0/VQfAX3/mtdnNbjfgq8IeBe3Qkv0XB7aVE2yKvUapWWHThfr9V8rVw+dmFKYY6Vw9 xOPoreEYna7A3JO1f53wAEhsGA9w8EB2XiI3S24ABEKj3EBH0AzIWcXKzZO8VUfVGHGOIT u4C6Ur77GCrrRkqjyXY6S5fhmBdA0/rpyPTbN634GNB9wvntD8K9nWGYoapTHqQ2x2OYR8 sv0gmGFLXqVxnEW+v+L25OWqSotaRLl9oQNdZBCe+IS4H0MyzW9vkjHnWcMwBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PUupxEOd; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Q/qa7nNY"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9D545F559 for ; Mon, 21 Oct 2024 17:41:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2uXJ-00079Y-Rs; Mon, 21 Oct 2024 11:41:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2uXI-000796-DJ for guix-patches@gnu.org; Mon, 21 Oct 2024 11:41:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2uXI-0007lr-54 for guix-patches@gnu.org; Mon, 21 Oct 2024 11:41:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5nkcch/l4Swy4Tr28y7PRmSxpqVOZKjjIx4EdTE16bA=; b=PUupxEOd/10SnWm6NB8YBxFobQWGXFSEbqKCbGqqb2NWiyRiFIn9mEsvVKtgeKOWVqt2EsieEBDsIQR5vF38gRweN+xa10sjnM8uvJDKKea+BA5qt4mZtGPUNDpWKE3cfAvRPaHoOClGqb7W37jH5ahwzjjfS1Sg9zNCgLUTSIMPDdDccOrVXQLl7OorAz0rtS6KMVlMY4E5+ymULFrNEmjlpqI/lmTrKtAeZRGgd5YqtiuNZxXe4JAJAllwfztblbJeZgltAPpvnQlynHazeVe/4YQuwShK0fUtxWT7BXHtDN2geFoFTJyCsNeLVXqLbVZyxIvMAjX3sFiYYrUw/g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2uXi-00086t-MN for guix-patches@gnu.org; Mon, 21 Oct 2024 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73439] [PATCH v5 1/5] import: Add %libreoffice-updater. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Oct 2024 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73439 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: 73439@debbugs.gnu.org Received: via spool by 73439-submit@debbugs.gnu.org id=B73439.172952527331089 (code B ref 73439); Mon, 21 Oct 2024 15:42:02 +0000 Received: (at 73439) by debbugs.gnu.org; 21 Oct 2024 15:41:13 +0000 Received: from localhost ([127.0.0.1]:52973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2uWv-00085M-3A for submit@debbugs.gnu.org; Mon, 21 Oct 2024 11:41:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2uWl-00084W-FX for 73439@debbugs.gnu.org; Mon, 21 Oct 2024 11:41:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2uWE-0007g9-Lr; Mon, 21 Oct 2024 11:40:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=5nkcch/l4Swy4Tr28y7PRmSxpqVOZKjjIx4EdTE16bA=; b=Q/qa7nNYCVhTccOE99pS gWI2VKbi8/lUYYa2UpApqUA86QsTQGSHtjET2+DwP6mQMzt9WkvDzRVBEhyD5pxtB29UWuaUscoyj UiHdhcH+4pFzKYi/jBsohSc4ViGWumW4fc5QiTE45Gsb3o9nO937BiS66VRj95oWuQBNREXB6P7E+ Ala0f+s7tc6cBsXOGDJv/Ckk7Yfj9Qp6xYRvKT3Ka4kgdFVFXTsHY60/ZYlD0hF4spXENMmIFWcs5 jcX2mSGFdATao4Vg1pQL5KbX8e/u3noPjyGEy6nO6qsOYNvRwURR08kEtF66cjhE0gyu1vf02ScBM fqHhhnO+vgTcEQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87ed4dv603.fsf@ngraves.fr> (Nicolas Graves's message of "Fri, 18 Oct 2024 16:29:48 +0200") References: <20240923122128.14126-1-ngraves@ngraves.fr> <20241016170744.15991-1-ngraves@ngraves.fr> <87o73hpp70.fsf@gnu.org> <87ed4dv603.fsf@ngraves.fr> Date: Mon, 21 Oct 2024 17:40:26 +0200 Message-ID: <878quhea6t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.45 X-Spam-Score: -3.45 X-Migadu-Queue-Id: D9D545F559 X-Migadu-Scanner: mx13.migadu.com X-TUID: 0tUMEfilq4kL Howdy, Nicolas Graves skribis: > On 2024-10-18 14:31, Ludovic Court=C3=A8s wrote: [...] >> This is terrible. :-) >> >> (guix import go) and (guix gnu-maintenance) use (htmlprag) for that. >> Would that work for you? > > No issue for that, but I don't get how this works by looking at the > source code only, hence my dirty hacks ;) (htmlprag) is a =E2=80=9Cpragmatic=E2=80=9D HTML parser, meaning that it ca= n cope with old style HTML that is not valid XML. Essentially, you=E2=80=99d use =E2=80=98html->sxml=E2=80=99 from (htmlprag) instead of =E2=80=98xml->sxml= =E2=80=99. >> Thinking about it, the strategy looks very similar to that of the >> =E2=80=98generic-html=E2=80=99 updater. >> >> Would it be enough to add a =E2=80=98release-monitoring-url=E2=80=99 pro= perty to the >> relevant LibreOffice packages? > > Actually now I don't really now anymore what was possible and what was > not. I remember trying and successfully updating libreoffice without > this patch once, but not able to reproduce. > > With more experimentation : > - the current release-monitoring-url is able to update to the > latest-version, but isn't able to udpate to a --target-version > - same thing for my libreoffice-latest-url > > I guess we don't want to maintain this code if we are able to keep being > up-to-date. Let's skip this commit and merge others once QA is done with > them. I can always cherry-pick this patch in the future if I need it. Sounds good. Thanks for checking! Ludo=E2=80=99.