From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: How does ELPA work? Date: Tue, 08 Mar 2011 14:03:02 +0100 Message-ID: <87mxl5933t.fsf@gmx.de> References: <87d3m9pou4.fsf@lifelogs.com> <87sjv1i89t.fsf@gmx.de> <87aah7rjkx.fsf@stupidchicken.com> <87hbbfnho3.fsf@gmx.de> <87vczumpa7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299589517 17092 80.91.229.12 (8 Mar 2011 13:05:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 13:05:17 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 14:05:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwwb9-0003M1-UY for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 14:05:12 +0100 Original-Received: from localhost ([127.0.0.1]:38515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwwb9-0006yT-9W for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 08:05:11 -0500 Original-Received: from [140.186.70.92] (port=39756 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwwZE-0006Nv-0m for emacs-devel@gnu.org; Tue, 08 Mar 2011 08:03:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwwZB-0000Iv-FE for emacs-devel@gnu.org; Tue, 08 Mar 2011 08:03:11 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:37754) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PwwZB-0000Ib-3G for emacs-devel@gnu.org; Tue, 08 Mar 2011 08:03:09 -0500 Original-Received: (qmail invoked by alias); 08 Mar 2011 13:03:06 -0000 Original-Received: from p57BB9042.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.144.66] by mail.gmx.net (mp036) with SMTP; 08 Mar 2011 14:03:06 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+UW8k48YOUO2/ifCYR4DXp1qXvJiGXuOSla6gipo P21AUB9AK3nJiV In-Reply-To: <87vczumpa7.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 07 Mar 2011 19:25:36 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136885 Archived-At: Chong Yidong writes: > Michael Albinus writes: > >> Thanks. I've created debbugs-0.1.tar, based on this. I'll send it to >> you off the list, for uploading to elpa.gnu.org. > > Uploaded (and accessible in packages/debbugs-0.1/ in the elpa branch). Thanks. However, I haven't seen the files in the elpa branch of Emacs 24. Reading the rewritten admin/notes/elpa, it looks like I shall add them there. Right? >> I've tried this as well. `package-upload-file' did work fine (after >> adjusting `package-archive-upload-base'). But `list-packages' failed >> afterwards, see *Messages*: >> >> Loading package...done >> (("tmp" . "/tmp/") ("gnu" . "http://elpa.gnu.org/packages/")) >> Failed to download `tmp' archive. >> >> I'll see, whether I can debug into this. > > Hmm, I can't seem to reproduce this. Let me know if you track it down. > > Try removing the condition-case in package-refresh-contents, and see if > you can get a backtrace. First, package-upload-file fails if the tar file is remote. I've fixed this in package.el and simple.el (I had to make shell-command-to-string aware of remote default-directory). Afterwards, uploading works, but it does not extract my tar file. I do not know whether it shall be extracted by default, so I have done it manually. Likely this was the origin of my problem, because now I can install the package from the local archive. Best regards, Michael.