diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-04-22 11:00:21 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-04-22 11:00:21 +0200 |
commit | e90894ef964a5cd84eb6fd7da6969e3ffa2945e1 (patch) | |
tree | 1d656cf22713fcede383054e5ffe30cf0a8fc889 /scripts | |
parent | f7d53a0bb8cd2ae83c30c03b881e63119da7e76c (diff) |
scripts: Use index!.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mumi.in | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/scripts/mumi.in b/scripts/mumi.in index 3297b79..b4c843c 100644 --- a/scripts/mumi.in +++ b/scripts/mumi.in @@ -22,17 +22,21 @@ ;;; along with mumi. If not, see <http://www.gnu.org/licenses/>. (use-modules (srfi srfi-1) - (srfi srfi-26) (srfi srfi-37) (system repl server) (ice-9 match) (ice-9 format) (mumi config) - (mumi bugs) - (mumi jobs) - (mumi messages) - (mumi web server) - (debbugs)) + ((mumi bugs) + #:select (db-create! update-bug-database!)) + ((mumi jobs) + #:select (worker-loop)) + ((mumi web server) + #:select (start-mumi-web-server)) + ((mumi xapian) + #:select (index!)) + ((debbugs) + #:select (soap-invoke* get-bugs))) (db-create!) @@ -47,6 +51,7 @@ (define* (update-state! #:key loop?) (catch #t (lambda () + (index!) (let ((nums (sort (append-map (lambda (package) (soap-invoke* (%config 'debbugs) get-bugs |