|
| 1 | + |
| 2 | + |
| 3 | +# NAME |
| 4 | + |
| 5 | +ql-https — HTTPS support for Quicklisp via curl |
| 6 | + |
| 7 | + |
| 8 | +# VERSION |
| 9 | + |
| 10 | + 0.5.0 |
| 11 | + |
| 12 | + |
| 13 | +# SYNOPSIS |
| 14 | + |
| 15 | + (asdf:load-system "ql-https") |
| 16 | + |
| 17 | + |
| 18 | +# DESCRIPTION |
| 19 | + |
| 20 | + |
| 21 | +## PREREQUISITES |
| 22 | + |
| 23 | +- [Quicklisp](https://www.quicklisp.org/beta/) |
| 24 | +- curl (refer to your system package manager) |
| 25 | + |
| 26 | + |
| 27 | +## INSTALLATION |
| 28 | + |
| 29 | +1. `mkdir ~/quicklisp` and `cd ~/quicklisp` |
| 30 | +2. Go to <https://beta.quicklisp.org/client/quicklisp.sexp> and lookup `:client-tar` URL, download it, verify |
| 31 | + hash and untar. |
| 32 | +3. Clone ql-https from <https://github.com/rudolfochrist/ql-https.git> to |
| 33 | + to `~/common-lisp/ql-https` |
| 34 | +4. Disconnect internet. (Prevent that anything leaks over HTTP during the installation) |
| 35 | +5. Start a fresh REPL and (require 'asdf) |
| 36 | +6. Load `~/common-lisp/ql-https/ql-setup.lisp` |
| 37 | +7. Eval `(asdf:load-system "ql-https")` |
| 38 | +8. Inspect `ql-http:*fetch-scheme-functions*` and verify everything was registered properly. Both `http` and |
| 39 | + `https` have `ql-https:fetcher` registered. |
| 40 | +9. Connect internet. |
| 41 | +10. Eval `(quicklisp:setup)` - use the USE-HTTPS restart if you hit the network. |
| 42 | + |
| 43 | +Removing the *Missing client-info.sexp, using mock info* warning. |
| 44 | + |
| 45 | +1. Eval `(ql:update-client)` |
| 46 | +2. move `~/quicklisp/tmp/client-info.sexp` to `~/quicklisp` |
| 47 | + |
| 48 | + |
| 49 | +## STARTUP |
| 50 | + |
| 51 | + (let ((quicklisp-init #p"~/common-lisp/ql-https/ql-setup.lisp")) |
| 52 | + (when (probe-file quicklisp-init) |
| 53 | + (load quicklisp-init) |
| 54 | + (asdf:load-system "ql-https") |
| 55 | + (uiop:symbol-call :quicklisp :setup))) |
| 56 | + |
| 57 | + ;; optional |
| 58 | + #+ql-https |
| 59 | + (setf ql-https:*quietly-use-https* t) |
| 60 | + |
| 61 | + |
| 62 | +# AUTHOR |
| 63 | + |
| 64 | +Sebastian Christ (<mailto:rudolfo.christ@pm.me>) |
| 65 | + |
| 66 | + |
| 67 | +# COPYRIGHT |
| 68 | + |
| 69 | +Copyright (c) 2022 Sebastian Christ (rudolfo.christ@pm.me) |
| 70 | + |
| 71 | + |
| 72 | +# LICENSE |
| 73 | + |
| 74 | +Released under the MIT license. |
| 75 | + |
0 commit comments