From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
To: 75383@debbugs.gnu.org
Subject: bug#75383: [BUG] Behavior of package.el with local archives
Date: Sun, 5 Jan 2025 08:33:13 -0500 [thread overview]
Message-ID: <CAAQmekdpULi30ZC=sRM8W+ei2b5Ww2C4eubnY4B0yRFvmD5LLg@mail.gmail.com> (raw)
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
reply other threads:[~2025-01-05 13:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAQmekdpULi30ZC=sRM8W+ei2b5Ww2C4eubnY4B0yRFvmD5LLg@mail.gmail.com' \
--to=nchatz314@gmail.com \
--cc=75383@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.