From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Carter Newsgroups: gmane.emacs.devel Subject: Re: Does Elpa welcome themes? Or should those stay in Melpa? Date: Tue, 27 Jan 2015 18:27:52 -0500 Organization: Ahungry (http://ahungry.com) Message-ID: <87k307by87.fsf@ahungry.com> References: <20150116195627.GL20877@ahungry.com> <20150127050750.GL32271@ahungry.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422401294 31869 80.91.229.3 (27 Jan 2015 23:28:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 23:28:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 00:28:10 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGFYG-0004NR-U7 for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 00:28:09 +0100 Original-Received: from localhost ([::1]:50504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGFYG-0006B9-7w for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 18:28:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGFY9-0006AA-UD for emacs-devel@gnu.org; Tue, 27 Jan 2015 18:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGFY5-0003Nn-Fy for emacs-devel@gnu.org; Tue, 27 Jan 2015 18:28:01 -0500 Original-Received: from li130-200.members.linode.com ([69.164.215.200]:54064 helo=mail.ahungry.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGFY5-0003Nh-DV for emacs-devel@gnu.org; Tue, 27 Jan 2015 18:27:57 -0500 Original-Received: from Prometheus (99-40-9-245.lightspeed.livnmi.sbcglobal.net [99.40.9.245]) by mail.ahungry.com (Postfix) with ESMTPSA id B8496407E; Tue, 27 Jan 2015 18:27:53 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Tue, 27 Jan 2015 12:34:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 69.164.215.200 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181862 Archived-At: Stefan Monnier writes: >> Are there any other things I need to do to gain developer access to the >> GNU Elpa repository and push my package >> (https://github.com/ahungry/color-theme-ahungry)? > > This should be solved now. > >> Also - I have two .el files in the repository currently (never to be >> used in tandem) - one is a fallback for users with emacs less than 24.x >> to be used with the color-theme package, the other (ahungry-theme.el) is >> the main theme to be used with load-theme. >> Is it a problem to leave both in the repository > > A package can have several files, so that shouldn't be a problem. > > > Stefan > Thanks Stefan. Stefan (or anyone else) - for the subtree, should I add it via read-tree as described here: http://www.git-scm.com/book/en/v1/Git-Tools-Subtree-Merging to allow updates via 'git merge -s subtree ahungry-theme-branch' (similar to what the GNU Elpa README mentions), or add it directly with the subtree command (it looks like hydra recently used this for adding). In my case: git subtree add --prefix packages/ahungry-theme \ https://github.com/ahungry/color-theme-ahungry master --squash And subsequent pulls via: git subtree pull --prefix packages/ahungry-theme \ https://github.com/ahungry/color-theme-ahungry master --squash It seems like the git subtree commands are a little more direct. Were they unavailable when the other process was used? Is there a reason to use git read-tree and keeping the remote in a local branch under GNU Elpa that I'm missing? Thanks, -Matt -- Matthew Carter (m@ahungry.com) http://ahungry.com