]> git.ipfire.org Git - pbs.git/blobdiff - Makefile.am
jobs: Update API
[pbs.git] / Makefile.am
index ea2a788cad7dc4428062ae9e95b56bc4157656cb..1d506fbcbe05ae2c65235fdbab4b3f84710ab3ea 100644 (file)
@@ -73,7 +73,6 @@ dist_doc_DATA = \
 
 dist_bin_SCRIPTS = \
        src/scripts/pakfire-build-service \
-       src/scripts/pakfire-hub \
        src/scripts/pakfire-web
 
 dist_configs_DATA = \
@@ -95,14 +94,16 @@ buildservice_PYTHON = \
        src/buildservice/distribution.py \
        src/buildservice/errors.py \
        src/buildservice/events.py \
-       src/buildservice/git.py \
-       src/buildservice/jobqueue.py \
+       src/buildservice/httpclient.py \
        src/buildservice/jobs.py \
        src/buildservice/keys.py \
+       src/buildservice/logstreams.py \
        src/buildservice/messages.py \
        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 \
@@ -121,16 +122,6 @@ EXTRA_DIST += \
 CLEANFILES += \
        src/buildservice/constants.py
 
-hub_PYTHON = \
-       src/hub/__init__.py \
-       src/hub/builds.py \
-       src/hub/handlers.py \
-       src/hub/jobs.py \
-       src/hub/queue.py \
-       src/hub/uploads.py
-
-hubdir = $(buildservicedir)/hub
-
 web_PYTHON = \
        src/web/__init__.py \
        src/web/auth.py \
@@ -138,17 +129,20 @@ web_PYTHON = \
        src/web/bugs.py \
        src/web/builders.py \
        src/web/builds.py \
+       src/web/debuginfo.py \
        src/web/distributions.py \
        src/web/errors.py \
        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
 
 webdir = $(buildservicedir)/web
@@ -157,19 +151,10 @@ webdir = $(buildservicedir)/web
 
 dist_templates_DATA = \
        src/templates/base.html \
-       src/templates/distro-edit.html \
-       src/templates/distro-source-commit-detail.html \
-       src/templates/distro-source-commit-reset.html \
-       src/templates/distro-source-commits.html \
-       src/templates/distro-source-detail.html \
-       src/templates/distro-update-detail.html \
-       src/templates/distro-update-edit.html \
        src/templates/index.html \
-       src/templates/jobs-abort.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
@@ -182,39 +167,100 @@ 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
 
+dist_templates_builders_modules_DATA = \
+       src/templates/builders/modules/stats.html
+
+templates_builders_modulesdir = $(templates_buildersdir)/modules
+
 dist_templates_builds_DATA = \
+       src/templates/builds/approve.html \
+       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 \
        src/templates/distros/show.html
 
 templates_distrosdir = $(templatesdir)/distros
 
+dist_templates_distros_modules_DATA = \
+       src/templates/distros/modules/list.html
+
+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
 
@@ -230,6 +276,13 @@ dist_templates_events_modules_DATA = \
 
 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
 
 dist_templates_jobs_messages_DATA = \
@@ -237,36 +290,40 @@ dist_templates_jobs_messages_DATA = \
 
 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/queue.html
+
+templates_jobs_modulesdir = $(templates_jobsdir)/modules
+
 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/build-table.html \
-       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
 
-dist_templates_modules_jobs_DATA = \
-       src/templates/modules/jobs/list.html \
-       src/templates/modules/jobs/status.html
-
-templates_modules_jobsdir = $(templates_modulesdir)/jobs
-
 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
 
@@ -277,9 +334,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
 
@@ -291,11 +359,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
 
@@ -305,7 +380,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
 
@@ -318,7 +394,6 @@ dist_static_DATA = \
 staticdir = $(datadir)/static
 
 static_css_DATA = \
-       src/static/css/highlight.css \
        src/static/css/site.css
 
 static_cssdir = $(staticdir)/css
@@ -332,14 +407,24 @@ CLEANFILES += \
        src/static/css/site.css
 
 static_js_DATA = \
+       src/static/js/builders-stats.min.js \
        src/static/js/jquery.min.js \
-       src/static/js/pbs.js \
-       src/static/js/prettify.js
+       src/static/js/job-log-stream.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/notification-worker.js \
+       src/static/js/pbs.js \
+       src/static/js/user-push-subscribe-button.js
+
 CLEANFILES += \
-       src/static/js/jquery.min.js
+       $(static_js_DATA)
 
 dist_static_fonts_DATA = \
        src/third-party/fonts/prompt/OFL.txt \
@@ -374,7 +459,6 @@ static_fontsdir = $(staticdir)/fonts
 
 if HAVE_SYSTEMD
 systemdsystemunit_DATA = \
-       src/systemd/pakfire-hub.service \
        src/systemd/pakfire-web.service
 
 CLEANFILES += \
@@ -385,7 +469,6 @@ INSTALL_DIRS += \
 endif
 
 EXTRA_DIST += \
-       src/systemd/pakfire-hub.service.in \
        src/systemd/pakfire-web.service.in
 
 dist_database_DATA = \