From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: difference between elpa/README and Package Archive *info* Date: Wed, 27 May 2020 13:40:32 -0400 Message-ID: <87sgfls2cv.fsf@rabkins.net> References: <87367ltq9f.fsf@rabkins.net> <86r1v5e2us.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="62230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 27 19:43:55 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1je05r-000G6Z-S2 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 May 2020 19:43:55 +0200 Original-Received: from localhost ([::1]:37820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je05q-0003yH-TU for ged-emacs-devel@m.gmane-mx.org; Wed, 27 May 2020 13:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je02e-0001bq-Jj for emacs-devel@gnu.org; Wed, 27 May 2020 13:40:36 -0400 Original-Received: from smtprelay0158.hostedemail.com ([216.40.44.158]:34210 helo=smtprelay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je02d-0001rA-NQ for emacs-devel@gnu.org; Wed, 27 May 2020 13:40:36 -0400 Original-Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 55A65100E7B47; Wed, 27 May 2020 17:40:34 +0000 (UTC) X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-HE-Tag: loss25_630cf8326d54 X-Filterd-Recvd-Size: 2163 Original-Received: from birch.rabkins.net (c-73-238-99-162.hsd1.ma.comcast.net [73.238.99.162]) (Authenticated sender: yoni@rabkins.net) by omf18.hostedemail.com (Postfix) with ESMTPA; Wed, 27 May 2020 17:40:33 +0000 (UTC) X-Ethics: Use GNU In-Reply-To: <86r1v5e2us.fsf@stephe-leake.org> (Stephen Leake's message of "Wed, 27 May 2020 09:53:31 -0700") Received-SPF: none client-ip=216.40.44.158; envelope-from=yoni@rabkins.net; helo=smtprelay.hostedemail.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 13:40:34 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251516 Archived-At: Stephen Leake writes: > Yoni Rabkin writes: > >> The info node (elisp) Packaging > Package Archives, describes creating a >> tar file and a NAME-pkg.el file. It mentions https://elpa.gnu.org >> specifically. >> >> But the README file at (https://git.savannah.gnu.org/git/emacs/elpa.git) >> elpa/README states that elpa.gnu.org doesn't use tar files, nor do you >> need to create a NAME-pkg.el file. >> >> Is it that elpa.gnu.org is implemented differently? If so, the info file >> that references it should probably reflect how elpa.gnu.org actually >> works, how it differs from the "stock" setup, and why. > > The info node describes what the code in package.el expects to see when > it accesses a url in package-archives.. > > The readme on ELPA describes what users of ELPA have to do. > > In between are the build scripts on ELPA; they build the tar file and > NAME-pkg.el file from what the user provides. > > Other archives may work differently, but they all present the same > interface to package.el. My understanding now is that the info script merely mentions GNU-elpa, but then goes on to describe the "stock" API, not GNU-elpa's specific implementation. Thank you for the explanation. -- "Cut your own wood and it will warm you twice"