From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 04 19:06:41 2021 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) From: Ben Sturmfels To: 27447-done@debbugs.gnu.org Subject: Re: bug#27447: pelican-quickstart produces files with store path shebangs 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27447-done Cc: Mark H Weaver , ng0 , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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.