]> git.ipfire.org Git - pbs.git/blobdiff - Makefile.am
monitoring: Catch errors when we cannot create a build
[pbs.git] / Makefile.am
index 23593c5c42774d9a7e1e816be3489e01f8e59365..eb6f05342ef269c7c97594a7200953b8fa7ab16a 100644 (file)
@@ -94,7 +94,7 @@ buildservice_PYTHON = \
        src/buildservice/distribution.py \
        src/buildservice/errors.py \
        src/buildservice/events.py \
-       src/buildservice/git.py \
+       src/buildservice/httpclient.py \
        src/buildservice/jobs.py \
        src/buildservice/keys.py \
        src/buildservice/logstreams.py \
@@ -102,6 +102,8 @@ buildservice_PYTHON = \
        src/buildservice/mirrors.py \
        src/buildservice/misc.py \
        src/buildservice/packages.py \
+       src/buildservice/ratelimiter.py \
+       src/buildservice/releasemonitoring.py \
        src/buildservice/repository.py \
        src/buildservice/sessions.py \
        src/buildservice/settings.py \
@@ -132,11 +134,12 @@ web_PYTHON = \
        src/web/events.py \
        src/web/handlers.py \
        src/web/jobs.py \
-       src/web/keys.py \
        src/web/mirrors.py \
+       src/web/monitorings.py \
        src/web/packages.py \
        src/web/repos.py \
        src/web/search.py \
+       src/web/sources.py \
        src/web/ui_modules.py \
        src/web/uploads.py \
        src/web/users.py
@@ -148,10 +151,9 @@ webdir = $(buildservicedir)/web
 dist_templates_DATA = \
        src/templates/base.html \
        src/templates/index.html \
-       src/templates/jobs-buildroot.html \
        src/templates/log.html \
        src/templates/login.html \
-       src/templates/queue.html \
+       src/templates/modal.html \
        src/templates/search.html
 
 templatesdir = $(datadir)/templates
@@ -164,11 +166,13 @@ dist_templates_bugs_modules_DATA = \
 templates_bugs_modulesdir = $(templates_bugsdir)/modules
 
 dist_templates_builders_DATA = \
+       src/templates/builders/create.html \
        src/templates/builders/delete.html \
-       src/templates/builders/detail.html \
        src/templates/builders/edit.html \
-       src/templates/builders/list.html \
-       src/templates/builders/new.html
+       src/templates/builders/index.html \
+       src/templates/builders/show.html \
+       src/templates/builders/start.html \
+       src/templates/builders/stop.html
 
 templates_buildersdir = $(templatesdir)/builders
 
@@ -178,24 +182,45 @@ dist_templates_builders_modules_DATA = \
 templates_builders_modulesdir = $(templates_buildersdir)/modules
 
 dist_templates_builds_DATA = \
+       src/templates/builds/bug.html \
+       src/templates/builds/bug-created.html \
+       src/templates/builds/clone.html \
        src/templates/builds/delete.html \
        src/templates/builds/index.html \
        src/templates/builds/show.html
 
 templates_buildsdir = $(templatesdir)/builds
 
+dist_templates_builds_groups_DATA = \
+       src/templates/builds/groups/show.html
+
+templates_builds_groupsdir = $(templates_buildsdir)/groups
+
+dist_templates_builds_groups_modules_DATA = \
+       src/templates/builds/groups/modules/list.html
+
+templates_builds_groups_modulesdir = $(templates_builds_groupsdir)/modules
+
 dist_templates_builds_messages_DATA = \
        src/templates/builds/messages/comment.txt \
        src/templates/builds/messages/failed.txt \
-       src/templates/builds/messages/finished.txt
+       src/templates/builds/messages/finished.txt \
+       src/templates/builds/messages/test-builds-failed.txt
 
 templates_builds_messagesdir = $(templates_buildsdir)/messages
 
 dist_templates_builds_modules_DATA = \
-       src/templates/builds/modules/list.html
+       src/templates/builds/modules/list.html \
+       src/templates/builds/modules/watchers.html
 
 templates_builds_modulesdir = $(templates_buildsdir)/modules
 
+dist_templates_builds_repos_DATA = \
+       src/templates/builds/repos/add.html \
+       src/templates/builds/repos/remove.html
+
+templates_builds_reposdir = $(templates_buildsdir)/repos
+
 dist_templates_distros_DATA = \
        src/templates/distros/edit.html \
        src/templates/distros/index.html \
@@ -208,6 +233,32 @@ dist_templates_distros_modules_DATA = \
 
 templates_distros_modulesdir = $(templates_distrosdir)/modules
 
+dist_templates_distros_releases_DATA = \
+       src/templates/distros/releases/delete.html \
+       src/templates/distros/releases/edit.html \
+       src/templates/distros/releases/index.html \
+       src/templates/distros/releases/publish.html \
+       src/templates/distros/releases/show.html
+
+templates_distros_releasesdir = $(templates_distrosdir)/releases
+
+dist_templates_distros_releases_modules_DATA = \
+       src/templates/distros/releases/modules/list.html
+
+templates_distros_releases_modulesdir = $(templates_distros_releasesdir)/modules
+
+dist_templates_monitorings_DATA = \
+       src/templates/monitorings/delete.html \
+       src/templates/monitorings/edit.html \
+       src/templates/monitorings/show.html
+
+templates_monitoringsdir = $(templatesdir)/monitorings
+
+dist_templates_monitorings_modules_DATA = \
+       src/templates/monitorings/modules/releases-list.html
+
+templates_monitorings_modulesdir = $(templates_monitoringsdir)/modules
+
 dist_templates_errors_DATA = \
        src/templates/errors/error.html
 
@@ -225,7 +276,9 @@ templates_events_modulesdir = $(templates_eventsdir)/modules
 
 dist_templates_jobs_DATA = \
        src/templates/jobs/abort.html \
+       src/templates/jobs/index.html \
        src/templates/jobs/log-stream.html \
+       src/templates/jobs/queue.html \
        src/templates/jobs/retry.html
 
 templates_jobsdir = $(templatesdir)/jobs
@@ -237,7 +290,8 @@ templates_jobs_messagesdir = $(templates_jobsdir)/messages
 
 dist_templates_jobs_modules_DATA = \
        src/templates/jobs/modules/list.html \
-       src/templates/jobs/modules/log-stream.html
+       src/templates/jobs/modules/log-stream.html \
+       src/templates/jobs/modules/queue.html
 
 templates_jobs_modulesdir = $(templates_jobsdir)/modules
 
@@ -245,19 +299,21 @@ templates_messagesdir = $(templatesdir)/messages
 
 dist_templates_mirrors_DATA = \
        src/templates/mirrors/delete.html \
-       src/templates/mirrors/detail.html \
        src/templates/mirrors/edit.html \
-       src/templates/mirrors/list.html \
-       src/templates/mirrors/new.html
+       src/templates/mirrors/index.html \
+       src/templates/mirrors/show.html
 
 templates_mirrorsdir = $(templatesdir)/mirrors
 
+dist_templates_mirrors_modules_DATA = \
+       src/templates/mirrors/modules/list.html
+
+templates_mirrors_modulesdir = $(templates_mirrorsdir)/modules
+
 dist_templates_modules_DATA = \
-       src/templates/modules/commits-table.html \
        src/templates/modules/commit-message.html \
        src/templates/modules/link-to-user.html \
        src/templates/modules/packages-files-table.html \
-       src/templates/modules/source-table.html \
        src/templates/modules/text.html
 
 templates_modulesdir = $(templatesdir)/modules
@@ -265,6 +321,7 @@ templates_modulesdir = $(templatesdir)/modules
 dist_templates_repos_DATA = \
        src/templates/repos/create-custom.html \
        src/templates/repos/builds.html \
+       src/templates/repos/delete.html \
        src/templates/repos/edit.html \
        src/templates/repos/show.html
 
@@ -275,9 +332,20 @@ dist_templates_repos_modules_DATA = \
 
 templates_repos_modulesdir = $(templates_reposdir)/modules
 
+dist_templates_sources_DATA = \
+       src/templates/sources/commit.html \
+       src/templates/sources/show.html
+
+templates_sourcesdir = $(templatesdir)/sources
+
+dist_templates_sources_modules_DATA = \
+       src/templates/sources/modules/commits.html \
+       src/templates/sources/modules/list.html
+
+templates_sources_modulesdir = $(templates_sourcesdir)/modules
+
 dist_templates_packages_DATA = \
        src/templates/packages/index.html \
-       src/templates/packages/name.html \
        src/templates/packages/show.html \
        src/templates/packages/view-file.html
 
@@ -289,11 +357,18 @@ dist_templates_packages_modules_DATA = \
 
 templates_packages_modulesdir = $(templates_packagesdir)/modules
 
+dist_templates_packages_name_DATA = \
+       src/templates/packages/name/builds.html \
+       src/templates/packages/name/index.html
+
+templates_packages_namedir = $(templates_packagesdir)/name
+
 dist_templates_users_DATA = \
        src/templates/users/delete.html \
        src/templates/users/edit.html \
        src/templates/users/index.html \
-       src/templates/users/show.html
+       src/templates/users/show.html \
+       src/templates/users/subscribe.html
 
 templates_usersdir = $(templatesdir)/users
 
@@ -303,7 +378,8 @@ dist_templates_users_messages_DATA = \
 templates_users_messagesdir = $(templates_usersdir)/messages
 
 dist_templates_users_modules_DATA = \
-       src/templates/users/modules/list.html
+       src/templates/users/modules/list.html \
+       src/templates/users/modules/push-subscribe-button.html
 
 templates_users_modulesdir = $(templates_usersdir)/modules
 
@@ -332,14 +408,18 @@ static_js_DATA = \
        src/static/js/builders-stats.min.js \
        src/static/js/jquery.min.js \
        src/static/js/job-log-stream.min.js \
-       src/static/js/pbs.min.js
+       src/static/js/notification-worker.min.js \
+       src/static/js/pbs.min.js \
+       src/static/js/user-push-subscribe-button.min.js
 
 static_jsdir = $(staticdir)/js
 
 EXTRA_DIST += \
        src/static/js/builders-stats.js \
        src/static/js/job-log-stream.js \
-       src/static/js/pbs.js
+       src/static/js/notification-worker.js \
+       src/static/js/pbs.js \
+       src/static/js/user-push-subscribe-button.js
 
 CLEANFILES += \
        $(static_js_DATA)