From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikolaos Chatzikonstantinou Newsgroups: gmane.emacs.bugs Subject: bug#75383: [BUG] Behavior of package.el with local archives Date: Sun, 5 Jan 2025 08:33:13 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12233"; mail-complaints-to="usenet@ciao.gmane.io" To: 75383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 14:34:20 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tUQlo-00033N-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 14:34:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUQlZ-0005le-Ck; Sun, 05 Jan 2025 08:34:05 -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 1tUQlX-0005lK-M4 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 08:34:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUQlW-00070P-3D for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 08:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=NDEU2qhrgGBmBeC2kBXKZj80xzce1YnlnJ1MUN3Z25o=; b=s+DW28f255DgGe1QPit+vf2zOzjlYAoDrLObw/RBMTvvrIrH/nAwB0AL8SDimz+oJ2T1rb2NP6A5ogawTSAVoC9sa5SOmqC+T8jb15HNp11bJy2iaravKBUmiDutcmtuj+Mnm/TR3f1c8k1I6gICq/SzKBlyvQN7+ptk8BciLMR49VYrg/aeHvsJ6jzHSb0GdiSbWZEIl+wU4zQqTD8/TciQdy8n42M9TL40OuYxf2oV7OjcwxNzuGEGThPCYiuiDP0VUifi6NzAxrZMaol/W13zl2/1AVqlwwo0HOnNZ76BbW6K3HUK8LDQj+R2xaAkKu7ZovX2/f5WNwjFKlIbLQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUQlV-0003Ji-Sm for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 08:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nikolaos Chatzikonstantinou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 13:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75383 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173608401812703 (code B ref -1); Sun, 05 Jan 2025 13:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jan 2025 13:33:38 +0000 Original-Received: from localhost ([127.0.0.1]:60386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUQl8-0003Ip-8y for submit@debbugs.gnu.org; Sun, 05 Jan 2025 08:33:38 -0500 Original-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 ) id 1tUQl6-0003Ia-Fh for submit@debbugs.gnu.org; Sun, 05 Jan 2025 08:33:37 -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 1tUQkx-0005iO-Jk for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 08:33:27 -0500 Original-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 ) id 1tUQkw-0006vD-0u for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 08:33:27 -0500 Original-Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-215770613dbso141643795ad.2 for ; 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) Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=nchatz314@gmail.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298563 Archived-At: 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