unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Ted Zlatanov <tzz@lifelogs.com>, emacs-devel@gnu.org
Subject: Re: How does ELPA work?
Date: Tue, 08 Mar 2011 14:03:02 +0100	[thread overview]
Message-ID: <87mxl5933t.fsf@gmx.de> (raw)
In-Reply-To: <87vczumpa7.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 07 Mar 2011 19:25:36 -0500")

Chong Yidong <cyd@stupidchicken.com> writes:

> Michael Albinus <michael.albinus@gmx.de> 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.



  parent reply	other threads:[~2011-03-08 13:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02  9:30 How does ELPA work? joakim
2011-03-02 14:41 ` Ted Zlatanov
2011-03-05 21:09   ` Michael Albinus
2011-03-05 21:24     ` Chong Yidong
2011-03-06 22:05     ` Chong Yidong
2011-03-07 14:12       ` Michael Albinus
2011-03-08  0:25         ` Chong Yidong
2011-03-08  3:03           ` Stefan Monnier
2011-03-08 17:11             ` Chong Yidong
2011-03-08 13:03           ` Michael Albinus [this message]
2011-03-08 17:09             ` Chong Yidong
2011-03-08 17:56               ` Michael Albinus
2011-03-08 18:34                 ` Chong Yidong
2011-03-08 18:48                   ` Ted Zlatanov
2011-03-08 19:52                   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxl5933t.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).