From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Local ELPA Date: Sun, 22 Dec 2013 20:37:46 -0800 Message-ID: <52B7BE1A.7080305@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1387773486 28450 80.91.229.3 (23 Dec 2013 04:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 04:38:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 23 05:38:13 2013 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 1VuxHQ-0008Pe-K9 for ged-emacs-devel@m.gmane.org; Mon, 23 Dec 2013 05:38:12 +0100 Original-Received: from localhost ([::1]:60326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuxHQ-0007ne-50 for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 23:38:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuxHI-0007nT-4Y for emacs-devel@gnu.org; Sun, 22 Dec 2013 23:38:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuxHC-00087m-Lc for emacs-devel@gnu.org; Sun, 22 Dec 2013 23:38:04 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:46093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuxHB-00083n-UM for emacs-devel@gnu.org; Sun, 22 Dec 2013 23:37:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=CiCAc+0RaMFpRiI1R5sfOe166Nrkv3kRkS9GGFWYJ20=; b=MotxEN9vazdHHIJsf4C7jyKL+I3rjmuLhG7LY5hkrvtsjFBCpX15DIqnKAMKCrrHb3PfcqFMeMXPwOpn3VeYlngvEbme05gwOGhio8ENGJE/1XRmUEGGhDly/DcrTY+eCoH85MEJxh6rsDyxvm3ITqYN6xOgqxi1EBCqSC/dzv/hS56tP3X+UQ9RFTk71atq65juGnGL9HIqiUj8VJaQAMdG+qr5WrDedLb7p+aJKRZropzWUkQoQjhk2WUpHHoEuQxYxmCDDIhLgJ2yt4MuNOnwMoBWe7wZSnx8N511T4WHYDcmYYvk65pH7VeTSox/kz/aW16znOQEMiB8ZBHukQ==; Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[192.168.1.100]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VuxH3-0004gI-1p for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:37:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:166761 Archived-At: I'm finally getting around to ELPA-izing my configuration. Instead of downloading packages from the official repository on every machine I use, I'd like to just mirror ELPA into my local configuration repository (using git subtree) and "install" packages from the local directory. This way, my entire configuration is a nice versioned repository, and all changes are visible. This approach doesn't work because a plain git checkout of the ELPA packages directory lacks the index files needed. update-archive.sh is supposed to build these files, but it doesn't seem to be able to bootstrap itself --- if .changelog-witness doesn't exist, achive-prepare-packages fails. The update script also assumes that it's being run in an isolated git repository. Right now, I think I'm going to skip most of the package.el niceties and just symlink directly into my copy of ELPA HEAD, but that's not a good solution. There really should be a good way of using an arbitrary local directory full of elisp as an ELPA repository.