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: [ELPA] Package proposal: EBDB Date: Mon, 14 Aug 2017 05:45:56 -0400 Message-ID: References: <87efsxspgv.fsf@ericabrahamsen.net> <87mv784f1h.fsf@ericabrahamsen.net> <87shgwgtyp.fsf@ericabrahamsen.net> <87shgux6s1.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502703986 28698 195.159.176.226 (14 Aug 2017 09:46:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Aug 2017 09:46:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 14 11:46:20 2017 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 1dhBwx-00072Q-06 for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2017 11:46:19 +0200 Original-Received: from localhost ([::1]:33299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhBx3-0000Ej-2u for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2017 05:46:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhBwu-0000Dw-TL for emacs-devel@gnu.org; Mon, 14 Aug 2017 05:46:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhBwr-0007hu-MC for emacs-devel@gnu.org; Mon, 14 Aug 2017 05:46:16 -0400 Original-Received: from [195.159.176.226] (port=39167 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhBwr-0007gh-DP for emacs-devel@gnu.org; Mon, 14 Aug 2017 05:46:13 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dhBwb-0005wV-IV for emacs-devel@gnu.org; Mon, 14 Aug 2017 11:45:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:2AGC5Y+R88H1EJ0C5wakjIx3zrI= 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:217536 Archived-At: > Okay, this is what I was confused about. I have to populate the branch > with the code from the existing github repo, obviously I'm not just > copying files in there, I need to clone the repo into it somehow. The > README says: > git clone --reference .. --single-branch --branch externals/PACKAGE $(git > config remote.origin.url) PACKAGE > Though I can't tell from the README if that's meant to be the command to > add an external to ELPA, or just pull down an existing external and look > at it. Anyway, running that command just gets me: "git clone" doesn't modify any existing repository, so that can't be the command that adds a branch to a repository. > How do I populate the branch? IIRC it's something like git push gnuelpa master:externals/ebdb assuming you've configured your local clone of ebdb with something like git remote add gnuelpa @git.sv.gnu.org:/srv/git/emacs/elpa.git -- Stefan