From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to warn about obsolete file in ELPA package Date: Sat, 06 Feb 2021 13:25:05 -0500 Message-ID: References: <87ft29o0by.fsf@tcd.ie> <87k0rlm6gl.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16911"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 06 19:27:03 2021 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 1l8SIQ-0004Go-GX for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Feb 2021 19:27:02 +0100 Original-Received: from localhost ([::1]:35190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8SIP-0001YR-Ip for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Feb 2021 13:27:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8SGg-0000Xl-4V for emacs-devel@gnu.org; Sat, 06 Feb 2021 13:25:14 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8SGb-0000KE-82 for emacs-devel@gnu.org; Sat, 06 Feb 2021 13:25:13 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 46649440B3F; Sat, 6 Feb 2021 13:25:08 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 09706440B2E; Sat, 6 Feb 2021 13:25:07 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1612635907; bh=gxNzRPznuhzx9+szYA8qbP5po50H2p70M91b4njW8ZA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lAh8beF+A2Bbsx4ZezL8NCG8t6oYAAmJR7h/hX9ATj5ebgkBiHZ2BH6Dj8/mIHvLJ 7BLlfoWyHUmzel9N4Z9zrALOlHuV0By3k7lsOHctlM1Y0Dt9nraDGIv0XFaq1hCbrf zs7MiDvUlMbJsK4Tmd+50DKzg3KekkktQlXIkM29OzKcJOtNGF77aA/2XqTq39fpgw S04WtDCI46lCJCbRYfn8jZbHEr+3WtbMGc6Kd2GxD/a11gmQQrCw/VT48vO92KwZqZ 2ua/UO1PJ0BMvmXFPtJEr8lF2mQLu95EG9VuYOz6bJOPPirjSg/BkczG+GvZMG+A1U 0baEjbgoNOy5g== Original-Received: from alfajor (unknown [216.154.41.47]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C222512046B; Sat, 6 Feb 2021 13:25:06 -0500 (EST) In-Reply-To: <87k0rlm6gl.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sat, 06 Feb 2021 17:50:02 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:264075 Archived-At: >>> We would like to emit an obsoletion warning when dash-functional.el is >>> used, similar to the one for lisp/obsolete/* libraries. >> I think you can get exactly this behavior by placing the file in >> a directory called `obsolete`. > I don't think this will work with MELPA which bundles dash-functional as > its own single-file package. You'd have to make it a tarball, yes, but AFAIK MELPA supports tarballs just fine, so I don't see it as a problem (but then again, I don't see the benefit of having a package in MELPA when it's already in GNU ELPA, so there are clearly things that are beyond my understanding ;-). Stefan