Commit Graph

31 Enmetoj

Author SHA1 Message Date
Jaidyn Ann cd1c603c8a Add additional MIRROR-IMG test
This one makes sure output is the same, regardless
as to whether or not files have already been
mirrored.
2024-05-31 23:22:14 -05:00
Jaidyn Ann 359696e5e2 Update README.md, mention new --source argument 2024-05-31 22:37:03 -05:00
Jaidyn Ann 19e01c762d Add --source & :HTML-URL to resolve relative URLs
Now, relative URLs in the input file can be
mirrored in relation to a given URL.
2024-05-31 22:29:47 -05:00
Jaidyn Ann f22dbba40d Add README.md and COPYING.txt 2024-05-31 22:04:02 -05:00
Jaidyn Ann b0edcf78a4 Fix UNIX cli error-handling
… I made a silly, brainless mistake here. :P
2024-05-31 21:40:05 -05:00
Jaidyn Ann e765f14583 Remove unused macro 2024-05-31 21:39:54 -05:00
Jaidyn Ann 25b412d307 Accept HTML from stdin, instead of requiring a file
This is much more handy (not to mention UNIX-y)!
2024-05-31 21:34:47 -05:00
Jaidyn Ann 7604512684 Add error-reporting to UNIX cli client 2024-05-31 15:48:43 -05:00
Jaidyn Ann 1097b4d0b3 Add --base and --downloads parameters to cli 2024-05-31 15:09:22 -05:00
Jaidyn Ann 74acf3fa2d Replace our RELATIVE-PATHNAME with PATHNAME-UTIL’s 2024-05-31 14:44:33 -05:00
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