Philip Kaludercic <philipk@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 61937) by debbugs.gnu.org; 4 Mar 2023 09:29:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 04 04:29:49 2023 Received: from localhost ([127.0.0.1]:35253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pYOD3-0003No-F9 for submit <at> debbugs.gnu.org; Sat, 04 Mar 2023 04:29:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]:60015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1pYOCx-0003NU-IE for 61937 <at> debbugs.gnu.org; Sat, 04 Mar 2023 04:29:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ACE492404BB for <61937 <at> debbugs.gnu.org>; Sat, 4 Mar 2023 10:29:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677922173; bh=OPSF2Q66w05Rbj80LZwf1+OXYnt65770tWbbkjhnhEs=; h=From:To:Cc:Subject:Date:From; b=W5y253TTDBMmVmZYSgwUWQEBWSZxrTguQe8YhADogiGYhu2avKrqaeaKnxHSjfQr+ XT6iMOg+80y56EcDsmlJW5bDu6LoTkdJ9hiA+uPU4d7z6huYwpYlPcU4LPRfu15EDR R7Ue897SMfBIQYeNXc24vAJQqkxidv0CYXEOHUlT3dJRCydi1ykY36ZsEaBiClXKRk nFtets7AqHGKswErUpLsVsXTtCEM68yfPY3nV6jhgUoDq4FrMautc7FyRtil+7rKEU OCsZNgMSZwi0jNFd4inHQDTDFqdz963WheBXhwowVM1sr31arri+FbGIazAOeMe3Ec TXAuUTCLYdRqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PTKL24CWvz9rxH; Sat, 4 Mar 2023 10:29:27 +0100 (CET) From: Philip Kaludercic <philipk@HIDDEN> To: Ruijie Yu <ruijie@HIDDEN> Subject: Re: bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources In-Reply-To: <sdvo7p9zxhu.fsf@HIDDEN> (Ruijie Yu's message of "Fri, 03 Mar 2023 22:57:36 +0800") References: <sdvo7p9zxhu.fsf@HIDDEN> Date: Sat, 04 Mar 2023 09:29:26 +0000 Message-ID: <87sfekx3t5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61937 Cc: 61937 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ruijie Yu <ruijie@HIDDEN> writes: > I have been using straight.el [1] before `use-package' was taken into > emacs.git, as I needed to use some packages not from any elpa source but > from vc sources. I recently noticed the function `package-vc-install' > has been introduced into 29, and would like to have `use-package' use it > in its :ensure form. This has already been proposed (with a patch) in bug#60418. > An analogous version from straight.el has already been made available, > which looks like the following: > > (use-package foo > :straight (foo :repo "https://path.to/foo.el" :type git)) > > My hope is to extend :ensure form so that a similar specification can be > supplied to install packages directly from vc sources. I have to admit that I am not a fan of this. Personally I install all my packages using regular tarballs, and then manually select packages that I want to track in source-form if I am interested in contributing a patch. One has to keep in mind that by default you will be checking out the tip of the default development branch. This is not what GNU ELPA and NonGNU ELPA do. I know *some other* archives do this, but IMO this contributes to the instability that a lot of Emacs users experience in regards to the packages in the Emacs world. Coincidentally I also believe that the popularity of alternative (non-cooperative) package managers like this "straight.el" boils down to the promise of being able to pin and revert to previous packages states. Personally I believe that this is an up-side-down approach to solve the problem from the wrong angle. The default approach to package management should be reliable and suffice. -- Philip Kaludercic
bug-gnu-emacs@HIDDEN
:bug#61937
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 3 Mar 2023 15:06:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 03 10:06:05 2023 Received: from localhost ([127.0.0.1]:33713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pY6yv-0002sU-5J for submit <at> debbugs.gnu.org; Fri, 03 Mar 2023 10:06:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:53984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ruijie@HIDDEN>) id 1pY6yp-0002sE-Dl for submit <at> debbugs.gnu.org; Fri, 03 Mar 2023 10:06:00 -0500 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 <ruijie@HIDDEN>) id 1pY6yp-00018P-0m for bug-gnu-emacs@HIDDEN; Fri, 03 Mar 2023 10:05:55 -0500 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ruijie@HIDDEN>) id 1pY6yi-0002GR-FT for bug-gnu-emacs@HIDDEN; Fri, 03 Mar 2023 10:05:54 -0500 Received: from fw.net.yu.netyu.xyz (<unknown> [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id e01b794c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <bug-gnu-emacs@HIDDEN>; Fri, 3 Mar 2023 15:05:40 +0000 (UTC) User-agent: mu4e 1.8.14; emacs 29.0.60 From: Ruijie Yu <ruijie@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 29.0.60; [FR] use-package :ensure to allow vc sources Date: Fri, 03 Mar 2023 22:57:36 +0800 Message-ID: <sdvo7p9zxhu.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@HIDDEN; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) I have been using straight.el [1] before `use-package' was taken into emacs.git, as I needed to use some packages not from any elpa source but from vc sources. I recently noticed the function `package-vc-install' has been introduced into 29, and would like to have `use-package' use it in its :ensure form. An analogous version from straight.el has already been made available, which looks like the following: (use-package foo :straight (foo :repo "https://path.to/foo.el" :type git)) My hope is to extend :ensure form so that a similar specification can be supplied to install packages directly from vc sources. [1]: https://github.com/radian-software/straight.el -- Best, RY
Ruijie Yu <ruijie@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#61937
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.