From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#60418: [PATCH] Add :vc keyword to use-package Date: Sat, 08 Apr 2023 10:41:33 +0000 Message-ID: <87zg7ioduq.fsf@posteo.net> References: <87zgb6uk2r.fsf@hyperspace> <87tu0tl1s4.fsf@hyperspace> <87a5zt2emd.fsf@betli.tmit.bme.hu> <87fs9l9bim.fsf@posteo.net> <87y1n3zsro.fsf@posteo.net> <871qku220f.fsf@betli.tmit.bme.hu> <874jpq920b.fsf@posteo.net> <87cz4ezpwi.fsf@betli.tmit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17326"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tony Zorman , 60418@debbugs.gnu.org, stefankangas@gmail.com To: Felician Nemeth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 12:42:14 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pl61O-0004FM-1C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 12:42:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pl61F-0005c8-3c; Sat, 08 Apr 2023 06:42:05 -0400 Original-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 1pl61D-0005be-3c for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 06:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pl61C-0008F3-RY for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 06:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pl61C-00080R-E4 for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2023 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60418-submit@debbugs.gnu.org id=B60418.168095050330741 (code B ref 60418); Sat, 08 Apr 2023 10:42:02 +0000 Original-Received: (at 60418) by debbugs.gnu.org; 8 Apr 2023 10:41:43 +0000 Original-Received: from localhost ([127.0.0.1]:57784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl60t-0007zl-5W for submit@debbugs.gnu.org; Sat, 08 Apr 2023 06:41:43 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:49969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl60q-0007zX-NA for 60418@debbugs.gnu.org; Sat, 08 Apr 2023 06:41:41 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9BB27240189 for <60418@debbugs.gnu.org>; Sat, 8 Apr 2023 12:41:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680950494; bh=zLwwnBx1xSNxnZioQZYZRqEugll0g9zvzqi0Q8EJEKU=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=GUlHNqAFxnpAoUIQ+IPiYcC/MetOLAjdRrCmkGRFoRJw+FfyBsBQj6CN3SoXOBAZL OUNAB1GV47/rPzsvnQCtdZaWYgDmBToJnAl7evGqaDC9ViR1hWDEll+HfvBkq8NnHX bUG2820GxRvTJ3JBawocodEtYcl+ix1fWx98R+pPT6IJGNp8mMCqTF+8O+rEUaPXAg xZgeVP9ngYD3wdunjs13qZV5aQ62Ma/lZj1wwHHUDTOVjInr6XGtVw6VF8cZhdRatr HuzWkuG9N2OFxd1EdLcqgFGS60gNo6GHGuKW6pOQ1ZuTpeNrX5RUjNUWweXMHjQwgt NW9JiuD74Uknw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PtsH21D3Lz9rxM; Sat, 8 Apr 2023 12:41:34 +0200 (CEST) In-Reply-To: <87cz4ezpwi.fsf@betli.tmit.bme.hu> (Felician Nemeth's message of "Sat, 08 Apr 2023 11:25:49 +0200") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259464 Archived-At: Felician Nemeth writes: > Philip Kaludercic writes: > >> package-vc can check out the latest revision that bumped the version tag >> (which is what {Non,}GNU ELPA uses to create new versions of a package), >> you just need to call `package-vc-install' with `:last-release' as REV. >> So the technical means are there. >> >> But if this is done, the question what advantage this has over just >> installing a tarball this has? You would almost always get the same >> code. > > Convenience, I suppose. You can copy your init file to a new machine, > and it will work. But isn't that is already given with use-package and package using tarballs? >> [...] All I want to understand is the motivation behind this feature >> in the first place. > > One use-case is to let package developers to distribute thier packages > without a package archive. Or more precisely, to let users conveniently > install packages that are not in a package archive. Hmm, I had not considered this use-case. I think that if we combine this with falling back to :last-release by default, this could be a good way to solve this problem. -- Philip Kaludercic