Add support for processing branch updated emails

This commit is contained in:
Christopher Baines 2019-03-19 20:18:09 +00:00
parent 5985b5938b
commit bdfb654233
Signed by: cbaines
GPG key ID: 5E28A33B0B84F577
7 changed files with 134 additions and 4 deletions

View file

@ -26,6 +26,11 @@ if test "x$have_fibers" != "xyes"; then
AC_MSG_ERROR([Guile fibers is missing; please install it.])
fi
GUILE_MODULE_AVAILABLE([have_email], [(email email)])
if test "x$have_email" != "xyes"; then
AC_MSG_ERROR([Guile email is missing; please install it.])
fi
guilemoduledir="${datarootdir}/guile/site/${GUILE_EFFECTIVE_VERSION}"
AC_SUBST([guilemoduledir])
AC_SUBST([GUILE_EFFECTIVE_VERSION])
@ -35,6 +40,7 @@ AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([guix-data-service/config.scm])
AC_CONFIG_FILES([scripts/guix-data-service], [chmod +x scripts/guix-data-service])
AC_CONFIG_FILES([scripts/guix-data-service-process-jobs], [chmod +x scripts/guix-data-service-process-jobs])
AC_CONFIG_FILES([scripts/guix-data-service-process-branch-updated-email], [chmod +x scripts/guix-data-service-process-branch-updated-email])
AC_CONFIG_FILES([scripts/guix-data-service-query-build-servers], [chmod +x scripts/guix-data-service-query-build-servers])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])