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.devel Subject: Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS Date: Sat, 05 Nov 2022 07:15:53 +0000 Message-ID: <87a655c1na.fsf@posteo.net> References: <164484721900.31751.1453162457552427931@vcs2.savannah.gnu.org> <87bkqmqpvb.fsf@posteo.net> <87edv96q4j.fsf@posteo.net> <83tu455a5s.fsf@gnu.org> <87a65v2ytp.fsf@posteo.net> <834jw33rmx.fsf@gnu.org> <87pmer0xtz.fsf@posteo.net> <83wn8z2aze.fsf@gnu.org> <878rle1i0k.fsf@posteo.net> <87ilkelc10.fsf@posteo.net> <878rl6syg8.fsf@posteo.net> <87zgdjqcu0.fsf@posteo.net> <87tu3iend4.fsf@posteo.net> <5CD628AF-439A-4635-A3C6-6B6223E1BD7D@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37500"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 05 08:16:55 2022 Return-path: Envelope-to: ged-emacs-devel@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 1orDQE-0009NB-Lr for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Nov 2022 08:16:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orDPO-0005W3-4v; Sat, 05 Nov 2022 03:16:02 -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 1orDPK-0005Vp-Qj for emacs-devel@gnu.org; Sat, 05 Nov 2022 03:15:59 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orDPI-0000eT-Qe for emacs-devel@gnu.org; Sat, 05 Nov 2022 03:15:58 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 679B8240028 for ; Sat, 5 Nov 2022 08:15:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667632554; bh=fMwHVZp/hZYIhaHnPDhIdt+LlMrpfhz6ZFZLZDibCkc=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=gMdPlqC4oyeU5JDch/IyIt5GIfnks2bLCWaAlW0pzNCTW6IvYDr3gTPYhfs+6QEF3 kDJpqaATXSEojXCI4hxyXTIPFflW7OYEBJG6mQWBFMo+TqUddIHD6qFmuL4QZdR7S3 jwP1+SgoLKMeYsDVc8gKk7t4Y21outlilhwmnThX6d+Ppvt75u5paUu4lk6lYoq5YC 1WRC0UZU6apy+m/zWuvtTHYsEzIp6hDlWtcq2p2l4stXcnbItmPbZt3M/RWbA2Ty1l hwABEhZdceiz2W9P2Sc1KEJR2paa9N0W+ijKCfuNDre4+zMihZ2Si70a1dGlExCKgk qMTKnjs6OFGLg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N480n6jLRz6tmQ; Sat, 5 Nov 2022 08:15:53 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Fri, 04 Nov 2022 23:14:35 -0400") Autocrypt: addr=philipk@posteo.net; keydata= mQGNBGLfygUBDADVznbke6w0n9nE42xb+ZggbBy0IYRkkru/K+NA67523YTl2DoR2a5OMW90w7L9 KDtX2Mp34JN/6jVOSVC07VUbHVu6/exoGKixkiTpGhBPy5tUUJoxQKqLrzVQhN3fIyvg1oyHXKZm QGkUeevV0wjj4++xfjmcP235YvDh3TF8HC9t5KxIQIbhWnQm4ZyDkpWWS2CmdNttlj2+eH+51WLL bgx2bcwTmqrs079Q3hgF3yh44bBEmp9MgFjiZldOY2my0/ZSeucRxYmiM0vbJEBQgZV/MvA3gTxe 7ibV3ii7AyoYA8FiFDP98S/R2y5Nfq3ez9B7qeqtpSNseQHOU7h8Y5VV01a71ZszENAmbbwsldb9 j+HRLke7rn6mswDZl1qA/9ZFRzliFOdQtS1878XjraY+h5jfjvxaFVK23prGGVrrKv0LPWavoFUr nsjeHEZhYezBKhC2PwvRtXm01S3rkNbwm9pj0tfLSDW+1pT+6eZWptfQCXF2oEvgfKSTASUAEQEA AbQmUGhpbGlwIEthbHVkZXJjaWMgPHBoaWxpcGtAcG9zdGVvLm5ldD6JAdQEEwEKAD4WIQRxJuHe LwzjXHcL7QHyw8xRPbifZgUCYt/KBQIbAwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAK CRDyw8xRPbifZkH+DACmCKmhrYgcv2i6dj3vRCVINaLtKUODTna/wAmP20WRKPhqvqvKNUx/wzpT aZrXIxpxOU2xawRWeHhWUktxS+W9L3xTACeR0gf5gomCxD9RuBTIohzWDkQt5rk8QwLqx5rAy5 Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299173 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > >After that, you may wish to load the code of that package, or arrange > > >for it to be loaded on other occasions in the future, or you may not. > > >We should provide easy ways to do those things if you want to, but we > > >shouldn't impose those things on you by default just because you > > >asked to see those sources in a repo. > > > > > > In that case we are simply talking about different things. > > We're talking about the same thing, but looking at it from two > different angles. For certain values of "same thing" ^^ > You want to do two things together: to check out source from the > upstrean repo, and set up to use that version by default in Emacs. > Now you've added a command to check it out and not do anything else. I want to offer the ability to do two things together. So you can now either M-x package-vc-install foo and have everything taken care of, or M-x package-vc-checkout foo path/to/some/directory M-x package-vc-link-directory path/to/some/directory to do the same using two separate steps. > I see them as conceptually separate. I think we should have a command > to check out source from the upstrean repo and no more. And then > a command to activate that version for use. And that is provided. > It's not a crucial difference. Either way, the user can check it out > with or without activation. Right. > If we include checking out the ELPA repo, then we have four > possibilities: check out the ELPA repo, check it out and activate it, > check out the upstream repo, and check it out and activate it. > > Then there is an advantage in separating checkout and activation. > Then we need only two checkout commands (the upstream repo and the > ELPA repo), and one activate command that can activate either repo. > > But it's not a problem if that has to be done with four commands. As you can see above, I've solved it with a three commands, where `package-vc-install' and `package-vc-checkout' both take a prefix argument if you want to checkout the revision of the latest release.