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: Sat, 17 Dec 2022 16:24:23 +0000 Message-ID: <87iliavw08.fsf@posteo.net> References: <16193c73-ab80-04c9-558f-d5e6142f38f3@protonmail.com> <871qpydllo.fsf@posteo.net> <874jutft6g.fsf@gmail.com> <87pmcj2lsg.fsf@posteo.net> <877cyq5qym.fsf@posteo.net> <87pmcivwrq.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24041"; mail-complaints-to="usenet@ciao.gmane.io" Cc: North Year , Visuwesh , Okamsn , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 17 17:25:01 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 1p6Zzh-00062D-K5 for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Dec 2022 17:25:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Zz9-0005IR-76; Sat, 17 Dec 2022 11:24:27 -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 1p6Zz6-0005IG-Sd for emacs-devel@gnu.org; Sat, 17 Dec 2022 11:24:24 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Zz4-000779-OC for emacs-devel@gnu.org; Sat, 17 Dec 2022 11:24:24 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4998B24002A for ; Sat, 17 Dec 2022 17:24:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671294260; bh=8NYCUnU/QFt9U6xGKo28hn1mZlgC9nzbOfk0xSDV37g=; h=From:To:Cc:Subject:Date:From; b=B1elr9lZAYSNyRn+LQbLnOwF+Ld20Z1U40IYEYH9hiYA+ML4sLXGi1Mr2Hf5x/W1l /X+iGnoqUmlLQuvsapLF1PoN1zaweIZDQKDKcPQoxGGT1b8Y8veDBnAauOLSbvj/dv LlEXXFvHND0Cn/K7ANKRfndjDWpOGH7iijFCi88sajgTbo//MnyKvR6lYfcAlGkPNF 2lDgp1ADtINZyDlXvIaiB8q3PmB6lns66MJPVyYLdtIk0gNz0tYhkMS0SdGywIihZZ 25aoLolhTQtg/owmj1EDcmJEQXQ5xoRc+0JBASqiEXV7PSBhbvLAuPhX99BPzqw2XK VHEzPDLIn31Zg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NZBBC4Hytz6tm4; Sat, 17 Dec 2022 17:24:19 +0100 (CET) In-Reply-To: <87pmcivwrq.fsf@posteo.net> (Philip Kaludercic's message of "Sat, 17 Dec 2022 17:07:53 +0100") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.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, 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:301571 Archived-At: --=-=-= Content-Type: text/plain Philip Kaludercic writes: > Stefan Monnier writes: > >>> The only issue I can think about is if later on someone else wants to >>> add a package that depends on a specific "sub-package", and they find >>> themselves in a conflict specifying their dependency list, in case this >>> hypothetical package is to be distributed both via ELPA and MELPA. >> >> Not our problem? > > So let it be written, so let it be done. > > I will prepare the package with everything bundled into a single > package, and see if that works out. As I had suspected, the main issue is that byte-compilation fails: --8<---------------cut here---------------start------------->8--- make -k packages/prescient Byte compiling packages/prescient/company-prescient.el Error loading autoloads: (file-missing Cannot open load file No such file or directory /home/philip/Source/nongnu/packages/elfeed/elfeed-autoloads) In toplevel form: packages/prescient/company-prescient.el:29:2: Error: Cannot open load file: No such file or directory, company make: *** [GNUmakefile:119: packages/prescient/company-prescient.elc] Error 1 Byte compiling packages/prescient/corfu-prescient.el Error loading autoloads: (file-missing Cannot open load file No such file or directory /home/philip/Source/nongnu/packages/elfeed/elfeed-autoloads) In toplevel form: packages/prescient/corfu-prescient.el:27:2: Error: Cannot open load file: No such file or directory, corfu make: *** [GNUmakefile:119: packages/prescient/corfu-prescient.elc] Error 1 Byte compiling packages/prescient/ivy-prescient.el Error loading autoloads: (file-missing Cannot open load file No such file or directory /home/philip/Source/nongnu/packages/elfeed/elfeed-autoloads) In toplevel form: packages/prescient/ivy-prescient.el:32:2: Error: Cannot open load file: No such file or directory, ivy make: *** [GNUmakefile:119: packages/prescient/ivy-prescient.elc] Error 1 Byte compiling packages/prescient/selectrum-prescient.el Error loading autoloads: (file-missing Cannot open load file No such file or directory /home/philip/Source/nongnu/packages/elfeed/elfeed-autoloads) In toplevel form: packages/prescient/selectrum-prescient.el:27:2: Error: Cannot open load file: No such file or directory, selectrum make: *** [GNUmakefile:119: packages/prescient/selectrum-prescient.elc] Error 1 Byte compiling packages/prescient/vertico-prescient.el Error loading autoloads: (file-missing Cannot open load file No such file or directory /home/philip/Source/nongnu/packages/elfeed/elfeed-autoloads) In toplevel form: packages/prescient/vertico-prescient.el:29:2: Error: Cannot open load file: No such file or directory, vertico make: *** [GNUmakefile:119: packages/prescient/vertico-prescient.elc] Error 1 make: Target 'packages/prescient' not remade because of errors. --8<---------------cut here---------------end--------------->8--- But I guess this can be resolved upstream, if there is an interest. Other than that, the tarball has a lot of administrative files. I'd recommend adding an .elpaignore: --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-.elpaignore-Ignore-administrative-files.patch >From 263d6101bb66216a62928cff5490ea05770b1397 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sat, 17 Dec 2022 17:24:04 +0100 Subject: [PATCH] * .elpaignore: Ignore administrative files --- .elpaignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .elpaignore diff --git a/.elpaignore b/.elpaignore new file mode 100644 index 0000000000..cf3e7575c2 --- /dev/null +++ b/.elpaignore @@ -0,0 +1,5 @@ +Dockerfile +.github +Makefile +scripts +stub -- 2.35.1 --=-=-=--