From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: documentation on how to add packages to ELPA? Date: Sun, 22 Dec 2013 20:24:31 -0500 Message-ID: References: <85wqixx0n4.fsf@stephe-leake.org> <85lhzdw1lc.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387761902 23456 80.91.229.3 (23 Dec 2013 01:25:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 01:25:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 23 02:25:07 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 1VuuGY-0007Cx-HQ for ged-emacs-devel@m.gmane.org; Mon, 23 Dec 2013 02:25:06 +0100 Original-Received: from localhost ([::1]:59957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuGX-0002hF-Th for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 20:25:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuGO-0002fb-QH for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuuGH-0002vz-5m for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:24:56 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:35116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuuGG-0002vu-Vk for emacs-devel@gnu.org; Sun, 22 Dec 2013 20:24:49 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBN1OY17021120; Sun, 22 Dec 2013 20:24:40 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CBB72AE25E; Sun, 22 Dec 2013 20:24:31 -0500 (EST) In-Reply-To: <85lhzdw1lc.fsf@stephe-leake.org> (Stephen Leake's message of "Sun, 22 Dec 2013 05:45:51 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4800=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4800> : inlines <347> : streams <1095411> : uri <1632493> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:166748 Archived-At: > How do I specify package metadata such as min and max Emacs version, > since I don't write the define-package args? The dependencies are specified in the "Package-Requires:" pseudo-header (grep for it in elpa/packages/*.el to see examples). > Where is the "Version:" psuedo-header defined? Is it just > ;; Version: 5.0 Yes. > or more complex? No. It's the format understood by the lisp-mnt.el package, and used by ELPA single-file packages. > Is there metadata support for "optional" as opposed to "required" > packages? No. The purpose of "Package-Require" is to help the user install the package. If it's optional, then it's simply not required. > Should the build and test files be included in Gnu ELPA? If at all possible (i.e. if the copyright status is clear), then please do include them in the `elpa' branch, yes. If you don't want all files included in the tarball distributed on GNU ELPA, you can use a .elpaignore file (see js2-mode/.elpaignore for the only existing example so far). Stefan