dist_bin_SCRIPTS = \
src/scripts/pakfire-build-service \
- src/scripts/pakfire-hub \
src/scripts/pakfire-web
dist_configs_DATA = \
src/buildservice/database.py \
src/buildservice/decorators.py \
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 \
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 \
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
dist_templates_DATA = \
src/templates/base.html \
- src/templates/build-delete.html \
- src/templates/build-manage.html \
- src/templates/build-schedule-test.html \
- src/templates/build-state.html \
- src/templates/builds-watchers-add.html \
- src/templates/builds-watchers-list.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/file-detail.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/package-properties.html \
- src/templates/queue.html \
- src/templates/search.html \
- src/templates/source-list.html
+ src/templates/modal.html \
+ src/templates/search.html
templatesdir = $(datadir)/templates
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 \
- src/templates/errors/error-400.html \
- src/templates/errors/error-403.html \
- src/templates/errors/error-404.html
+ src/templates/errors/error.html
templates_errorsdir = $(templatesdir)/errors
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 = \
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-offset.html \
- src/templates/modules/build-state-warnings.html \
- src/templates/modules/build-table.html \
- src/templates/modules/commits-table.html \
src/templates/modules/commit-message.html \
- src/templates/modules/files-table.html \
src/templates/modules/link-to-user.html \
- src/templates/modules/log-files-table.html \
- src/templates/modules/modal-base.html \
- src/templates/modules/modal-build-comment.html \
- src/templates/modules/modal-build-push.html \
- src/templates/modules/modal-build-unpush.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
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
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
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
staticdir = $(datadir)/static
static_css_DATA = \
- src/static/css/highlight.css \
src/static/css/site.css
static_cssdir = $(staticdir)/css
src/static/css/site.css
static_js_DATA = \
- src/static/js/foundation.min.js \
+ 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/foundation.min.js \
- src/static/js/jquery.min.js
+ $(static_js_DATA)
dist_static_fonts_DATA = \
src/third-party/fonts/prompt/OFL.txt \
if HAVE_SYSTEMD
systemdsystemunit_DATA = \
- src/systemd/pakfire-hub.service \
src/systemd/pakfire-web.service
CLEANFILES += \
endif
EXTRA_DIST += \
- src/systemd/pakfire-hub.service.in \
src/systemd/pakfire-web.service.in
dist_database_DATA = \
%.min.js: %.js
$(UGLIFYJS_PROCESS)
-src/static/js/foundation.min.js: src/third-party/foundation-sites/dist/js/foundation.js
- $(UGLIFYJS_PROCESS)
-
# ------------------------------------------------------------------------------
TESTS = \