Received: (at submit) by debbugs.gnu.org; 5 Jan 2025 13:33:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 08:33:38 2025
Received: from localhost ([127.0.0.1]:60386 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUQl8-0003Ip-8y
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 08:33:38 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52918)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <nchatz314@HIDDEN>)
id 1tUQl6-0003Ia-Fh
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 08:33:37 -0500
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 <nchatz314@HIDDEN>)
id 1tUQkx-0005iO-Jk
for bug-gnu-emacs@HIDDEN; Sun, 05 Jan 2025 08:33:27 -0500
Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <nchatz314@HIDDEN>)
id 1tUQkw-0006vD-0u
for bug-gnu-emacs@HIDDEN; Sun, 05 Jan 2025 08:33:27 -0500
Received: by mail-pl1-x635.google.com with SMTP id
d9443c01a7336-215770613dbso141643795ad.2
for <bug-gnu-emacs@HIDDEN>; Sun, 05 Jan 2025 05:33:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1736084004; x=1736688804; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=NDEU2qhrgGBmBeC2kBXKZj80xzce1YnlnJ1MUN3Z25o=;
b=e9OVxhWOm6138ReaRE6IPJvEgAGyRlFAZUC9vDJM53Aetmsf5/rzV2fJDZey/4goeQ
CDavRnFjJ5J6usO3YROuSt69/mCs5EmU/FDtSkP2hhpoS9WOi1lm1zBlQJIS+U2ZNcqZ
8iQL1R0TZzfaDUIcwGbrwzC/RrlUXRC/IV1uk7C90L09Ft9LMqDlvCTU4M8plkd8k7lx
eGpwg6Bp4gEJp7SBlVsHMbhpinvE77EaJohtX6L6HcHqvRpU/WELlz40qh+XlfF4gQ9L
c6gTBsc06A4EIjj7w6+bRVs9ILpU75EyC+cvayM9qIsrW8jXLJkvFZAtHZNpgNymqHIj
qkRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1736084004; x=1736688804;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=NDEU2qhrgGBmBeC2kBXKZj80xzce1YnlnJ1MUN3Z25o=;
b=d3PTaGqUMh3hMgeQKQE+2uOp4uuzOLe3RunOUAXgYnqgEmc54W+VlcIwj7zrAOF13V
bOnnRSVOMJJv5To/OLOVHll31UTFR2D8j4wanr5YOm08JRzrxVn0Vux6Ufgj2HGkc+wi
h2kmd+WJghd01nvO1I770vW+2SpsqKC5uOn3B1/SGufqqQTLAV5VWe22vmZlbOmCml7w
6QlhmeWuVBoHWakl1//32E4VtF1rRVPL6Oe7TxFa2zHktC/eMv7R10y1IFZjRKiZqidb
dvcz76TaE4F1cA7KV0qx8rfKfyg5vDn4WTJadutq9Nk9Yqgs1dKPZs3V/ugXy3TFk4eR
o3NA==
X-Gm-Message-State: AOJu0YxJ//vpEsJFWXgoOcxYfx3er4wj0O6ys8eKV264v+B3B1HMkcHC
JnK+quelYMssVTIsmKe4UAXvClU+kotT1Qh7Zp79KJcZ1IXuELh3hVe9asLq5dvkGmFz0H1Wv13
11GPPjZtEZBV8ROtBGtykKTeliXlpygtR
X-Gm-Gg: ASbGncvwfEHYcsLkDJVvTbcNLEDOZia4HtKWr5pInYLkzUUgT5zdVGCio43fe/9vIHg
wOGEAm9bhRsYTnHDjP2EamAUOdvlkHTU1uGA=
X-Google-Smtp-Source: AGHT+IExCno5xZYnoFXdqZuVFhDczJd0Za9Jowi08na0dNdYAq2vgbCPamNkM1E9/JKdB5iqOj6yOKdcr2R00bK1w5U=
X-Received: by 2002:a17:902:d502:b0:216:4348:149d with SMTP id
d9443c01a7336-219e6f25d60mr886993375ad.53.1736084003847; Sun, 05 Jan 2025
05:33:23 -0800 (PST)
MIME-Version: 1.0
From: Nikolaos Chatzikonstantinou <nchatz314@HIDDEN>
Date: Sun, 5 Jan 2025 08:33:13 -0500
Message-ID: <CAAQmekdpULi30ZC=sRM8W+ei2b5Ww2C4eubnY4B0yRFvmD5LLg@HIDDEN>
Subject: [BUG] Behavior of package.el with local archives
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::635;
envelope-from=nchatz314@HIDDEN; helo=mail-pl1-x635.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.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,
FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hello list, I wanted to set up my own local archive. From
reading (elisp)Creating and Maintaining Package Archives, especially:
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (nchatz314[at]gmail.com)
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (nchatz314[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Hello list,
I wanted to set up my own local archive.
From reading (elisp)Creating and Maintaining Package Archives, especially:
> A package archive is simply a directory in which the package files,
and associated files, are stored.
I figured that all I had to do was (add-to-list 'package-archives
'(("my-test-archive" . "~/test"))), and (add-to-list
'package-unsigned-archives "my-test-archive"), and simply include the
single-file .el packages in the ~/test directory, and then a M-x
package-refresh-contents would update the package list and allow me to
install them.
Unfortunately I ran into problems, as the refresh function was failing
to access the local archive, and from digging around a bit the
function `package-refresh-contents' is expecting an "archive-contents"
file.
I'd like to ask, does package.el support local archives? If yes,
should they have an archive-contents file? If not, should the above
info page be modified to be more explicit about the fact that archives
are remote only?
Regards,
Nikolaos Chatzikonstantinou
Nikolaos Chatzikonstantinou <nchatz314@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#75383; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.