Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package semaphore for openSUSE:Factory checked in at 2025-04-22 17:26:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/semaphore (Old) and /work/SRC/openSUSE:Factory/.semaphore.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "semaphore" Tue Apr 22 17:26:57 2025 rev:5 rq:1271044 version:2.13.14 Changes: -------- --- /work/SRC/openSUSE:Factory/semaphore/semaphore.changes 2025-04-11 16:46:47.551258261 +0200 +++ /work/SRC/openSUSE:Factory/.semaphore.new.30101/semaphore.changes 2025-04-22 17:27:23.896853227 +0200 @@ -1,0 +2,10 @@ +Sun Apr 20 06:48:11 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- Update to version 2.13.14 (2.13.13 was not released): + * Bugfixes + - Integrations: fixed authentication for Bitbucket webhook + - Fixed template cloning + - Fixed Terraform flags in task params + - Fixed task log issue with text color: #2268 and #2859 + +------------------------------------------------------------------- Old: ---- semaphore-2.13.12.obscpio web-2.13.12.tar.gz New: ---- semaphore-2.13.14.obscpio web-2.13.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ semaphore.spec ++++++ --- /var/tmp/diff_new_pack.IUAUjd/_old 2025-04-22 17:27:26.484961837 +0200 +++ /var/tmp/diff_new_pack.IUAUjd/_new 2025-04-22 17:27:26.484961837 +0200 @@ -17,7 +17,7 @@ Name: semaphore -Version: 2.13.12 +Version: 2.13.14 Release: 0 Summary: Modern UI for Ansible License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.IUAUjd/_old 2025-04-22 17:27:26.540964187 +0200 +++ /var/tmp/diff_new_pack.IUAUjd/_new 2025-04-22 17:27:26.544964355 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/ansible-semaphore/semaphore</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v2.13.12</param> + <param name="revision">v2.13.14</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.IUAUjd/_old 2025-04-22 17:27:26.568965362 +0200 +++ /var/tmp/diff_new_pack.IUAUjd/_new 2025-04-22 17:27:26.572965530 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ansible-semaphore/semaphore</param> - <param name="changesrevision">57809e906cca4106a36f2080c9eef6c7c1727c4d</param></service></servicedata> + <param name="changesrevision">510ae359f1b97574d81c14ed4132b64bbb1a3d3e</param></service></servicedata> (No newline at EOF) ++++++ semaphore-2.13.12.obscpio -> semaphore-2.13.14.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/api/integration.go new/semaphore-2.13.14/api/integration.go --- old/semaphore-2.13.12/api/integration.go 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/api/integration.go 2025-04-19 20:23:24.000000000 +0200 @@ -111,6 +111,17 @@ log.Error("Invalid HMAC signature") continue } + case db.IntegrationAuthBitbucket: + ok := isValidHmacPayload( + integration.AuthSecret.LoginPassword.Password, + r.Header.Get("x-hub-signature"), + payload, + "sha256=") + + if !ok { + log.Error("Invalid HMAC signature") + continue + } case db.IntegrationAuthHmac: ok := isValidHmacPayload( integration.AuthSecret.LoginPassword.Password, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/db/Integration.go new/semaphore-2.13.14/db/Integration.go --- old/semaphore-2.13.12/db/Integration.go 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/db/Integration.go 2025-04-19 20:23:24.000000000 +0200 @@ -8,10 +8,11 @@ type IntegrationAuthMethod string const ( - IntegrationAuthNone = "" - IntegrationAuthGitHub = "github" - IntegrationAuthToken = "token" - IntegrationAuthHmac = "hmac" + IntegrationAuthNone = "" + IntegrationAuthGitHub = "github" + IntegrationAuthToken = "token" + IntegrationAuthHmac = "hmac" + IntegrationAuthBitbucket = "bitbucket" ) type IntegrationMatchType string diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/web/src/components/IntegrationForm.vue new/semaphore-2.13.14/web/src/components/IntegrationForm.vue --- old/semaphore-2.13.12/web/src/components/IntegrationForm.vue 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/web/src/components/IntegrationForm.vue 2025-04-19 20:23:24.000000000 +0200 @@ -84,6 +84,9 @@ id: 'github', title: 'GitHub Webhooks', }, { + id: 'bitbucket', + title: 'Bitbucket Webhooks', + }, { id: 'token', title: 'Token', }, { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/web/src/components/TaskParamsForm.vue new/semaphore-2.13.14/web/src/components/TaskParamsForm.vue --- old/semaphore-2.13.12/web/src/components/TaskParamsForm.vue 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/web/src/components/TaskParamsForm.vue 2025-04-19 20:23:24.000000000 +0200 @@ -107,10 +107,17 @@ </style> <script> +const TERRAFORM_APP_PARAMS = [ + 'plan', + 'auto_approve', + 'destroy', + 'reconfigure', + 'upgrade', +]; const APP_PARAMS = { - terraform: ['plan', 'auto_approve', 'destroy', 'reconfigure'], - tofu: ['plan', 'auto_approve', 'destroy', 'reconfigure'], + terraform: TERRAFORM_APP_PARAMS, + tofu: TERRAFORM_APP_PARAMS, ansible: [ 'diff', 'debug', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/web/src/components/TemplateForm.vue new/semaphore-2.13.14/web/src/components/TemplateForm.vue --- old/semaphore-2.13.12/web/src/components/TemplateForm.vue 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/web/src/components/TemplateForm.vue 2025-04-19 20:23:24.000000000 +0200 @@ -258,28 +258,28 @@ <v-checkbox class="mt-0" :label="$t('allowInventoryInTask')" - v-model="(item.task_params || {}).allow_override_inventory" + v-model="item.task_params.allow_override_inventory" v-if="needField('allow_override_inventory')" /> <v-checkbox class="mt-0" :label="$t('allowLimitInTask')" - v-model="(item.task_params || {}).allow_override_limit" + v-model="item.task_params.allow_override_limit" v-if="needField('allow_override_limit')" /> <v-checkbox class="mt-0" :label="$t('tags')" - v-model="(item.task_params || {}).allow_override_tags" + v-model="item.task_params.allow_override_tags" v-if="needField('allow_override_tags')" /> <v-checkbox class="mt-0" :label="$t('skipTags')" - v-model="(item.task_params || {}).allow_override_skip_tags" + v-model="item.task_params.allow_override_skip_tags" v-if="needField('allow_override_skip_tags')" /> @@ -598,10 +598,6 @@ }, async afterLoadData() { - if (!this.item.task_params) { - this.item.task_params = {}; - } - if (this.sourceItemId) { const item = (await axios({ url: `/api/project/${this.projectId}/templates/${this.sourceItemId}`, @@ -630,6 +626,10 @@ this.item = item; } + if (!this.item.task_params) { + this.item.task_params = {}; + } + this.repositories = (await axios({ url: `/api/project/${this.projectId}/repositories`, responseType: 'json', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semaphore-2.13.12/web/src/main.js new/semaphore-2.13.14/web/src/main.js --- old/semaphore-2.13.12/web/src/main.js 2025-04-08 21:37:59.000000000 +0200 +++ new/semaphore-2.13.14/web/src/main.js 2025-04-19 20:23:24.000000000 +0200 @@ -13,7 +13,7 @@ const convert = new AnsiUp(); convert.ansi_colors = [ [ - { rgb: [0, 0, 0], class_name: 'ansi-black' }, + { rgb: [85, 85, 85], class_name: 'ansi-black' }, { rgb: [170, 0, 0], class_name: 'ansi-red' }, { rgb: [0, 170, 0], class_name: 'ansi-green' }, { rgb: [170, 85, 0], class_name: 'ansi-yellow' }, ++++++ semaphore.obsinfo ++++++ --- /var/tmp/diff_new_pack.IUAUjd/_old 2025-04-22 17:27:26.944981142 +0200 +++ /var/tmp/diff_new_pack.IUAUjd/_new 2025-04-22 17:27:26.948981309 +0200 @@ -1,5 +1,5 @@ name: semaphore -version: 2.13.12 -mtime: 1744141079 -commit: 57809e906cca4106a36f2080c9eef6c7c1727c4d +version: 2.13.14 +mtime: 1745087004 +commit: 510ae359f1b97574d81c14ed4132b64bbb1a3d3e ++++++ vendor.tar.gz ++++++ ++++++ web-2.13.12.tar.gz -> web-2.13.14.tar.gz ++++++ /work/SRC/openSUSE:Factory/semaphore/web-2.13.12.tar.gz /work/SRC/openSUSE:Factory/.semaphore.new.30101/web-2.13.14.tar.gz differ: char 13, line 1