snow: add TODO regarding summary before upload

This commit is contained in:
Nguyễn Thái Ngọc Duy 2020-09-05 09:31:29 +07:00
parent 711c89cd97
commit f4008c92cf

View file

@ -947,6 +947,7 @@
((package-file? (car o)) ((package-file? (car o))
(if (not (every package-file? (cdr o))) (if (not (every package-file? (cdr o)))
(non-homogeneous)) (non-homogeneous))
;; TODO: include a summary (version, file size, etc.)
(if (yes-or-no? cfg "Upload " o " to " (if (yes-or-no? cfg "Upload " o " to "
(remote-uri cfg '(command package uri) "/?")) (remote-uri cfg '(command package uri) "/?"))
(for-each (for-each
@ -960,6 +961,7 @@
(package (create-package (car spec+files) (package (create-package (car spec+files)
(cdr spec+files) (cdr spec+files)
package-file))) package-file)))
;; TODO: include a summary (version, file size, etc.)
(if (yes-or-no? cfg "Upload " o " to " (if (yes-or-no? cfg "Upload " o " to "
(remote-uri cfg '(command package uri) "/?")) (remote-uri cfg '(command package uri) "/?"))
(upload-package cfg spec package package-file)))))) (upload-package cfg spec package package-file))))))