Commit Graph

21 Enmetoj

Author SHA1 Message Date
Jaidyn Ann e2f2f38f01 Support separate download-dir and URL-dir 2024-05-31 14:41:46 -05:00
Jaidyn Ann 771241cb1d Fix URLs not getting substituted after download
That is, on the first run of MIRROR-IMG, no
mirrored URLs got substituted — and on subsequent
runs, only previously-downloaded URLS did.
2024-05-31 12:11:31 -05:00
Jaidyn Ann 06890e2395 Ensure testing HTTP server dies, even post-error 2024-05-31 12:10:29 -05:00
Jaidyn Ann 7807afece2 Replace cl-strings with split-sequence
… which is already pulled in as an indirect
dependency, anyway.
2024-05-29 22:03:08 -05:00
Jaidyn Ann 43cc123057 Fix URL-substitions with some tags (<link>) 2024-05-29 21:55:59 -05:00
Jaidyn Ann 93022814fd Fix crunching of mirrored filenames
Previously, a “!” was enough to throw off the
crunching; that’s fixed now! Huzzah!
2024-05-29 21:55:08 -05:00
Jaidyn Ann 55362c7075 Update URL-parsing tests
Also modifies a test URL to have a question-mark.
2024-05-29 21:27:03 -05:00
Jaidyn Ann d9bead00b4 Fix error with URL-parsing
Query parameters (post-?) were previously ignored.
2024-05-29 21:26:38 -05:00
Jaidyn Ann 28f40c5f6e Add tests for private URI-EXPLICIT-PORT 2024-05-28 23:22:06 -05:00
Jaidyn Ann 73e88853df Swap order of test functions and expected results
No functional change.
2024-05-28 23:17:58 -05:00
Jaidyn Ann 0a26e42b6f Fix URL-encoding issue with port-numbers
:80 and :443 would be redundantly added to HTTP
and HTTPS URLs, respectively.
2024-05-28 23:12:36 -05:00
Jaidyn Ann 36c8b2a87b Add testing website and additional tests
… most importantly for MIRROR-IMG:MIRROR-IMG.
Thanks Hunchentoot, for being such a nice
web-server. =w=
2024-05-28 15:09:22 -05:00
Jaidyn Ann 927f80e1ee Use keyword rather than optional arguments 2024-05-28 15:07:27 -05:00
Jaidyn Ann 0b4ceff91f Init basic tests 2024-05-27 23:59:55 -05:00
Jaidyn Ann 199dc99c36 Add Makefile for binary/cleanup 2024-05-27 23:46:43 -05:00
Jaidyn Ann 3a26997f2d Begin UNIX cli front-end 2024-05-27 23:46:30 -05:00
Jaidyn Ann 0316d7ca9e Move mirror-img.lisp into src/ directory 2024-05-27 23:15:56 -05:00
Jaidyn Ann b53376d1d2 Formatting tweaks (no functional changes) 2024-05-27 23:14:33 -05:00
Jaidyn Ann aa9261ce63 Comment parameter/return types above functions
I find this helps readability, at least for me.
2024-05-24 21:08:29 -05:00
Jaidyn Ann 7c6eb4d19c Create a mirror-img system and package 2024-05-24 20:58:37 -05:00
Jaidyn Ann 8cbb3e338d Init 2024-05-24 20:42:21 -05:00