# HG changeset patch # User Richard Westhaver # Date 1706241803 18000 # Node ID b6889b8a2f8397e975bd5eb4d488acc5cd868fc2 # Parent 2601788ab8056c66fed0fb2c63acbda1fb617576 core/notes diff -r 2601788ab805 -r b6889b8a2f83 core/notes.org --- a/core/notes.org Wed Jan 10 19:02:43 2024 -0500 +++ b/core/notes.org Thu Jan 25 23:03:23 2024 -0500 @@ -1,3 +1,45 @@ {{{header(Core Notes,Richard Westhaver,ellis@rwest.io)}}} #+OPTIONS: ^:nil toc:nil num:nil html-postamble:nil - +* NOTE packy design +:PROPERTIES: +:ID: 76ae24f5-46e8-4b91-8991-41245383d337 +:END: +:LOGBOOK: +- State "NOTE" from [2024-01-25 Thu 22:39] +:END: +- API root: https://packy.compiler.company +- source packs: https://vc.compiler.company/packy +** Lib +*** Types +**** Pack +Primary data type of the library - typically represents a compressed +archive, metadata, and ops. +**** Bundle +Collection data type, usually contains a set of packs with metadata. +**** PackyEndpoint +Represents a Packy instance bound to a UDP socket +**** PackyEndpointConfig +Global endpoint configuration object +**** PackyClientConfig +Configuration for outgoing packy connections on an endpoint +**** PackyServerConfig +Configuration for incoming packy connection son an endpoint +**** PackyConnection +Packy connection object +*** Traits +**** PackyClient +***** query +***** install +***** update +***** login +***** logout +***** pull +***** push +**** PackyServer +***** start_packy_server +***** stop_packy_server +***** start_packy_registry +**** PackyRegistry +***** register_pack +***** register_user +***** register_bundle diff -r 2601788ab805 -r b6889b8a2f83 infra/notes.org --- a/infra/notes.org Wed Jan 10 19:02:43 2024 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -{{{header(infra/notes,Richard Westhaver,ellis@rwest.io)}}} diff -r 2601788ab805 -r b6889b8a2f83 infra/quickstart.org --- a/infra/quickstart.org Wed Jan 10 19:02:43 2024 -0500 +++ b/infra/quickstart.org Thu Jan 25 23:03:23 2024 -0500 @@ -4,13 +4,23 @@ Infra Quickstart Guide)}}} #+property: header-args :dir /home/ellis/dev/comp/infra/ -- Dependencies +- Minimum Dependencies - Mercurial - Make + - Podman -#+name: install-infra-dependencies +#+name: pull-infra-container #+begin_src shell -sudo pacman -Sy make mercurial podman wayland -# emacs build dependencies -sudo pacman -Sy libvoikko librsvg imagemagick sysprof lldb +podman pull registry.compiler.company/comp/infra/box:latest +podman run -it infra/box #+end_src + +/or/ + +#+name: pull-infra-source +#+begin_src shell +sudo pacman -Sy make mercurial podman +hg clone https://vc.compiler.company/comp/infra +cd infra +make box +#+end_src diff -r 2601788ab805 -r b6889b8a2f83 infra/readme.org --- a/infra/readme.org Wed Jan 10 19:02:43 2024 -0500 +++ b/infra/readme.org Thu Jan 25 23:03:23 2024 -0500 @@ -5,4 +5,3 @@ - [[file:quickstart.org][Quickstart]] :: Quickstart Guide - [[file:stats.org][Stats]] :: Project Statistics -- [[file:notes.org][Notes]] :: Internal Notes diff -r 2601788ab805 -r b6889b8a2f83 infra/scripts.org --- a/infra/scripts.org Wed Jan 10 19:02:43 2024 -0500 +++ b/infra/scripts.org Thu Jan 25 23:03:23 2024 -0500 @@ -8,26 +8,42 @@ - arch-upgrade.sh - autogen.lisp - aws-set-env.sh +- build-emacs-mini.sh - build-emacs.sh +- bundle-code.sh - bundle-dir.sh +- cargo-install.sh +- check.fasl - check.lisp +- dist-sbcl-binary.sh +- dist-sbcl-source.sh - eval.sh -- get-cargo-tools.sh +- find-heptapod.sh - get-cl.sh - get-code.sh +- get-ecl.sh - get-emacs.sh - get-linux.sh - get-lust.sh - get-rocksdb.sh - get-rust.sh - get-sbcl.sh +- get-tree-sitter.sh - git-vendor-pull.sh - init.sh -- parse-x11-colors.lisp +- install-cargo-tools.sh +- install-emacs-pack.sh +- install-nu-pack.sh +- install-rocksdb-pack.sh +- install-rust-pack.sh +- install-sbcl-pack.sh - print-colors.sh +- quicklisp-install.sh - record-gif.sh +- sbcl-make-bin.sh - sbcl-save-core.sh - sc.sh -- ts-install-langs.sh +- tree-sitter-install-langs.sh +- vc-remote.nu - wg-gen-keys.sh diff -r 2601788ab805 -r b6889b8a2f83 infra/stats.org --- a/infra/stats.org Wed Jan 10 19:02:43 2024 -0500 +++ b/infra/stats.org Thu Jan 25 23:03:23 2024 -0500 @@ -11,10 +11,12 @@ Language Files Lines Code Comments Blanks =============================================================================== Lisp 2 152 109 11 32 - Makefile 1 213 157 28 28 + Makefile 1 234 179 25 30 Org 1 39 35 0 4 - Shell 43 1280 927 228 125 + Ruby 1 3093 5 2681 407 + Shell 40 1286 939 222 125 + YAML 2 1692 537 959 196 =============================================================================== - Total 47 1684 1228 267 189 + Total 47 6496 1804 3898 794 =============================================================================== #+end_example diff -r 2601788ab805 -r b6889b8a2f83 infra/todo.org --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/infra/todo.org Thu Jan 25 23:03:23 2024 -0500 @@ -0,0 +1,24 @@ +* TODO deploy [0/3] +:LOGBOOK: +- State "TODO" from [2023-12-30 Sat 19:20] +:END: +** TODO ci +:LOGBOOK: +- State "TODO" from [2023-12-30 Sat 19:22] +:END: +** TODO packy +:LOGBOOK: +- State "TODO" from [2023-12-30 Sat 19:22] +:END: +** TODO demo +:LOGBOOK: +- State "TODO" from [2023-12-30 Sat 19:22] +:END: +* TODO install-tree-sitter-pack.sh +:LOGBOOK: +- State "TODO" from [2024-01-24 Wed 22:59] +:END: +- pull-tree-sitter-langs.sh +- install-tree-sitter-langs.sh (OG, calls pull) +- make dist/tree-sitter +