[sucky] Automatic download tool.
Daniel Barlow <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've just committed a first cut at a tool which can be used to download and install cclan packages automatically. It's a hack, but it's a low-overhead hack that can easily be installed. Herewith a list of features/nonfeatures * finds package locations by referring to the :(package) link on the given cliki page * builtin http (almost) client. Copes with proxies, unless they need to be authenticated to * attempts to pull detached pgp signatures (foo.asc files) and verify them against the download. probably quite important when your download location can be changed by anyone who can edit a cliki page * doesn't yet, however, verify that the package signature is from someone whose Lisp you trust, just that you have them on your pgp keyring * downloads files, sets asdf to compiling them. chases dependencies where the dependencies are not present on the system * does/knows absolutely nothing about versions * presently sbcl-only. requires tar and gpg, but no dependencies on any Lisp modules other than thosre that come with sbcl. not elegant, but it can be used to bootstrap a more elegant solution, which will probably need more libraries and stuff. * Integrated "TODO list" functionality, utilising the Lisp #| |# comment feature to separate the list of outstanding items from the actual source code. Example run, which you need tip-top-brand-new asdf to replicate (it'll work without, but you get mucho spewage from asdf loading stuff which is not shown here): :; ./asdf-install cliki Install where? 1) System-wide install: System in #P"/opt/circle-2003-1/lib/sbcl/site-systems/" Files in #P"/opt/circle-2003-1/lib/sbcl/site/" 2) Personal installation: System in #P"/home/dan/.sbcl/systems/" Files in #P"/home/dan/.sbcl/site/" --> 2 Downloading 32428 bytes from http://ftp.linux.org.uk/pub/lisp/experimental/cclan/cliki.tar.gz ... gpg: Signature made Wed Jun 4 01:54:02 2003 BST using DSA key ID 75908913 gpg: Good signature from "Daniel Barlow <[email protected]>" gpg: aka "Daniel Barlow <[email protected]>" Installing #P"/home/dan/cliki.asdf-install-tmp" in #P"/home/dan/.sbcl/site/",#P"/home/dan/.sbcl/systems/" cliki/README.cCLan-install cliki/cliki.asd [...] Downloading package NET-TELENT-DATE, required by cliki Downloading 8326 bytes from http://ftp.linux.org.uk/pub/lisp/experimental/cclan/net-telent-date.tar.gz ... Install failed due to error: Cannot verify package signature: Server responded 404 for GET http://ftp.linux.org.uk/pub/lisp/experimental/cclan/net-telent-date.tar.gz.asc Suggestions welcome. Patches for TODO items doubly so. Find it in CCLAN cvs as asdf/asdf-install.lisp or on the web at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/cclan/asdf/asdf-install.lisp?rev=HEAD&content-type=text/vnd.viewcvs-markup - -dan - -- http://www.cliki.net/ - Link farm for free CL-on-Unix resources -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+3WQeHDK5ZnWQiRMRAi4lAJ9jAXeF5arq6LNETW0/za/p2YXSRwCfTL6G oW9oNmEV9yu+DrpuK0BBd5M= =vFMC -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.