greg(a)alphatech.com wrote:
Are you sure we need a variable to disable the PGP signature
verification?
We don't necessarily need a variable to disable the verification,
but we (at least) need a variable to suppress asking the user if he
really wants to install the package *if* PGP & friends are NOT
available. The default, of course, would be to always ask the user.
I'll whack up a quick patch for this.
>> Whoa. The `package-get-base-filename' needs to be made
into a
>> plain filename (no directory, unless it's a relative path), that's
>> located via the paths in `package-get-remote'. Right now, we've got
>> two places that contains ftp site information, and we should be using
>> only one (`package-get-remote'). Why make people change two variables
>> when one will suffice? (This does, however, raise the problem where the
>> `package-get-base-filename' file could be obtained from a different
>> location from the other packages.)
How about if when it is relative it is searched for in that path?
And the default would be relative. I can do this tonight.
Yes, that'll work (I'll assume that you'll create the patch).
However, note that `package-get-remote' is a list of paths, and not a
single path. Also, package-get-remote can contain both remote (efs) and
local paths.
Furthermore, note that adding the directory in `package-get-dir' to
the beginning of `package-get-remote' creates a local package cache.
When installing packages, this will cause the installer to first look in
the local `package-get-dir' directory, and only fetch the package
remotely if a local copy doesn't exist. (This does assume that
`package-get-remove-copy' is nil, though.)
--
Darryl Okahata
darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.