From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WCPlJjiJW2H/YQEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 01:07:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QDKTIjiJW2ETbQAAB5/wlQ (envelope-from ) for ; Mon, 04 Oct 2021 23:07:36 +0000 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 7AFC412CF4 for ; Tue, 5 Oct 2021 01:07:35 +0200 (CEST) Received: from localhost ([::1]:35200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXX3W-0004KZ-FC for larch@yhetil.org; Mon, 04 Oct 2021 19:07:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXX30-0004K2-Rl for bug-guix@gnu.org; Mon, 04 Oct 2021 19:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXX30-0001oN-Bz for bug-guix@gnu.org; Mon, 04 Oct 2021 19:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXX30-0006Rk-5h for bug-guix@gnu.org; Mon, 04 Oct 2021 19:07:02 -0400 Subject: bug#27447: pelican-quickstart produces files with store path shebangs Resent-From: Ben Sturmfels Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 04 Oct 2021 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27447 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27447-done@debbugs.gnu.org Cc: Mark H Weaver , ng0 , zimoun Mail-Followup-To: 27447@debbugs.gnu.org, ben@sturm.com.au, ng0@infotropique.org Received: via spool by 27447-done@debbugs.gnu.org id=D27447.163338880224750 (code D ref 27447); Mon, 04 Oct 2021 23:07:02 +0000 Received: (at 27447-done) by debbugs.gnu.org; 4 Oct 2021 23:06:42 +0000 Received: from localhost ([127.0.0.1]:38583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXX2f-0006R8-MG for submit@debbugs.gnu.org; Mon, 04 Oct 2021 19:06:41 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXX2d-0006Qr-B7 for 27447-done@debbugs.gnu.org; Mon, 04 Oct 2021 19:06:40 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D63B35C0152; Mon, 4 Oct 2021 19:06:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 04 Oct 2021 19:06:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= w6Erq+psut5EjNlHgoxh4FaSfwJVaduirwXftmAAH3A=; b=GTnSgTZQRR0XGBUH LVSj0EafTgFCebrWmFwWvPBvBw99hM4vTeIVqn/FNxDkGEmRZ6zx7ghe3/bcfInO Wxip6XtlUQ0RyJDkl46hDHCZKW+RWGKeB5IiLPKr+VqpmMusazaxt8GcQIRlny3I a1jiCefaXFIVHLqSTiHMZBlHb9es9LvNrKs35Kkb/W2RJCoTBHlzKg3lv3SsAZnf 2hhlSat7HpyKZtHBrh+tvIYFxEvQwU3slIVLb4azgfCIZUttdgVMAVqk7OqEhhoU zRo9LZBQYxPeNJCEbtDOHb/gVxNhqqpsqqlWxoMgUfyjzVvfWbKbYpTXid3Pn9Vl sS0M6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=w6Erq+psut5EjNlHgoxh4FaSfwJVaduirwXftmAAH 3A=; b=LOK7ypfCEj0ohWx07mzasu8pwlXlQevb1rWjB/jLPoG7XA1PLy/btXpXY WFerhDLMnw56Gy1yaGFZG16TqFI7HIZOCMFwaZWE0BwtOjZISw/NkqMGLkTRVlr1 /na7UR5oBE+E2CYHunnMRiVZxty/JW3iQA10rlsYoTwwc1JETDQ6BZ7OO56AIcPd bqTcfR3RZD5yEJgT/VXnV5YLkszVuVt5ikZtliZKlvY+0nlB4Tmcasf7I0TQOOXm paiOefD2zjWbPaJH2ohLu5ZbwkYd8E4Ebz7fw6PYgFNj+lbPCtlI1vCeLsm9GaDg IOEXZ9F/DtuzQt5PJRiMd54MBhF3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelfedgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpeeuvghnucfuthhurhhmfhgvlhhsuceosggvnhesshhtuhhr mhdrtghomhdrrghuqeenucggtffrrghtthgvrhhnpefhheegfffhffeiudffudfhleehfe ffleejvdfhtefhveekheehveeutdelkeevjeenucffohhmrghinhepghhithhhuhgsrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsg gvnhesshhtuhhrmhdrtghomhdrrghu X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Oct 2021 19:06:30 -0400 (EDT) Received: from Marseille (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9a1d64ae; Mon, 4 Oct 2021 23:06:28 +0000 (UTC) References: <20170622123528.7xhnrkj5ksjznp3g@abyayala> <878rz82yrz.fsf@sturm.com.au> Date: Tue, 05 Oct 2021 10:06:28 +1100 In-Reply-To: <878rz82yrz.fsf@sturm.com.au> (Ben Sturmfels's message of "Tue, 05 Oct 2021 09:06:07 +1100") Message-ID: <8735pg2xvv.fsf@sturm.com.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Ben Sturmfels From: Ben Sturmfels via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633388856; h=from:from:sender:sender:reply-to: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-to: 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=w6Erq+psut5EjNlHgoxh4FaSfwJVaduirwXftmAAH3A=; b=tyfeul1pNfu52OkX5cHKk40vCgCPIvznMeVhxxz9e0YdxC+EZ4BOnMeZjYX6EQldkoVi8G K/9JoSuT23JqiNXslIXB8Qcz24IwmYLecsm1oO7pM6i3Kccr0newhmPnIzwEX3kmI28pxR d6kgthzKgrsn1n9ndUPlsvw1IgaHljYYvcXsiFwmCVZCtNiX30JjvM0GqZb83eSuTwgo47 ja4t52U/016YEWiDdK8PhWLf9cprNHN4ALWJaEcr5qgaP+B43ELMFjy/pS7M5U9d/Oywbz I85B6caXGtsA4PzKGgGD7+X1rkGkk62xDbQYPksLlIpiZVDcUSGok+VlTLRlfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633388856; a=rsa-sha256; cv=none; b=KJwmwZTvRXT5bJJ7WyTu3uCRX9Yo85xygb4yKhorueDEoZw82AZKLLXbZj0DviW/QtkF37 rrbMi4tsya2Zq2yKdrZUXnVKeT5whlZU8OqJB+LIaMEfUtiOT7Y0fg8DVpALdUWGJfb8h5 OjNuz9IH6FawjNOFb36Vi7iRCT84lRYcgsdsGJuDGzdpKQZWtwg3bWGxz4bmSf0J79TjgA mSOxc4KERQVTuJ5mbS1ONAkCjG/p6ARS7TehKUwRGQRYkcv3XR1VNt5Cw/LXbF0xqmOGZx Soaum6pKUJPa6NDeby0Rfd9wFRRhc/1DG661gkYmY9rrQllC78JvoDHJV57PHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sturm.com.au header.s=fm1 header.b=GTnSgTZQ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=LOK7ypfC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sturm.com.au header.s=fm1 header.b=GTnSgTZQ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=LOK7ypfC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 7AFC412CF4 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: hQ3cTeq9cg2P On Tue, 05 Oct 2021, Ben Sturmfels wrote: >> ng0 wrote on 22 Jun 2017 14:35: >> >> In a pelican directory after running pelican-quickstart: >> egrep -nr "store" >> =E2=80=A6 >> pelicanconf.py:1:#!/gnu/store/bf54hnwd8mb63zmssc23fwslf5zvxpxs-python-wr= apper-3.5.3/bin/python >> develop_server.sh:1:#!/gnu/store/k7029k5va68lkapbzcycdzj7m5bjb4b8-bash-4= .4.12/bin/bash >> publishconf.py:1:#!/gnu/store/bf54hnwd8mb63zmssc23fwslf5zvxpxs-python-wr= apper-3.5.3/bin/python > > This is a technically a bug, but it's in upstream and has no effect in > practise, so I'll close this bug report. Details below. > > As of Pelican 4.7.0 which I've just submitted an update patch for, > develop_server.sh is no longer created: > > $ egrep -nr "store" > pelicanconf.py:1:#!/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wra= pper-3.8.2/bin/python > publishconf.py:1:#!/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wra= pper-3.8.2/bin/python > > This is *technically* a bug because these configuration files are > created once when the user is setting up their blog and will be used > forever after. In practise though, there's no issue since these files > are not executable - they are configuration only. > > This also isn't a packaging bug in Guix, it's upstream as zimoun > suggests. Here's the first line of those files as generated by upstream > pelican-quickstart: > > $ head -n1 pelicanconf.py publishconf.py=20 > =3D=3D> pelicanconf.py <=3D=3D > #!/usr/bin/env python > > =3D=3D> publishconf.py <=3D=3D > #!/usr/bin/env python > > These upstream files should not contain shebangs since they are not > executable or ever intended to be executed directly - they're config > only and have no functionality. I've now submitted a patch upstream: https://github.com/getpelican/pelican/pull/2932 Closing.