From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: Updating the "ELPA Protocol" Date: Wed, 16 Nov 2022 19:04:23 +0100 Message-ID: <87zgcqepy0.fsf@bernoul.li> References: <164484721900.31751.1453162457552427931@vcs2.savannah.gnu.org> <83y1soypvx.fsf@gnu.org> <87y1song5x.fsf@posteo.net> <83v8nsyof7.fsf@gnu.org> <87leoond7l.fsf@posteo.net> <83r0yfzz01.fsf@gnu.org> <87bkpjyx3p.fsf@posteo.net> <83bkpjynmj.fsf@gnu.org> <87iljqya44.fsf@posteo.net> <8335auzo9s.fsf@gnu.org> <87zgd2ws8z.fsf@posteo.net> <831qqezkxj.fsf@gnu.org> <87y1slgq3m.fsf@posteo.net> <87bkpgfsqv.fsf@posteo.net> <87educ9fei.fsf@posteo.net> <87y1sk7xtg.fsf_-_@posteo.net> <87h6z0rnuz.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32732"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org, Lars Ingebrigtsen To: Stefan Kangas , Philip Kaludercic , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 16 19:05:19 2022 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 1ovMml-0008F7-LT for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Nov 2022 19:05:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovMm0-0007cH-33; Wed, 16 Nov 2022 13:04:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovMly-0007c9-FI for emacs-devel@gnu.org; Wed, 16 Nov 2022 13:04:30 -0500 Original-Received: from mail.hostpark.net ([212.243.197.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovMlw-0005wQ-Gc; Wed, 16 Nov 2022 13:04:30 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id B3A2016649; Wed, 16 Nov 2022 19:04:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1668621863; bh=gtXSMySH7/K3KJrWMpRAJNTk 59MdxqomXS5Ek18aGVI=; b=TEUe2Ql770JIp38ceXk+grTIe8/sEZOGvjg9ZapU 5zr9uGslvE2nQjbbMHcX3JAlpnu3J2CDEOkwjXGhPHxIGIBWXR0p1jDpetZGm8BA ZW6Azs6wuN11vwVijLcOopPFs3fwRjPUanHbFTTGG5Jo7T9ClY5Fa9JbzDTAhjXB VOU= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 7uftM9uDaxuz; Wed, 16 Nov 2022 19:04:23 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 76541165FF; Wed, 16 Nov 2022 19:04:23 +0100 (CET) In-Reply-To: Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299966 Archived-At: Stefan Kangas writes: > Philip Kaludercic writes: > >> One issue I have been told is the issue of renaming a package, so that >> package.el can transparently handle the rename. That appears to not be >> supported. > > How about using something like Debian's transitional packages, where you > replace the old package with an empty package that just depends on the > new package? Would that work? I would prefer if package.el took care of it. `package-update-all' could ask: Package `foo' has been renamed to `foobar'. When a package is renamed, then names of variables and functions often change as well, making it necessary to adjust configuration. Would you like to replace `foo' with `foobar' now? yes/no/no, don't ask again Somewhat related, I have again started working on moving Melpa ("unstable") away from using timestamps as version strings. Eventually users will have to update from, e.g., 20230101.123 to the smaller 0.2.3. Here too I hope we could add a special case to package.el. It wouldn't have to remain in place forever; other *elpa are unlikely to repeat the mistake of using timestamps. And while I am at it, the most important "feature" I am hoping for is for package.el to be added to GNU Elpa, so that we can start relying on the newly added features, without having to wait half a decade.