From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: history of ELPA packages and dependencies (was: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot)) Date: Thu, 20 Apr 2023 09:47:33 -0400 Message-ID: References: <87a5zj2vfo.fsf@gmail.com> <871qkom3fj.fsf@posteo.net> <83mt3b4yfc.fsf@gnu.org> <87edonlsxi.fsf@posteo.net> <83jzyf4vzb.fsf@gnu.org> <871qknllkj.fsf@posteo.net> <83fs934pjf.fsf@gnu.org> <87wn2fk47y.fsf@posteo.net> <83sfd2g2ek.fsf@gnu.org> <875y9yfxrr.fsf@gmail.com> <87y1muefks.fsf@gmail.com> <834jpifizy.fsf@gnu.org> <83y1mue1qi.fsf@gnu.org> <83sfd2e01f.fsf@gnu.org> <1a5e5837-513b-84d8-3260-cdbf42b71267@gutov.dev> <83sfcz9rf2.fsf@gnu.org> <09a49ab9-ac72-36a9-3e68-9c633710eba7@gutov.dev> <83r0sh8i1q.fsf@gnu.org> <83a5z482e3.fsf@gnu.org> <83lein7m7g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28959"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jim Porter , Dmitry Gutov , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 20 15:54:35 2023 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 1ppUk7-0007PJ-0w for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Apr 2023 15:54:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppUf7-0008DN-Hw; Thu, 20 Apr 2023 09:49:25 -0400 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 1ppUeP-0007xw-BM for emacs-devel@gnu.org; Thu, 20 Apr 2023 09:48:43 -0400 Original-Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppUdY-0001bF-0s; Thu, 20 Apr 2023 09:47:49 -0400 Original-Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-52079a12451so761249a12.3; Thu, 20 Apr 2023 06:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681998465; x=1684590465; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WXkSuaE4HqihvpgQTpFtc5/thzSfiggg7+Opy1prqTw=; b=UM1wIEguxZEwqeeTAg/ecFzuF/wNKtg41yrHLM3blOSvhkATb7g9iSZPHQhZHMVtDI JTbroZ4O0owzZsC1dP7e3sGLt6vsy7c0PVp/x1A1NsSoQbXRWaouHESjIP52FsTJFDYw 6qhly6qQBbsrVYVHuy17Fv0Ev0dAsXJRpapK4HlgMCivR7vyOceBzN62n/Wy6iVNGcdn lJztesW/JkeG0O0VV4dymOTOKZS2EdGRnq2C2SbC/0PSf42N1Y+SlSBxy7tyzEe3p7cA vgEbRZScENCTxI+rU986qhuEF8XihQo9EyYZo5SLpKELIW1/q7s4osHgoTTjkqlYt4na xueg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681998465; x=1684590465; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WXkSuaE4HqihvpgQTpFtc5/thzSfiggg7+Opy1prqTw=; b=fY0mRWEubGbLqpLpz6GXyAbMxFDoFmnAoKaMrB1QEW6K/U5ziuB19k8BA9kQb+U050 ZU+AxNrJnYrMzUh4z4Ta54DC/EuFosKVqG/bI6SpHgWukPBwlDn/bsxA69es/ZGE/qeQ o07T9V6lz9Sa4XBc+hulPVMuMZEJUXWDrhph8jYFo4KPZ5mkw1T437QLQVqXEnYlrYXX bh1WFCud0Xlk/vzkfCmruqRsWKPDaosXzTfzyr6K2I9C3PjAp/jcO0ERCnasmDOEdF80 NaV4hDUyJsi8r+3s6FRsQn/+YTWd/RklbJXTYGTrFWuNZjSaVH2q3IpjK00qPXYjfr2y hAzw== X-Gm-Message-State: AAQBX9dvs6/0YxeU+MnoPVi+5BODyS9chmtFmqxkg9dH2/MDURcmgDcN Gl7hlFcXNTcPbCmy7wlEJ8DGhn0dNZ1vGL9zn8a/NChO X-Google-Smtp-Source: AKy350Yli3ybFJR8J9RVrWzABV0wa50xCFczboe0g6oo6/HGCpSe+hAG/BDVp0VHKOi83GHsiOULUmkOewC/2RucbvM= X-Received: by 2002:a17:90b:2248:b0:24b:3295:3e23 with SMTP id hk8-20020a17090b224800b0024b32953e23mr1859903pjb.19.1681998465218; Thu, 20 Apr 2023 06:47:45 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=owinebar@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:305508 Archived-At: On Wed, Apr 19, 2023 at 6:51=E2=80=AFPM Lynn Winebarger wrote: > The "delta" of the package set installed > in the user area has to be enough to make the set of libraries "seen" > by the user coherent. That is, say package A and B both depend on > package C and all are in the site-level packaging area. Then the user > wants a different version of package A, which requires a different > version of package C. Coherence means that if the version of package > B installed at the site level is incompatible with the desired version > of package C, then a compatible version of package B will also have to > be installed in the user packaging area. That set has to be > transitively closed. Calculating the set of sets of package/version pairs satsifying the "coherence" constraint requires a lot of data from each published version of each package in an ELPA. Looking at the Savannah repos for GNU/nonGNU ELPAs, some package branches appear to have multiple elisp files with package header fields. For example, externals/corfu in the GNU ELPA repo has a subdirectory "extensions" in which some elisp files appear to contain package definitions. However, the GNU ELPA only has one "corfu" package. Unfortunately, I can't tell from that example if elpa-admin completely ignores the package-requires in the other elisp files, or determines the set of requirements based on fields from all included elisp files. So, can I determine package-requires of each package commit by looking only at the main elisp file for the package after checking out that commit? I'm sure MELPA will be more challenging, but building a history for GNU/nonGNU ELPA packages will be a good starting point. Thanks, Lynn