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:23:20 +0800 Message-ID: <878t0ow7tz.fsf@163.com> 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 1545056535 8477 195.159.176.226 (17 Dec 2018 14:22:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2018 14:22:15 +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:22:10 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 1gYtmc-00026z-4V for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 15:22:10 +0100 Original-Received: from localhost ([::1]:47134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtoi-0000dP-T6 for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2018 09:24:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtoV-0000at-Fo for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:24:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYtoP-0004lY-JL for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:24:07 -0500 Original-Received: from m12-15.163.com ([220.181.12.15]:35938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYtoO-0004kY-M4 for emacs-devel@gnu.org; Mon, 17 Dec 2018 09:24:01 -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=0MaZO FDPnDuL5pPHlolRrQEWsXaLm51tWFqaU1PmsOQ=; b=HPua7EsILcsAF/j+54kQ4 FvrVqAvGg4i8XzAgCnKJvyg5r/O3d2hA59vqNhmK7ENGPrHQqYidBKvCkPeip4rX JdwkhFZJsyCgR+/bTe7SA0yKqcxqo5v2T7cr86Nlqnrga/pWVJ5zcG27mA3pvV9C r+qY34OZNXU4gTDSZnTN2o= Original-Received: from tumashu (unknown [112.3.135.227]) by smtp11 (Coremail) with SMTP id D8CowABXv15YsRdcgmacDg--.20378S2; Mon, 17 Dec 2018 22:23:20 +0800 (CST) In-Reply-To: (Stefan Monnier's message of "Mon, 17 Dec 2018 09:06:11 -0500") X-CM-TRANSID: D8CowABXv15YsRdcgmacDg--.20378S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7tF1rCF1xZF4rtw15JFW3GFg_yoW8Xw4kpF ZrWF12kF1DWFyFk347Zr1Fka13GrsxJrZ7KF98JrZxJwn0gryfC34xtF45W3ZFy3s0qw17 AF1UAayDu393Ja7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jVFALUUUUU= X-Originating-IP: [112.3.135.227] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRQog1Fl9nzHtYAAAs8 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:231877 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? > >> 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. > An idea, but I do know whether it is a good idea: 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 >> 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). cool! > > > -- Stefan --