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: Mon, 17 Dec 2018 09:06:11 -0500 Message-ID: References: <87a7l7397k.fsf@163.com> <87d0q0w9ru.fsf@163.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545055485 23293 195.159.176.226 (17 Dec 2018 14:04:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2018 14:04:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Feng Shu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 15:04:41 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 1gYtVb-0005q6-35 for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 15:04:35 +0100 Original-Received: from localhost ([::1]:47047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtXh-0000Zt-QW for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 09:06:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtXP-0000Um-4y for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:06:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYtXJ-0004gc-EP for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:06:27 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtXJ-0004fu-9K for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:06:21 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wBHE6Cqe012131; Mon, 17 Dec 2018 09:06:12 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 036EB6AA6E; Mon, 17 Dec 2018 09:06:12 -0500 (EST) In-Reply-To: <87d0q0w9ru.fsf@163.com> (Feng Shu's message of "Mon, 17 Dec 2018 21:41:25 +0800") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6440=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6440> : inlines <6986> : streams <1807393> : uri <2766046> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:231876 Archived-At: > When I read the below part of README, I think that manual run "make externals" > is needed :-(, so I think externals is same complicated as subtree. `make externals` is needed if you want to have a local checkout of all the packages is elpa.git. But if you don't care about the other packages you don't need it. > posframe.git, and push to remote elpa, I do not need download elpa.git, You do need to have some part of elpa.git. For "subtree", that part is the `master` branch, and for "external" that part is the `external/` branch. And when adding the external branch you also need the `master` branch, just to modify the `externals-list` file. > why I need "make externals" if cron auto run it ? You don't *need* it. You may want to use it (e.g. I use it because I just want to have all GNU ELPA packages automatically installed, so I build&install them in-place with `make externals; make`). > If know you don't want a local package, but don't know which of these > two options you prefer, then use a subtree. Note that this phrase now says: If you don't know which of these two options you prefer, then use an "external" (and also if your package is large). -- Stefan