The index is now a central part of the system, as it should. We store articles just like git stores its objects, in a two-tier directory. For example, article whose message id hashes to deadbeef is stored at index/de/ad/deadbeef. Articles in groups are now hardlinked to the index, the main repository of articles. Group's article names are now cached in groups/<g>/.meta/. The meta information is incrementally augmented every time it's necessary. Commands LIST and GROUP are now served at constant time. Other little fixes were done a long the way.
9 lines
218 B
Makefile
9 lines
218 B
Makefile
default: loop
|
|
|
|
loop: loop.asd loop.lisp scripts/build-exe.lisp
|
|
sbcl --script scripts/build-exe.lisp
|
|
|
|
install: loop
|
|
mkdir -p `head -1 conf-home` && \
|
|
cp -R loop accounts.lisp groups scripts \
|
|
`head -1 conf-home`
|