YEMYZP24MMAEYZJTLAYTOOBVILR7467ZX2K5T2PDGXW75IQE2NJQC
R22AJ7DO4PBTSUAMBLGWMJ7KTGLFMSKJHD7PKZKFOIF3UW7DNRTQC
RXCY7LD6ZRIOIKZEYKLMCYPMQPXF4DOEEFBDLVR2B22BXLZJFFBQC
A3TVGLVHSVLMEHLHB3TPBSD3QGNVGX3DIK6BEBDTTHWBNW4ALMRAC
FBPIMKS4AZESEN23F6TEBISAMAIFAF2TC6Y2VPYR43N724TWKZSQC
5PUTZ65VCZROT54SY5B4SZM47G5C4M5MFTS6NVBLEOXBNU4UXU2QC
C2AK6BRZ7C4GYAJBHJRSV67536KRP6QC2IJN5OENKFFKPXCNTARAC
BS7ABBU7XUN2MNHAKACMC2Z5GWNYW2ZJM2EWYX2P4NQILVBWZMGAC
6XELOGDCC2DQEL4VZZIGLIK6EJHY7Q2I76L4DVRJXO3VLYGYPHNAC
EY6TDTQF76OHSGWR572JUJP2DENLLKJ7TWM5VVIBOXWTPJ6B6MMAC
ZRZS3FAQVSBAHQLYNGR7FTVEEFMIV5IO2TUI7BOHQGRRAJ2HG6LQC
OWFOCHWRU53CS6GDG4PQDOG7C36CBCJN64OV3YTI3YGPZ4G2K4TQC
2TFLQ4P6QLMUCNYZ2IW4OFW4BFSP5ASAFVLGQFCELWTYKZQINZ2QC
(defclass asdf-user::fw-tool-system (asdf:system)
())
(defmethod asdf:perform :before ((o program-op) (c fw-tool-system))
(flet ((package-name-for-system ()
(let* ((primary-name (asdf:primary-system-name c)))
(format nil "fwoar.~a"
(subseq (asdf:component-name c)
(1+ (length primary-name)))))))
(uiop:symbol-call (string-upcase (package-name-for-system))
:prepare-dump)))
(defmethod asdf:output-files ((o program-op) (c fw-tool-system))
(let* ((exe-name (asdf/system:component-build-pathname c))
(result (merge-pathnames exe-name
(user-homedir-pathname))))
(format *error-output* "NOTICE ME: output to ~s" result)
(values (list result)
t)))
(defsystem :tools/git-pick-patch
:description "list files as json"
:author "Ed L <el-l@elangley.org>"
:license "MIT"
:build-pathname "git-pick-patch"
:entry-point "git-pick-patch:main"
:depends-on (#:alexandria
#:serapeum
#:cl-ppcre)
:output-files (program-op (o c)
(let* ((exe-name (asdf/system:component-build-pathname c))
(result (merge-pathnames exe-name
(user-homedir-pathname))))
(format *error-output* "NOTICE ME: output to ~s" result)
(values (list result)
t)))
:serial t
:components ((:file "git-pick-patch")))
for filtered = (when patch (filter-file-hunks patch
(op (cl-ppcre:scan pattern _))))
until (equal patch '("" nil))
when filtered do
(format t "~&~a~&" (rebuild-file-patch filtered))))))
for filtered = (when patch (filter-file-hunks patch
(op (cl-ppcre:scan pattern _))))
until (equal patch '("" nil))
when filtered do
(format t "~&~a~&" (rebuild-file-patch filtered))))))