From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Adding the `prescient` packages to NonGNU ELPA? Date: Mon, 05 Dec 2022 17:21:34 +0000 Message-ID: <87ilipvk9t.fsf@posteo.net> References: <16193c73-ab80-04c9-558f-d5e6142f38f3@protonmail.com> <871qpydllo.fsf@posteo.net> <4a52210d-3e39-ed34-a7c9-c3ee6e2a7a68@protonmail.com> <11680a2c-b082-cfce-e075-9694ed06dae0@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15916"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Okamsn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 05 18:22:21 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 1p2FAb-0003wV-F2 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Dec 2022 18:22:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2FA2-0004CQ-W2; Mon, 05 Dec 2022 12:21:47 -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 1p2FA1-0004Bv-B1 for emacs-devel@gnu.org; Mon, 05 Dec 2022 12:21:45 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2F9z-0005bn-9i for emacs-devel@gnu.org; Mon, 05 Dec 2022 12:21:45 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 876BA240109 for ; Mon, 5 Dec 2022 18:21:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670260899; bh=eYNt3KBI4V3PaUy0TgWtAwpspJ26Dje1Mz2vL7E3KY0=; h=From:To:Cc:Subject:Date:From; b=p8SlCsAdpHRl9csDcgUvbRS0JoElLlmMwr7abw3FHpJ9ka3CWpsCLHcFm8nEkguD7 9A1pPObXG5FbVn75r1qRMrDUzwisJfrGDPrxjwTGm5F9Ut7yseWADL3oJocLQKczlx UnCP6ikOPUReZPrBhymzNf+9iGqcGa0kp9A41vMUmKtgWWbRy0GTB4XjmLRSsop5jl 5XgSKIBKzJ/0RhiL0qtCJZ1MmdxSX6Q2LxXypVB4jsn1qxrJWLI0CbvsgfsB3/Z/mO wmaJf0aJqsxtVVN0txRgKmjziHWEl7vfwuF3Yci44fhqYg3hYKK7ICgA663kzvugI6 KexgF/jgtByHw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NQr1r4t9xz6tlh; Mon, 5 Dec 2022 18:21:36 +0100 (CET) In-Reply-To: <11680a2c-b082-cfce-e075-9694ed06dae0@protonmail.com> (okamsn@protonmail.com's message of "Mon, 05 Dec 2022 00:27:57 +0000") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.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:300935 Archived-At: Okamsn writes: > On 2022-11-20 17:42 UTC, Okamsn wrote: >>> >>>> All of these packages live in the same repository in the link below. >>> >>> Would it be possible to change this? E.g. by making each project live >>> on it's own branch. That would make the :ignored-files rules below a >>> lot simpler. >> >> I wouldn't mind making new branches that hold the stable versions. Are >> you OK with the README and CHANGELOG still being duplicated in that case? >> >> ... > > After communicating with the other maintainers, they are requesting that > I do not make this change (discussion here: > https://github.com/radian-software/prescient.el/issues/138). To clarify a point from this discussion, it is certainly possible to arrange separate packages by excluding the other files, but it is a hack that would be nice to avoid. There are already a few packages (such as Magit) that do something like this, but in general this kind of packaging is a MELPA-ism. > You mentioned that there are caveats for package-vc. If a user wanted to > install a package using that feature (which I look forward to trying), > is it possible to tell it the files that should be added (or not be > added) to the load path? Package-vc uses the ELPA model, and all it does is clone a repository into your ~/.emacs.d/elpa directory and prepare it for activation (byte-compiling, generating autoloads, etc.). The rest is regular package.el, so all the files in the respective directories are accessible using `load'/`require'. >>>> When I tried testing the installation of `prescient`, it installed >>>> an older version of the file `prescient.el` than what is current in the >>>> repository. This was the version that received an update to the version >>>> number, but how does the system decide which is the most recent stable >>>> version of a file? I might need to increase the number to make it >>>> install a newer version. >>> >>> Yes, ELPA finds the last commit that changed the version header and uses >>> that to prepare a release. >> >> OK. I will try updating the version number to make sure that was the >> problem. >> > > This was the problem. The installation works after changing the version > number. I have asked about the author's process for releasing a new > minor version. 1+