From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 04 18:47:32 2021 Received: (at 27447) by debbugs.gnu.org; 4 Oct 2021 22:47:32 +0000 Received: from localhost ([127.0.0.1]:38569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXWk1-0005vT-Ts for submit@debbugs.gnu.org; Mon, 04 Oct 2021 18:47:32 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:36453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXWjz-0005uc-OF for 27447@debbugs.gnu.org; Mon, 04 Oct 2021 18:47:24 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 542445C017F for <27447@debbugs.gnu.org>; Mon, 4 Oct 2021 18:47:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 04 Oct 2021 18:47:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=fm1; bh=2UzOov4ZYWe7Putu7fU3NfyDjv 5gVhL7JKlUaiAzrAI=; b=VVsBrwQ+YTH+M3Ava1mkyf0civK/5Z281we9QzwxNV 7/62ssLg4XOIr9EDNqD55fT4bLp11mJ7g1+lbT1rfq+zynj5LfyL4dhhSOYZdZ2I HK54ys/ojDiVJt3n/WTeu8sXL/kJGXvN+UwQi6/DZzuv3X9Zedy1wlrSX4prjbz1 WnlGTmTPiTpUVhrt93vnKgt5Rc7J16DPHjYq1OMj+H5zrrxxkTxDgZybuSaRfc7Q BZck/mTtDovay+xTvQw/9JmPFsdqBTWoukOwaEt7SvTmwfeqyd5w4rMoR06xbvL9 hen0PCmp7HqQ4LzSZuJtzg9MoZLLHTJiiXU36jiF6+7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=2UzOov 4ZYWe7Putu7fU3NfyDjv5gVhL7JKlUaiAzrAI=; b=FbZ0bn1WlmVdQ4TKDC7YHg M2mXAjhSWOOF0U7OLFNhpXPQbO8Cu5uVWNCpG8yXulnPs9vNmK+yJKCDuOkthE7X QpKTBiROHiqx8563DC1paxoHpbpR8Epooi7Jyn/1YbIT2BmrjDqhaYvAKQeB+0tF MiVNoI7hmMqacX+VL56ouUTguHAmUfiMPx7u2hgZb8lSDGPDo7yFPQnVJtPcywnk U5xc1Xe/60+UHYxUB7JTjT5mNpj5For1/5mKm3I8/JiVHhozNZthubuQusOq2qO8 +yXuHTXl0ioQ92soO2XO+CFGaQnm164V4QSeZog7CWyK/HKnlnOvnigzczN/eovg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelfedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgfgsehtqhertd dtreejnecuhfhrohhmpeeuvghnucfuthhurhhmfhgvlhhsuceosggvnhesshhtuhhrmhdr tghomhdrrghuqeenucggtffrrghtthgvrhhnpeevffekveelgffgveevgfeljedvffdtte efhedugeetfedvudefgeduhffhteejfeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegsvghnsehsthhurhhmrdgtohhmrdgruh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for <27447@debbugs.gnu.org>; Mon, 4 Oct 2021 18:47:16 -0400 (EDT) Received: from Marseille (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 444dce8a for <27447@debbugs.gnu.org>; Mon, 4 Oct 2021 22:47:12 +0000 (UTC) User-agent: mu4e 1.6.6; emacs 27.2 From: Ben Sturmfels To: 27447@debbugs.gnu.org Subject: pelican-quickstart produces files with store path shebangs Date: Tue, 05 Oct 2021 09:06:07 +1100 Message-ID: <878rz82yrz.fsf@sturm.com.au> 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 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 (-) > 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-wra= pper-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-wra= pper-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-wrapp= er-3.8.2/bin/python publishconf.py:1:#!/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wrapp= er-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. Regards, Ben