Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-autorepo Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:28:40 2022 GMT+0.
Next: Systems, Previous: The cl-autorepo Reference Manual, Up: The cl-autorepo Reference Manual [Contents][Index]
cl-autorepo is a simple lisp library to ease inclusion of non-Quicklisp libraries from repositories. For example, to load my File System DataBase library: (ql:quickload "cl-autorepo") (cl-autorepo:add-system "fsdb" "https://github.com/billstclair/fsdb" :git) (ql:quickload "fsdb") You can add ADD-SYSTEM calls to your library system definition (.asd) files, to auto-download systems that aren't yet in Quicklisp. Downloaded systems are kept in ~/.local/share/common-lisp/source/, which is one of the places ASDF looks for systems by default. There is currently no support for updating libraries. You can easily do that yourself with "git pull", "svn update", etc. I've included support for git, svn, darcs, and hg. You can add another respository type with a simple DOWNLOAD-REPO method. Send it to me, and I'll add it. One way to autoload cl-autorepo itself, before it becomes part of Quicklisp, is the code below: (load "~/quicklisp/setup") ;may be in your init file (unless (or (find-package :cl-autorepo) (ignore-errors (ql:quickload "cl-autorepo"))) (let* ((dir "~/.local/share/common-lisp/source/") (autorepo-asd (merge-pathnames "cl-autorepo/cl-autorepo.asd" dir)) (url "https://github.com/billstclair/cl-autorepo")) (asdf:run-shell-command "mkdir -p ~a;cd ~a;git clone ~a" dir dir url) (load autorepo-asd) (ql:quickload "cl-autorepo"))) For an example of using cl-autorepo in a real system, see: https://github.com/billstclair/truledger/blob/master/truledger.asd Tested in ccl 1.7-r14927M and SBCL 1.0.49.0.debian Bill St. Clair bill@billstclair.com 11 August, 2011
Next: Modules, Previous: Introduction, Up: The cl-autorepo Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
A simple mechanism to auto-load ASDF systems from repositories.
Bill St. Clair <bill@billstclair.com>
Apache
1.0.0
src (module).
Next: Files, Previous: Systems, Up: The cl-autorepo Reference Manual [Contents][Index]
Modules are listed depth-first from the system components tree.
cl-autorepo (system).
Next: Packages, Previous: Modules, Up: The cl-autorepo Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: cl-autorepo/src/package.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
cl-autorepo (system).
Next: cl-autorepo/src/autorepo.lisp, Previous: cl-autorepo/cl-autorepo.asd, Up: Lisp [Contents][Index]
src (module).
Previous: cl-autorepo/src/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
src (module).
Next: Definitions, Previous: Files, Up: The cl-autorepo Reference Manual [Contents][Index]
Packages are listed by definition order.
common-lisp.
Next: Indexes, Previous: Packages, Up: The cl-autorepo Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Generic functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
Download the system named NAME of REPOSITORY-TYPE from the URL, unless it’s already defined.
Previous: Ordinary functions, Up: Public Interface [Contents][Index]
Download a repository of REPOSITORY-TYPE from URL, as a
subdirectory of DIRECTORY. REPOSITORY-TYPE can be :GIT, :SVN, :DARCS, or :HG
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Internals, Up: Internals [Contents][Index]
Previous: Special variables, Up: Internals [Contents][Index]
Previous: Definitions, Up: The cl-autorepo Reference Manual [Contents][Index]
Jump to: | A D F G M |
---|
Jump to: | A D F G M |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*repo-dir* : | Private special variables | ||
| |||
S | |||
Special Variable, *repo-dir* : | Private special variables | ||
|
Jump to: | *
S |
---|
Jump to: | A C F M P S |
---|
Jump to: | A C F M P S |
---|