From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Some question about external method of elpa Date: Sun, 16 Dec 2018 23:06:31 -0500 Message-ID: References: <87a7l7397k.fsf@163.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545019518 25028 195.159.176.226 (17 Dec 2018 04:05:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2018 04:05:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 05:05:13 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYk9Z-0006OB-CY for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 05:05:13 +0100 Original-Received: from localhost ([::1]:44792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYkBf-00081G-NL for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2018 23:07:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYkB2-000810-DV for emacs-devel@gnu.org; Sun, 16 Dec 2018 23:06:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYkAz-00028t-6c for emacs-devel@gnu.org; Sun, 16 Dec 2018 23:06:44 -0500 Original-Received: from [195.159.176.226] (port=60268 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYkAy-00027i-Ug for emacs-devel@gnu.org; Sun, 16 Dec 2018 23:06:41 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gYk8q-0005SQ-4n for emacs-devel@gnu.org; Mon, 17 Dec 2018 05:04:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:9ueUFhVUGnNnvnuOLtOb6Jr6cLw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231867 Archived-At: > 1. Does elpa cron auto call "make external" or similar process to > check out all the external packages? Pretty much, yes. > 2. If cron auto checkout external packages, does package author need > manual-checkout? I don't understand the question. When? Where? > 3. Does subtree method have any advanced than external branch? It's different, not really better. It's most appropriate when you intend to move the "upstream" from elsewhere to elpa.git. > if no, what about obsolote this method? In my opinion, subtree > seem to very hard to manage. If you keep developing your package elsewhere, a "subtree" is indeed more work than an "external". > 4. I use subtree to manage posframe package, but I want to switch > to external branch method, how to work? 1- Create the new externals/posframe branch on elpa.git 2- Then "git rm package/posframe" and change the ":subtree" to a ":external" in "externals-list". 3- Then push those changes you created at step (2) to the `master` branch of elpa.git. That's pretty much it on your side (I'll probably have to do some clean on elpa.gnu.org in response to that, tho I keep hoping that I finally fixed the last issue in the scripts to handle this situation). > what about create a subtree2external command? The demand hasn't been very high, so I wouldn't bother, but fee free to add one to elpa.git's "admin/" subdirectory. Stefan