Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pacemaker for openSUSE:Factory checked in at 2026-06-13 18:45:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pacemaker (Old) and /work/SRC/openSUSE:Factory/.pacemaker.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pacemaker" Sat Jun 13 18:45:21 2026 rev:172 rq:1358838 version:3.0.2+20260608.b9d7133a Changes: -------- --- /work/SRC/openSUSE:Factory/pacemaker/pacemaker.changes 2026-06-03 20:22:25.569197590 +0200 +++ /work/SRC/openSUSE:Factory/.pacemaker.new.1981/pacemaker.changes 2026-06-13 18:45:48.253609859 +0200 @@ -1,0 +2,6 @@ +Wed Jun 09 11:33:06 UTC 2026 - Yan Gao <[email protected]> + +- Update to version 3.0.2+20260608.b9d7133a: +- liblrmd: Don't include internal header in lrmd.h + +------------------------------------------------------------------- Old: ---- pacemaker-3.0.2+20260601.c75e25851c.tar.xz New: ---- pacemaker-3.0.2+20260608.b9d7133a.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pacemaker.spec ++++++ --- /var/tmp/diff_new_pack.97akoN/_old 2026-06-13 18:45:49.609666124 +0200 +++ /var/tmp/diff_new_pack.97akoN/_new 2026-06-13 18:45:49.613666290 +0200 @@ -128,7 +128,7 @@ %define with_regression_tests 0 Name: pacemaker -Version: 3.0.2+20260601.c75e25851c +Version: 3.0.2+20260608.b9d7133a Release: 0 Summary: Scalable High-Availability cluster resource manager # AGPL-3.0 licensed extra/clustermon.sh is not present in the binary ++++++ _service ++++++ --- /var/tmp/diff_new_pack.97akoN/_old 2026-06-13 18:45:49.653667950 +0200 +++ /var/tmp/diff_new_pack.97akoN/_new 2026-06-13 18:45:49.661668282 +0200 @@ -11,7 +11,7 @@ <param name="version">3.0.2</param> --> <param name="versionformat">3.0.2+%cd.%h</param> - <param name="revision">Pacemaker-3.0.2</param> + <param name="revision">b9d7133a0aab41f09b9bbb38e1b183ab7a9a2df3</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.97akoN/_old 2026-06-13 18:45:49.701669942 +0200 +++ /var/tmp/diff_new_pack.97akoN/_new 2026-06-13 18:45:49.705670107 +0200 @@ -5,6 +5,6 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/pacemaker.git</param> - <param name="changesrevision">c75e25851c05c6b0ff48caeaa15854d5868ce428</param></service></servicedata> + <param name="changesrevision">b9d7133a0aab41f09b9bbb38e1b183ab7a9a2df3</param></service></servicedata> (No newline at EOF) ++++++ pacemaker-3.0.2+20260601.c75e25851c.tar.xz -> pacemaker-3.0.2+20260608.b9d7133a.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/daemons/execd/execd_commands.c new/pacemaker-3.0.2+20260608.b9d7133a/daemons/execd/execd_commands.c --- old/pacemaker-3.0.2+20260601.c75e25851c/daemons/execd/execd_commands.c 2026-06-01 19:01:19.000000000 +0200 +++ new/pacemaker-3.0.2+20260608.b9d7133a/daemons/execd/execd_commands.c 2026-06-08 22:18:01.000000000 +0200 @@ -32,6 +32,7 @@ #include <crm/common/mainloop.h> #include <crm/common/ipc.h> #include <crm/common/xml.h> +#include <crm/lrmd_internal.h> // lrmd__supports_schema_request #include "pacemaker-execd.h" @@ -1557,8 +1558,9 @@ /* If this was a register operation, also ask for new schema files but * only if it's supported by the protocol version. */ - if (pcmk__str_eq(op, CRM_OP_REGISTER, pcmk__str_none) && - LRMD_SUPPORTS_SCHEMA_XFER(protocol_version)) { + if (pcmk__str_eq(op, CRM_OP_REGISTER, pcmk__str_none) + && lrmd__supports_schema_request(protocol_version)) { + remoted_request_cib_schema_files(); } } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/Makefile.am new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/Makefile.am --- old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/Makefile.am 2026-06-01 19:01:19.000000000 +0200 +++ new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/Makefile.am 2026-06-08 22:18:01.000000000 +0200 @@ -17,6 +17,7 @@ header_HEADERS += crm.h header_HEADERS += crm_compat.h header_HEADERS += lrmd.h +header_HEADERS += lrmd_compat.h header_HEADERS += lrmd_events.h header_HEADERS += msg_xml.h header_HEADERS += msg_xml_compat.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd.h new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd.h --- old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd.h 2026-06-01 19:01:19.000000000 +0200 +++ new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd.h 2026-06-08 22:18:01.000000000 +0200 @@ -16,7 +16,6 @@ #include <glib.h> // guint, GList #include <crm_config.h> -#include <crm/common/internal.h> // pcmk__compare_versions() #include <crm/lrmd_events.h> #include <crm/services.h> @@ -52,8 +51,6 @@ */ #define LRMD_PROTOCOL_VERSION "1.2" -#define LRMD_SUPPORTS_SCHEMA_XFER(x) (pcmk__compare_versions((x), "1.2") >= 0) - /* The major protocol version the client and server both need to support for * the connection to be successful. This should only ever be the major * version - not a complete version number. @@ -521,4 +518,8 @@ } #endif +#if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) +#include <crm/lrmd_compat.h> +#endif // !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) + #endif // PCMK__CRM_LRMD__H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd_compat.h new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd_compat.h --- old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd_compat.h 1970-01-01 01:00:00.000000000 +0100 +++ new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd_compat.h 2026-06-08 22:18:01.000000000 +0200 @@ -0,0 +1,35 @@ +/* + * Copyright 2004-2026 the Pacemaker project contributors + * + * The version control history for this file may have further details. + * + * This source code is licensed under the GNU Lesser General Public License + * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. + */ + +#ifndef PCMK__CRM_LRMD_COMPAT__H +#define PCMK__CRM_LRMD_COMPAT__H + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file + * \brief Deprecated executor utilities + * \ingroup core + * \deprecated Do not include this header directly. The utilities in this + * header, and the header itself, will be removed in a future + * release. + */ + +//! \deprecated Do not use +int lrmd_compare_versions(const char *version1, const char *version2); + +#define LRMD_SUPPORTS_SCHEMA_XFER(x) (lrmd_compare_versions((x), "1.2") >= 0) + +#ifdef __cplusplus +} +#endif + +#endif // PCMK__CRM_LRMD_COMPAT__H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd_internal.h new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd_internal.h --- old/pacemaker-3.0.2+20260601.c75e25851c/include/crm/lrmd_internal.h 2026-06-01 19:01:19.000000000 +0200 +++ new/pacemaker-3.0.2+20260608.b9d7133a/include/crm/lrmd_internal.h 2026-06-08 22:18:01.000000000 +0200 @@ -27,6 +27,19 @@ extern "C" { #endif +/*! + * \internal + * \brief Check whether an LRMD protocol version supports schema requests + * + * LRMD protocol version 1.2 added support for a remote node to request CIB + * schemas from the executor on a cluster node via proxied connection. + */ +static inline bool +lrmd__supports_schema_request(const char *protocol_version) +{ + return pcmk__compare_versions(protocol_version, "1.2") >= 0; +} + int lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port); int lrmd_send_attribute_alert(lrmd_t *lrmd, const GList *alert_list, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pacemaker-3.0.2+20260601.c75e25851c/lib/lrmd/lrmd_client.c new/pacemaker-3.0.2+20260608.b9d7133a/lib/lrmd/lrmd_client.c --- old/pacemaker-3.0.2+20260601.c75e25851c/lib/lrmd/lrmd_client.c 2026-06-01 19:01:19.000000000 +0200 +++ new/pacemaker-3.0.2+20260608.b9d7133a/lib/lrmd/lrmd_client.c 2026-06-08 22:18:01.000000000 +0200 @@ -2532,3 +2532,18 @@ return native->remote->start_state; } } + +// Deprecated functions kept only for backward API compatibility +// LCOV_EXCL_START + +#include <crm/lrmd_compat.h> + +// @COMPAT This exists only as a helper for LRMD_SUPPORTS_SCHEMA_XFER() +int +lrmd_compare_versions(const char *version1, const char *version2) +{ + return pcmk__compare_versions(version1, version2); +} + +// LCOV_EXCL_STOP +// End deprecated API
