Mercurial > core / lisp/lib/packy/client.lisp
changeset 698: |
96958d3eb5b0 |
parent: |
ea4f008ad13f
|
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 04 Oct 2024 22:04:59 -0400 |
permissions: |
-rw-r--r-- |
description: |
fixes |
1 ;;; packy/client.lisp --- Packy Client 3 ;; Client-side API for Packy. 7 ;; The client is responsible for fetching packages from a registry, 8 ;; organizing packages, and making them available at build-time. 11 (in-package :packy/client) 13 (defun pk-index (&optional (name "packs")) 14 (let ((url (obj/uri:merge-uris (concatenate 'string name ".json") *packy-url*))) 15 (with-input-from-string (s (req:get url)) 16 (dat/json::json-read s nil))))