all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Local ELPA
Date: Mon, 23 Dec 2013 09:56:04 -0500	[thread overview]
Message-ID: <87vbyf8vln.fsf@flea.lifelogs.com> (raw)
In-Reply-To: 52B7BE1A.7080305@dancol.org

On Sun, 22 Dec 2013 20:37:46 -0800 Daniel Colascione <dancol@dancol.org> wrote: 

DC> I'm finally getting around to ELPA-izing my configuration. Instead of
DC> downloading packages from the official repository on every machine I
DC> use, I'd like to just mirror ELPA into my local configuration
DC> repository (using git subtree) and "install" packages from the local
DC> directory. This way, my entire configuration is a nice versioned
DC> repository, and all changes are visible.

DC> This approach doesn't work because a plain git checkout of the ELPA
DC> packages directory lacks the index files needed. update-archive.sh is
DC> supposed to build these files, but it doesn't seem to be able to
DC> bootstrap itself --- if .changelog-witness doesn't exist,
DC> achive-prepare-packages fails. The update script also assumes that
DC> it's being run in an isolated git repository.

DC> Right now, I think I'm going to skip most of the package.el niceties
DC> and just symlink directly into my copy of ELPA HEAD, but that's not a
DC> good solution. There really should be a good way of using an arbitrary
DC> local directory full of elisp as an ELPA repository.

Wouldn't it make more sense to mirror the GNU ELPA web site and support
that?  I tried to build the GNU ELPA index for testing and it was also
difficult (when I tested the :keyword extra, you can see the exchange
with Stefan).  But for your specific use case it seems that you don't
need to build from source, just mirror the files, and that will avoid
any potential dependencies on extra tools or external repositories.

Ted




      parent reply	other threads:[~2013-12-23 14:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23  4:37 Local ELPA Daniel Colascione
2013-12-23 13:45 ` Stefan Monnier
2013-12-23 13:59   ` Stephen Leake
2013-12-23 16:05     ` Stefan Monnier
2013-12-24  8:57       ` Stephen Leake
2013-12-24  9:22         ` Stephen Leake
2013-12-24 14:07           ` Stefan Monnier
2013-12-24 22:58             ` Stephen Leake
2013-12-24 14:05         ` Stefan Monnier
2013-12-24 22:58           ` Stephen Leake
2013-12-25 16:27             ` Stefan Monnier
2013-12-23 14:56 ` Ted Zlatanov [this message]

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

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

  git send-email \
    --in-reply-to=87vbyf8vln.fsf@flea.lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.