From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Feng Shu" Newsgroups: gmane.emacs.devel Subject: Re: Some question about external method of elpa Date: Mon, 17 Dec 2018 22:54:23 +0800 Message-ID: <874lbcw6e8.fsf@163.com> References: <87a7l7397k.fsf@163.com> <87d0q0w9ru.fsf@163.com> <878t0ow7tz.fsf@163.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545058414 29674 195.159.176.226 (17 Dec 2018 14:53:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2018 14:53:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 15:53:30 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 1gYuGw-0007er-6D for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 15:53:30 +0100 Original-Received: from localhost ([::1]:47260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYuJ2-0002yS-Vf for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 09:55:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYuI1-0002Tk-U0 for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:54:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYuHy-0001E2-M3 for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:54:37 -0500 Original-Received: from m12-15.163.com ([220.181.12.15]:44089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYuHu-00018W-7d for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:54:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=kkU3g O73JqPs/yq9ueKxga7eTP76HYYX6g+B6zg6y9E=; b=R0IMyWj39vl7i9wl29pfb AZgmREkBqeYxiwBoXQ1HXxCKx1G4oxIH/3cccsyCj/zI+LUiwiSgRFmxCAbEN89d EUAD8qsayDa4JyESAxiEym1Xo5CD8UPNuK3B/ZYWCKas4gh72QERvNJlat6jxLc0 R5DSuYyM3uwC+Ko6otGiwU= Original-Received: from tumashu (unknown [112.3.135.227]) by smtp11 (Coremail) with SMTP id D8CowAAHD7+fuBdcZzefDg--.20503S2; Mon, 17 Dec 2018 22:54:23 +0800 (CST) In-Reply-To: (Stefan Monnier's message of "Mon, 17 Dec 2018 09:35:30 -0500") X-CM-TRANSID: D8CowAAHD7+fuBdcZzefDg--.20503S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxJr18GFy5tw1xWrW3Cw13XFb_yoW8Ar1DpF 4agryUt3WkGF1Fq3s7ur15u3WrZrs8AryxG345JF9xCw4YgrWfGa4ftFWUCasF939xXw12 va1UGay0kas8XaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jVFALUUUUU= X-Originating-IP: [112.3.135.227] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0wYg1FXlhtQVYAABs3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 220.181.12.15 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:231879 Archived-At: Stefan Monnier writes: >>>> 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. >> What about add this info to README? > > If you explain/show me which part of README made you think `make > externals` was needed, I can try and correct it, yes. I suggest to move the below part to: To install all the packages "in place". just a suggestion :-) #+BEGIN_COMMENT You can check out all the external packages into the `packages' directory with the command: make externals You can check out a specific external PACKAGE into the `packages' directory with these commands: cd packages git worktree add PACKAGE externals/PACKAGE If you already have a packages/PACKAGE directory with a previous checkout, you can update it like this: cd packages/PACKAGE git pull #+END_COMMENT > >> external package do not need to edit externals-list in master branch, >> instead add a external-list file to `external/`, we use script >> to auto generate externals-list from all package's external-list files > > Usually, I'm the one who adds the entry to `externals-list`, so I'm not > sure how important this is. We could change `make externals` to just > checkout all the `external/*` branches, but I like the fact that > currently I can calmly push the new branch, then make sure "make > externals" gives me something I like, and only have it "released" > when I push the new `externals-list`. > > > Stefan --