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: Fri, 18 Nov 2022 15:20:29 +0100 Message-ID: <87y1s85ope.fsf@bernoul.li> References: <164484721900.31751.1453162457552427931@vcs2.savannah.gnu.org> <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> <87zgcqepy0.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40285"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , Philip Kaludercic , Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org, Lars Ingebrigtsen To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 18 15:21:40 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 1ow2FP-000AD1-LU for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Nov 2022 15:21:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow2En-0008Nm-W6; Fri, 18 Nov 2022 09:21:02 -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 1ow2EY-000891-7M for emacs-devel@gnu.org; Fri, 18 Nov 2022 09:20:59 -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 1ow2ES-0001Ub-Lx; Fri, 18 Nov 2022 09:20:44 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 1A249165FF; Fri, 18 Nov 2022 15:20:32 +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=1668781231; bh=8acfgu1fcWo0oXcEboIetKSH Lp2PXA0JyJ9HcsynDzE=; b=eUGvSa/Qytt6Njc37ScfcFXtB0l5Y6aWqh+Eyngi Xc+d3UnY6j4GiX9l8a7jsBXPnHYd0v7Ia3C3ToUXlGCR0QpAUFPEcyEL7TTRZDB3 QwtiDxMQfDtO3K2zxlqADsGwiVSGpSg3LVmggLRtjGJHp5lCCYjw67NiZyDKXe+T alE= 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 Q3l3tZFN7Wce; Fri, 18 Nov 2022 15:20:31 +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 CB7E21663F; Fri, 18 Nov 2022 15:20:31 +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:300105 Archived-At: Stefan Monnier writes: >>> 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 > > This discussion of replacement reminds me of the more general problem of > restructuring where a package may split into 2 (or more), or the reverse. > > The combination of dependencies and renaming/replacement may cover all > those cases if used wisely, but we should pay attention to the details > so that it does. A common variant of "or the reverse" is when a package absorbs a formerly independent package. evil-collection has absorbed several mode-specific packages that uses to developed independently.