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: "Write a new package" culture instead of patches? Date: Mon, 18 May 2020 16:13:37 -0400 Message-ID: <875zctatn2.fsf@rabkins.net> References: <83tv0e9x14.fsf@gnu.org> <83blml9u2t.fsf@gnu.org> <87v9ktb73s.fsf@rabkins.net> <800432c5-2f72-3c29-7399-c6f1f559d983@gmail.com> <87imgtb17b.fsf@rabkins.net> <5e635400-0d5c-7bce-5e87-6c1812aa83ed@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="23534"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 18 22:21:33 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 1jamGT-0005zn-5W for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 22:21:33 +0200 Original-Received: from localhost ([::1]:48482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jamGS-00041l-4e for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 16:21:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jam8v-0003ls-Sa for emacs-devel@gnu.org; Mon, 18 May 2020 16:13:46 -0400 Original-Received: from smtprelay0098.hostedemail.com ([216.40.44.98]:35602 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 1jam8r-0002hA-8D for emacs-devel@gnu.org; Mon, 18 May 2020 16:13:45 -0400 Original-Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 208A0100E7B40; Mon, 18 May 2020 20:13:40 +0000 (UTC) X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-HE-Tag: chain28_772ca4d245301 X-Filterd-Recvd-Size: 8392 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 omf01.hostedemail.com (Postfix) with ESMTPA; Mon, 18 May 2020 20:13:38 +0000 (UTC) X-Ethics: Use GNU In-Reply-To: <5e635400-0d5c-7bce-5e87-6c1812aa83ed@yandex.ru> (Dmitry Gutov's message of "Mon, 18 May 2020 20:50:36 +0300") Received-SPF: none client-ip=216.40.44.98; envelope-from=yoni@rabkins.net; helo=smtprelay.hostedemail.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/18 16:13:40 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:250820 Archived-At: Dmitry Gutov writes: > On 18.05.2020 20:30, Yoni Rabkin wrote: > >>>> * Associate Emms with several Emms extensions that live only on >>>> MELPA and that we, the Emms developers, have never heard >>>> about. This would give anyone accessing Emms via MELPA that tho= se >>>> extensions are somehow a part of Emms, when they are not. >>> >>> What do you mean by this? MELPA is the same as ELPA in this regard: >>> anyone can publish an "emms-xyz" package, right? >> The site, https://melpa.org/#/emms, lists a number of projects under >> "needed by". But there is no differentiation between Emms, a GNU >> project, and those "needed by" projects. >> I agree that it is their right to distribute Emms as they wish as >> long >> as they abide by the terms of the license, but I do not agree that their >> particular form of distribution is good for Emms (no quality control for >> those "needed by" projects; do they even work?) or if it is good for the >> people who enjoy Emms (maybe they steer people to use proprietary >> services.) > > People just learn to understand that different packages usually means > different authors, and having the prefix emms- on many packages has=20 > little bearing on your reputation. > >> The word "gnu" doesn't even appear on the website for Emms on >> MELPA. Surely there is some value to pointing out to people which part >> of what is being distributed is a GNU project, and thereby subject to >> GNU's standards. People can then go on to ignore the information, but at >> least they have access to it. > > That is because the main package file doesn't follow the ELPA standard > of having it commentary describe the whole package. > > See the "Description" on the MELPA site. The area can host a more > thorough description if you make it so. > >>>> * Not even linking to the Emms home page >>>> (https://www.gnu.org/software/emms/). >>> >>> I think it does: I see this when I open the package in M-x list-package= s: >>> >>> Homepage: https://www.gnu.org/software/emms/ >>> >>> The MELPA website links to the git repository instead. >> Yes, that was what I was referring to. > > And that is because, I'm guessing, your main package file doesn't have > the "Homepage" header. > >>> The current guidelines say the following: >>> >>> Contact package author >>> If you are not the original author or maintainer of the package >>> you are submitting, please notify the authors prior to submitting >>> and include them in the pull request process. >>> >>> =E2=80=A6 so things have indeed improved a lot since 2012. >> Not in the case of Emms, since nobody has done so. Therefore, Emms >> has >> not been the beneficiary of such an improvement. > > The above are guidelines for when a package recipe is submitted. Once > it's submitted, the package simply continues to be distributed. Unless=20 > someone raises an issue, proposes a better recipe, etc. > >>>> * Find a way of packaging a project as-is. For instance, Emms cou= ld >>>> be distributed as is, and the M/ELPA software could simply point >>>> at where Emms keeps its .el files for Emacs to find. This is >>>> instead of how I see ELPA working now, which is to force the >>>> software through a kind of a sieve (I think ELPA calls it a >>>> recipe) where only a select few files come out the other end. >>> >>> It's trivial to make a recipe that includes all files, so I wouldn't >>> worry about this. >> The Emms distribution already contains all of the files by >> defintion; >> none needed to be remove to begin with. I feel like we looking at the >> issue from two different viewpoints. > > Yes: MELPA uses "recipes" (files with data in particular format) to > automate distribution. > >>>> Emms doesn't need a recipe; it already comes organized and >>>> packaged for working with Emacs. >>> >>> I think most users these days expect "packaged" to mean "installable >>> using package.el", while EMMS only provides source releases; that's >>> why you see the MELPA recipe slicing and dicing the emms repo. >> I don't agree with "most people"-type statements as an argument for >> a >> number of reasons, among them that I've always been against speaking on >> behalf of other people. I can speak for myself as the maintainer of Emms >> on behalf of GNU, and try to steer toward to the goal of the GNU project >> when doing so. I don't check to see if there is a majority or minority >> supporting me in this regard. > > Surely you care about the users' convenience at least a little? I think we are talking across each other, because I don't understand what you are referring to. >>> It will be great to have an improved EMMS recipe in MELPA! If you run >>> into trouble, you should ask on the bug tracker; the MELPA folks are >>> great. >> Why does Emms need to be offered through three different channels at >> the >> same time? > > I don't know, really. You could keep the most popular one. > > Do you have any download stats for the last year? Or since 2012? It is hosted on Savannah, but I'm unsure of why it would matter. >> Ideally, I would contact the MELPA bug tracker and have Emms removed >> from MELPA, since it can be trivially downloaded from a GNU server, and >> will hopefully soon be installable via ELPA. > > I'm fairly sure that if you demand to be removed, they will do so. > > Doing that would punish existing users, however. So I can hardly > understand the reasons for doing so. My understanding of it is that some people (the people who emailed the Emms mailing list about it) would rather be able to have Emacs' package system install Emms for them. I further understood that for that to happen, Emms needs to be available via ELPA. As far as I know, it is the only repository that is officially a part of the Emacs project. Once Emms is available on ELPA, people who want Emacs' package manager to install it will have it available. At that point it would be very strange, and confusing, to have an identical copy of Emms separately maintained via MELPA. I hope that this isn't a common issue, one in which packages are duplicated between ELPA and MELPA; that would point to something that is organizationally broken somewhere. If there is some technical issue that would stop MELPA users from getting it from ELPA, then perhaps we could organize a way for the ELPA maintained copy be mirrored to MELPA. That seems like a kludge, but we should try to do it if that is the only way not to break people's installation. The last resort would be to maintain ELPA and MELPA separately. This is hardly an ideal situation and one that I hope isn't the standard. Thank you for all of your patience as I'm learning this. --=20 "Cut your own wood and it will warm you twice"