Skip to content

Commit e19fd4c

Browse files
committed
Shorten the emailed report.
The full report, with all the updates, obscures the important day-to-day stuff regarding new and removed projects.
1 parent 0cffe55 commit e19fd4c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

indexes.lisp

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,22 @@ true. If there's a SHA1 mismatch, signal an error."
263263
(let ((target-directory (ql-setup:qmerge "dists/mock/")))
264264
(run "rm" "-rf" target-directory)
265265
(make-mock-dist "mock" "9999-99-99" target-directory)))
266-
(ql-dist:show-update-report (ql-dist:find-dist "quicklisp")
267-
(ql-dist:find-dist "mock"))
268-
(print (multiple-value-list (system-differences "quicklisp" "mock")))
269-
(sanity-check-report "mock")))
266+
(flet ((projects (dist)
267+
(mapcar 'name (provided-releases (ql-dist:find-dist dist)))))
268+
(let ((ql-projects (projects "quicklisp"))
269+
(mock-projects (projects "mock")))
270+
(let ((new-projects (set-difference mock-projects ql-projects
271+
:test 'string=))
272+
(removed-projects (set-difference ql-projects mock-projects
273+
:test 'string=)))
274+
(format t "New:~%~{ ~A~%~}~%" new-projects)
275+
(format t "Removed: ~%~{ ~A~%~}~%" removed-projects)))
276+
(multiple-value-bind (new-systems removed-systems)
277+
(system-differences "quicklisp" "mock")
278+
(format t "New systems:~% ~S~%" new-systems)
279+
(terpri)
280+
(format t "Removed systems:~% ~S" removed-systems))
281+
(sanity-check-report "mock"))))
270282
(when mail
271283
(mail-mock-report)))
272284

0 commit comments

Comments
 (0)