openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2023
- 1 participants
- 1989 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package accel-config for openSUSE:Factory checked in at 2023-08-31 13:46:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/accel-config (Old)
and /work/SRC/openSUSE:Factory/.accel-config.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "accel-config"
Thu Aug 31 13:46:01 2023 rev:16 rq:1108157 version:4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/accel-config/accel-config.changes 2023-05-02 16:24:03.099598398 +0200
+++ /work/SRC/openSUSE:Factory/.accel-config.new.1766/accel-config.changes 2023-08-31 13:52:08.229989482 +0200
@@ -1,0 +2,15 @@
+Wed Aug 30 15:47:17 UTC 2023 - Danilo Spinella <danilo.spinella(a)suse.com>
+
+- Update to version 4.1:
+ * add missing libssl-dev dependency
+ * Skip configuring ats_disable if the attribute is not present
+ * Add config-user-default command
+ * Add option "-c <config_file>" to load default configurations from
+ the file
+ * Disable default configured WQs and devices
+ * Add "-n <wq_name>" to specify WQ name for disabling WQs
+ * Add user_default_profile.conf
+ * Add doumentation for new command "config-user-default"
+
+
+-------------------------------------------------------------------
Old:
----
idxd-config-accel-config-v4.0.tar.gz
New:
----
idxd-config-accel-config-v4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ accel-config.spec ++++++
--- /var/tmp/diff_new_pack.nLMwgC/_old 2023-08-31 13:52:09.262026369 +0200
+++ /var/tmp/diff_new_pack.nLMwgC/_new 2023-08-31 13:52:09.266026512 +0200
@@ -19,7 +19,7 @@
%define pkg_libname libaccel-config1
%define src_name idxd-config-accel-config-v%{version}
Name: accel-config
-Version: 4.0
+Version: 4.1
Release: 0
Summary: Configure accelerator subsystem devices
License: GPL-2.0-only
@@ -88,6 +88,7 @@
%config %{_sysconfdir}/accel-config/contrib/configs/os_profile.conf
%config %{_sysconfdir}/accel-config/contrib/configs/profilenote.txt
%config %{_sysconfdir}/accel-config/contrib/configs/storage_profile.conf
+%config %{_sysconfdir}/accel-config/contrib/configs/user_default_profile.conf
%files -n %{pkg_libname}
%doc README.md
++++++ idxd-config-accel-config-v4.0.tar.gz -> idxd-config-accel-config-v4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/Documentation/accfg/Makefile.am new/idxd-config-accel-config-v4.1/Documentation/accfg/Makefile.am
--- old/idxd-config-accel-config-v4.0/Documentation/accfg/Makefile.am 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/Documentation/accfg/Makefile.am 2023-08-22 03:10:43.000000000 +0200
@@ -29,7 +29,8 @@
accel-config-disable-device.1 \
accel-config-disable-wq.1 \
accel-config-enable-wq.1 \
- accel-config-enable-device.1
+ accel-config-enable-device.1 \
+ accel-config-config-user-default.1
EXTRA_DIST = \
$(man1_MANS) \
@@ -44,7 +45,8 @@
accel-config-disable-device.txt \
accel-config-disable-wq.txt \
accel-config-enable-wq.txt \
- accel-config-enable-device.txt
+ accel-config-enable-device.txt \
+ accel-config-config-user-default.txt
CLEANFILES = $(man1_MANS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/Documentation/accfg/accel-config-config-user-default.txt new/idxd-config-accel-config-v4.1/Documentation/accfg/accel-config-config-user-default.txt
--- old/idxd-config-accel-config-v4.0/Documentation/accfg/accel-config-config-user-default.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/Documentation/accfg/accel-config-config-user-default.txt 2023-08-22 03:10:43.000000000 +0200
@@ -0,0 +1,75 @@
+// SPDX-License-Identifier: GPL-2.0
+
+accel-config-config-user-default(1)
+===================================
+
+NAME
+----
+accel-config-config-user-default - load a pre-defined user default configuration
+
+SYNOPSIS
+--------
+[verse]
+'accel-config config-user-default' [<options>]
+
+Without an option, config-user-default loads a pre-defined user default
+configuration.
+
+There is a config file template at contrib/configs/user_default_profile.conf.
+Run "accel-config config-user-default -c user_default_profile.conf" to
+configure all available devices with the template values. Any modifications to
+the template file should retain the json format.
+
+EXAMPLE
+-------
+# accel-config config-user-default
+
+The command will load the pre-defined user default config to all available
+WQs and engines on all available DSA and IAX devices with the following
+attributes:
+ All WQs and all engines are in group 0
+
+ WQ attributes:
+ priority: 1
+ group_id: 0
+ block_on_fault: 1
+ ats_disable: 0
+ prs_disable: 1
+ mode: "shared"
+ type: "user"
+ name: "user_default_wq"
+ driver_name: "user"
+ size: max WQ size / max WQs
+ threshold: size
+ max_transfer_size: default value
+ max_batch_size: default value on DSA. N/A on IAX
+ op_config: default value
+
+ Attributes of all devices and groups are default values.
+
+# accel-config config-user-default -c /etc/accel-config/contrib/configs/user_default_profile.conf
+
+The command will load the specified user default config file. The config
+file is a template that specifies attributes and devices. User can edit
+the config file per requirements.
+
+# accel-config config-user-default -d -n <wq_name>
+The command will disable all WQs named <wq_name> (default name is
+"user_default_wq").
+
+OPTIONS
+-------
+-c::
+--config-file::
+ to specify the location of the customized user default config file
+
+-n::
+--name::
+ to specify WQ name which will be used to disable enabled WQs
+-d::
+--disable::
+ to disable the configured devices and wqs
+
+-v::
+--verbose::
+ verbose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/accfg/accel-config.c new/idxd-config-accel-config-v4.1/accfg/accel-config.c
--- old/idxd-config-accel-config-v4.0/accfg/accel-config.c 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/accfg/accel-config.c 2023-08-22 03:10:43.000000000 +0200
@@ -67,6 +67,7 @@
{"config-group", cmd_config_group},
{"config-wq", cmd_config_wq},
{"config-engine", cmd_config_engine},
+ {"config-user-default", cmd_config_default},
#ifdef ENABLE_TEST
{"test", cmd_test},
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/accfg/config.c new/idxd-config-accel-config-v4.1/accfg/config.c
--- old/idxd-config-accel-config-v4.0/accfg/config.c 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/accfg/config.c 2023-08-22 03:10:43.000000000 +0200
@@ -39,6 +39,7 @@
bool engines;
bool wqs;
const char *config_file;
+ const char *user_default_wq_name;
char *buf;
} config;
@@ -117,6 +118,90 @@
static bool is_wq_threshold_writable(struct accfg_wq *wq, int val);
static bool is_wq_prs_disable_writable(struct accfg_wq *wq, int val);
+static bool is_wq_ats_disable_writable(struct accfg_wq *wq, int val);
+
+static int get_wq_size(struct accfg_device *dev)
+{
+ int max_wq_size, max_wqs;
+
+ max_wq_size = accfg_device_get_max_work_queues_size(dev);
+ max_wqs = accfg_device_get_max_work_queues(dev);
+
+ return max_wq_size / max_wqs;
+}
+
+static int config_default_wq_set_prs_disable(struct accfg_wq *wq, int val)
+{
+ if (!is_wq_prs_disable_writable(wq, val))
+ return -EPERM;
+
+ return accfg_wq_set_prs_disable(wq, val);
+}
+
+static int config_default_wq_set_ats_disable(struct accfg_wq *wq, int val)
+{
+ if (!is_wq_ats_disable_writable(wq, val))
+ return -EPERM;
+
+ return accfg_wq_set_ats_disable(wq, val);
+}
+
+static int config_default_wq_set_threshold(struct accfg_wq *wq, int val)
+{
+ if (!is_wq_threshold_writable(wq, val))
+ return -EPERM;
+
+ return accfg_wq_set_threshold(wq, val);
+}
+
+static struct conf_def_wq_param {
+ struct wq_parameters param;
+ bool configured;
+} conf_def_wq_param[ACCFG_DEVICE_MAX];
+
+static bool config_default_file;
+
+/* Return WQ parameter for dev type. */
+static struct wq_parameters *get_conf_def_wq_param(enum accfg_device_type type)
+{
+ if (type == ACCFG_DEVICE_DSA)
+ return &conf_def_wq_param[ACCFG_DEVICE_DSA].param;
+ else if (type == ACCFG_DEVICE_IAX)
+ return &conf_def_wq_param[ACCFG_DEVICE_IAX].param;
+
+ return NULL;
+}
+
+/* Check if dev is configured. */
+static bool conf_def_dev_configured(struct accfg_device *dev)
+{
+ if (accfg_device_get_type(dev) == ACCFG_DEVICE_DSA)
+ return conf_def_wq_param[ACCFG_DEVICE_DSA].configured;
+ else if (accfg_device_get_type(dev) == ACCFG_DEVICE_IAX)
+ return conf_def_wq_param[ACCFG_DEVICE_IAX].configured;
+
+ return false;
+}
+
+/* Set WQ parameters based on device cap: size and threshold. */
+static int config_default_wq_set_on_dev(struct accfg_device *dev)
+{
+ enum accfg_device_type dev_type;
+ struct wq_parameters *p;
+
+ dev_type = accfg_device_get_type(dev);
+ p = get_conf_def_wq_param(dev_type);
+ if (!p)
+ return -EINVAL;
+
+ p->wq_size = get_wq_size(dev);
+ if (p->wq_size <= 0)
+ return -ENOSPC;
+
+ p->threshold = p->wq_size;
+
+ return 0;
+}
static const struct wq_set_table wq_table[] = {
{ "size", accfg_wq_set_size, NULL, NULL, NULL },
@@ -132,7 +217,8 @@
{ "max_transfer_size", NULL, accfg_wq_set_max_transfer_size, NULL, NULL },
{ "threshold", accfg_wq_set_threshold, NULL, NULL,
is_wq_threshold_writable },
- { "ats_disable", accfg_wq_set_ats_disable, NULL, NULL, NULL },
+ { "ats_disable", accfg_wq_set_ats_disable, NULL, NULL,
+ is_wq_ats_disable_writable },
{ "prs_disable", accfg_wq_set_prs_disable, NULL, NULL,
is_wq_prs_disable_writable },
};
@@ -231,6 +317,17 @@
return true;
}
+static bool is_wq_ats_disable_writable(struct accfg_wq *wq, int val)
+{
+ if (val < 0 || val > 1)
+ return false;
+
+ if (accfg_wq_get_ats_disable(wq) < 0)
+ return false;
+
+ return true;
+}
+
static int device_attribute_filter(char *key)
{
for (int i = 0; i < (int)ARRAY_SIZE(device_table); i++) {
@@ -543,6 +640,39 @@
return 0;
}
+static void config_default_json(struct accfg_wq *wq,
+ json_object *jobj, char *key)
+{
+ enum accfg_device_type dev_type;
+ struct accfg_device *dev;
+ struct wq_parameters *p;
+ char *dev_type_str;
+
+ dev = accfg_wq_get_device(wq);
+ dev_type = accfg_device_get_type(dev);
+ dev_type_str = accfg_device_get_type_str(dev);
+ p = get_conf_def_wq_param(dev_type);
+ if (!p) {
+ fprintf(stderr, "parsing dev type %s failed\n", dev_type_str);
+
+ return;
+ }
+
+ printf("dev type = %s, key = %s\n", dev_type_str, key);
+ if (!strcmp(key, "name"))
+ p->name = strdup(json_object_get_string(jobj));
+ else if (!strcmp(key, "priority"))
+ p->priority = json_object_get_int(jobj);
+ else if (!strcmp(key, "group_id"))
+ p->group_id = json_object_get_int(jobj);
+ else if (!strcmp(key, "block_on_fault"))
+ p->block_on_fault = json_object_get_int(jobj);
+ else if (!strcmp(key, "ats_disable"))
+ p->ats_disable = json_object_get_int(jobj);
+ else if (!strcmp(key, "prs_disable"))
+ p->prs_disable = json_object_get_int(jobj);
+}
+
/*
* Configuring the value corresponding to integer and strings
*/
@@ -685,6 +815,12 @@
warn_once = false;
}
+ if (wq && config_default_file) {
+ config_default_json(wq, jobj, key);
+
+ return 0;
+ }
+
if (dev && dev_state != ACCFG_DEVICE_ENABLED) {
rc = device_json_set_val(dev, jobj, key);
if (rc < 0) {
@@ -1221,3 +1357,347 @@
return rc;
}
+
+static int config_default_wq(struct accfg_wq *wq)
+{
+ struct accfg_device *dev = accfg_wq_get_device(wq);
+ enum accfg_device_type dev_type;
+ struct wq_parameters *p;
+
+ if (!conf_def_dev_configured(dev))
+ return 0;
+
+ dev_type = accfg_device_get_type(dev);
+ p = get_conf_def_wq_param(dev_type);
+ if (!p)
+ return -EINVAL;
+
+ accfg_wq_set_priority(wq, p->priority);
+ accfg_wq_set_group_id(wq, p->group_id);
+ accfg_wq_set_block_on_fault(wq, p->block_on_fault);
+ accfg_wq_set_str_mode(wq, p->mode);
+ accfg_wq_set_str_type(wq, p->type);
+ accfg_wq_set_str_name(wq, p->name);
+ accfg_wq_set_str_driver_name(wq, p->driver_name);
+
+ accfg_wq_set_size(wq, p->wq_size);
+ config_default_wq_set_threshold(wq, p->threshold);
+ config_default_wq_set_prs_disable(wq, p->prs_disable);
+ config_default_wq_set_ats_disable(wq, p->ats_disable);
+
+ return 0;
+}
+
+static int config_default_engine(struct accfg_engine *engine,
+ struct accfg_device *dev)
+{
+ enum accfg_device_type dev_type;
+ struct wq_parameters *p;
+
+ /* Engine's group_id is same as WQ's. */
+ dev_type = accfg_device_get_type(dev);
+ p = get_conf_def_wq_param(dev_type);
+ if (!p)
+ return -EINVAL;
+
+ return accfg_engine_set_group_id(engine, p->group_id);
+}
+
+static void config_default_activate_devices(void *ctx)
+{
+ enum accfg_device_state dev_state;
+ const char *dev_name, *wq_name;
+ struct accfg_engine *engine;
+ struct accfg_device *dev;
+ struct accfg_wq *wq;
+ int rc = 0;
+
+ accfg_device_foreach(ctx, dev) {
+ /* Skip device that is not configured. */
+ if (!conf_def_dev_configured(dev))
+ continue;
+
+ /* Don't enable WQs/engines on partially enabled devices. */
+ dev_state = accfg_device_get_state(dev);
+ if (dev_state == ACCFG_DEVICE_ENABLED)
+ continue;
+
+ /* Set WQ parameters calculated based on dev. */
+ config_default_wq_set_on_dev(dev);
+
+ /* Config WQs */
+ accfg_wq_foreach(dev, wq) {
+ if (verbose)
+ printf("config %s\n", accfg_wq_get_devname(wq));
+
+ config_default_wq(wq);
+ }
+
+ /* Config engines */
+ accfg_engine_foreach(dev, engine)
+ config_default_engine(engine, dev);
+
+ /* Enable device */
+ dev_name = accfg_device_get_devname(dev);
+ if (verbose)
+ printf("enable %s\n", dev_name);
+ rc = accfg_device_enable(dev);
+ if (rc) {
+ fprintf(stderr, "Error enabling %s\n", dev_name);
+ continue;
+ }
+
+ /* Enable WQs */
+ accfg_wq_foreach(dev, wq) {
+ wq_name = accfg_wq_get_devname(wq);
+ if (verbose)
+ printf("enable %s\n", wq_name);
+
+ rc = accfg_wq_enable(wq);
+ if (rc) {
+ fprintf(stderr, "Error enabling %s\n", wq_name);
+ continue;
+ }
+ }
+ }
+}
+
+#define CONFIG_DEFAULT_WQ_PRIORITY 10
+#define CONFIG_DEFAULT_WQ_GROUP_ID 0
+#define CONFIG_DEFAULT_WQ_BLOCK_ON_FAULT 1
+#define CONFIG_DEFAULT_WQ_PRS_DISABLE 1
+#define CONFIG_DEFAULT_WQ_ATS_DISABLE 0
+#define CONFIG_DEFAULT_WQ_NAME "user_default_wq"
+#define CONFIG_DEFAULT_WQ_TYPE "user"
+#define CONFIG_DEFAULT_WQ_MODE "shared"
+#define CONFIG_DEFAULT_WQ_DRV_NAME "user"
+
+/* Set fixed WQ parameters: mode, type, driver_name */
+static int config_default_wq_set_fixed(void)
+{
+ struct wq_parameters *p;
+ int i;
+
+ for (i = 0; i < ACCFG_DEVICE_MAX; i++) {
+ p = &conf_def_wq_param[i].param;
+
+ p->mode = strdup(CONFIG_DEFAULT_WQ_MODE);
+ if (!p->mode) {
+ fprintf(stderr, "strdup WQ mode failed\n");
+ return -ENOMEM;
+ }
+
+ p->type = strdup(CONFIG_DEFAULT_WQ_TYPE);
+ if (!p->type) {
+ fprintf(stderr, "strdup WQ type failed\n");
+ return -ENOMEM;
+ }
+
+ p->driver_name = strdup(CONFIG_DEFAULT_WQ_DRV_NAME);
+ if (!p->driver_name) {
+ fprintf(stderr, "strdup WQ driver_name failed\n");
+ return -ENOMEM;
+ }
+ }
+
+ return 0;
+}
+
+static void config_default(void *ctx)
+{
+ struct wq_parameters *p;
+ int i;
+
+ /*
+ * Configure WQ parameters except:
+ * 1. size and threshold will be configured when enabling WQs.
+ * 2. max_buffer_size, max_batch_size, op_config will be default values
+ * which have been initialized by driver.
+ */
+ for (i = 0; i < ACCFG_DEVICE_MAX; i++) {
+ p = &conf_def_wq_param[i].param;
+
+ p->priority = CONFIG_DEFAULT_WQ_PRIORITY;
+ p->group_id = CONFIG_DEFAULT_WQ_GROUP_ID;
+ p->block_on_fault = CONFIG_DEFAULT_WQ_BLOCK_ON_FAULT;
+ p->mode = strdup(CONFIG_DEFAULT_WQ_MODE);
+ p->type = strdup(CONFIG_DEFAULT_WQ_TYPE);
+ p->name = strdup(CONFIG_DEFAULT_WQ_NAME);
+ p->driver_name = strdup(CONFIG_DEFAULT_WQ_DRV_NAME);
+ p->prs_disable = CONFIG_DEFAULT_WQ_PRS_DISABLE;
+ p->ats_disable = CONFIG_DEFAULT_WQ_ATS_DISABLE;
+
+ conf_def_wq_param[i].configured = true;
+ }
+}
+
+static void config_default_param_free(void)
+{
+ struct wq_parameters *p;
+ int i;
+
+ for (i = 0; i < ACCFG_DEVICE_MAX; i++) {
+ if (!conf_def_wq_param[i].configured)
+ continue;
+
+ p = &conf_def_wq_param[i].param;
+
+ free((char *)p->name);
+ free((char *)p->type);
+ free((char *)p->mode);
+ free((char *)p->driver_name);
+ }
+}
+
+static int config_default_from_file(void *ctx)
+{
+ int rc;
+
+ rc = read_config_file(ctx, &config, &util_param);
+ if (rc < 0) {
+ fprintf(stderr, "Reading config file failed: %d\n", rc);
+ return rc;
+ }
+
+ config_default_file = true;
+ rc = parse_config(ctx, &config);
+ if (rc < 0) {
+ fprintf(stderr, "Parse json and set device fail: %d\n", rc);
+ return rc;
+ }
+
+ config_default_wq_set_fixed();
+ if (conf_def_wq_param[ACCFG_DEVICE_DSA].param.name)
+ conf_def_wq_param[ACCFG_DEVICE_DSA].configured = true;
+ if (conf_def_wq_param[ACCFG_DEVICE_IAX].param.name)
+ conf_def_wq_param[ACCFG_DEVICE_IAX].configured = true;
+
+ return 0;
+}
+
+void config_default_disable(void *ctx)
+{
+ char *user_default_wq_name;
+ struct accfg_device *dev;
+
+ if (config.user_default_wq_name)
+ user_default_wq_name = strdup(config.user_default_wq_name);
+ else
+ user_default_wq_name = strdup(CONFIG_DEFAULT_WQ_NAME);
+ if (!user_default_wq_name) {
+ fprintf(stderr, "strdup user default wq name failed\n");
+ return;
+ }
+
+ printf("disable WQs named as %s\n", user_default_wq_name);
+
+ accfg_device_foreach(ctx, dev) {
+ enum accfg_device_state dev_state;
+ enum accfg_wq_state wq_state;
+ bool non_default_wq_enabled;
+ struct accfg_wq *wq;
+ const char *wq_name;
+
+ non_default_wq_enabled = false;
+ /* Disable enabled default WQs */
+ accfg_wq_foreach(dev, wq) {
+ wq_name = accfg_wq_get_type_name(wq);
+ wq_state = accfg_wq_get_state(wq);
+ if (wq_state == ACCFG_WQ_DISABLED)
+ continue;
+
+ if (!strcmp(wq_name, user_default_wq_name)) {
+ if (verbose) {
+ printf("disable %s\n",
+ accfg_wq_get_devname(wq));
+ }
+ accfg_wq_disable(wq, true);
+ } else {
+ non_default_wq_enabled = true;
+ }
+ }
+
+ /* Disable enabled device only when all WQs are disabled. */
+ dev_state = accfg_device_get_state(dev);
+ if (dev_state == ACCFG_DEVICE_ENABLED &&
+ !non_default_wq_enabled) {
+ if (verbose) {
+ printf("enable %s\n",
+ accfg_device_get_devname(dev));
+ }
+ accfg_device_disable(dev, true);
+ }
+ }
+ free(user_default_wq_name);
+}
+
+int cmd_config_default(int argc, const char **argv, void *ctx)
+{
+ bool disable = false;
+ const struct option options[] = {
+ OPT_FILENAME('c', "config-file", &config.config_file, "config-file",
+ "override the default config"),
+ OPT_BOOLEAN('d', "disable", &disable,
+ "disable configured default devices and wqs"),
+ OPT_STRING('n', "name", &config.user_default_wq_name, "user default wq name",
+ "specify user default wq name. Default \"user_default_wq\""),
+ OPT_BOOLEAN('v', "verbose", &verbose,
+ "emit extra debug messages to stderr"),
+ OPT_END(),
+ };
+ const char *const u[] = {
+ "accfg config-default [<options>]", NULL
+ };
+ struct util_filter_ctx fctx = {
+ 0
+ };
+ struct list_filter_arg cfa = {
+ 0
+ };
+ const char *prefix = "./";
+ int i, rc = 0;
+
+ argc = parse_options_prefix(argc, argv, prefix, options, u, 0);
+ for (i = 0; i < argc; i++)
+ error("unknown parameter \"%s\"\n", argv[i]);
+ if (argc)
+ usage_with_options(u, options);
+
+ cfa.jdevices = json_object_new_array();
+ if (!cfa.jdevices)
+ return -ENOMEM;
+ list_head_init(&cfa.jdev_list);
+
+ fctx.filter_device = filter_device;
+ fctx.filter_group = filter_group;
+ fctx.filter_wq = filter_wq;
+ fctx.filter_engine = filter_engine;
+ fctx.list = &cfa;
+ cfa.flags = config_opts_to_flags();
+
+ rc = util_filter_walk(ctx, &fctx, &util_param);
+ if (rc)
+ return rc;
+
+ free_containers(&cfa);
+
+ if (disable) {
+ config_default_disable(ctx);
+
+ return 0;
+ }
+
+ if (config.config_file) {
+ /* Parse the default config file and set configs. */
+ rc = config_default_from_file(ctx);
+ } else {
+ config_default(ctx);
+ }
+
+ if (!rc)
+ config_default_activate_devices(ctx);
+
+ config_default_param_free();
+
+ return 0;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/accfg/libaccel_config.h new/idxd-config-accel-config-v4.1/accfg/libaccel_config.h
--- old/idxd-config-accel-config-v4.0/accfg/libaccel_config.h 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/accfg/libaccel_config.h 2023-08-22 03:10:43.000000000 +0200
@@ -36,6 +36,7 @@
enum accfg_device_type {
ACCFG_DEVICE_DSA = 0,
ACCFG_DEVICE_IAX = 1,
+ ACCFG_DEVICE_MAX = 2,
ACCFG_DEVICE_TYPE_UNKNOWN = -1,
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/accfg-test.spec.in new/idxd-config-accel-config-v4.1/accfg-test.spec.in
--- old/idxd-config-accel-config-v4.0/accfg-test.spec.in 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/accfg-test.spec.in 2023-08-22 03:10:43.000000000 +0200
@@ -2,7 +2,7 @@
Version: VERSION
Release: 2%{?dist}
Summary: Configure accelerator subsystem devices
-License: GPLv2
+License: GPL-2.0
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
@@ -22,7 +22,7 @@
%package -n DNAME
Summary: Development files for libaccfg
-License: LGPLv2.1
+License: LGPL-2.1-only
Group: Development/Libraries
Requires: LNAME%{?_isa} = %{version}-%{release}
@@ -33,7 +33,7 @@
%package -n LNAME
Summary: Configuration library for accelerator subsystem devices
-License: LGPLv2.1
+License: LGPL-2.1-only
Group: System Environment/Libraries
%description -n LNAME
@@ -41,7 +41,7 @@
%package -n %{name}-test
Summary: Unit tests for %{name}.
-License: GPLv2
+License: GPL-2.0
Group: Unspecified
%description -n %{name}-test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/accfg.spec.in new/idxd-config-accel-config-v4.1/accfg.spec.in
--- old/idxd-config-accel-config-v4.0/accfg.spec.in 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/accfg.spec.in 2023-08-22 03:10:43.000000000 +0200
@@ -2,7 +2,7 @@
Version: VERSION
Release: 2%{?dist}
Summary: Configure accelerator subsystem devices
-License: GPLv2
+License: GPL-2.0
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
@@ -22,7 +22,7 @@
%package -n DNAME
Summary: Development files for libaccfg
-License: LGPLv2.1
+License: LGPL-2.1-only
Group: Development/Libraries
Requires: LNAME%{?_isa} = %{version}-%{release}
@@ -33,7 +33,7 @@
%package -n LNAME
Summary: Configuration library for accelerator subsystem devices
-License: LGPLv2.1
+License: LGPL-2.1-only
Group: System Environment/Libraries
%description -n LNAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/builtin.h new/idxd-config-accel-config-v4.1/builtin.h
--- old/idxd-config-accel-config-v4.0/builtin.h 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/builtin.h 2023-08-22 03:10:43.000000000 +0200
@@ -30,6 +30,7 @@
int cmd_config_group(int argc, const char **argv, void *ctx);
int cmd_config_wq(int argc, const char **argv, void *ctx);
int cmd_config_engine(int argc, const char **argv, void *ctx);
+int cmd_config_default(int argc, const char **argv, void *ctx);
#ifdef ENABLE_TEST
int cmd_test(int argc, const char **argv, void *ctx);
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/contrib/configs/profilenote.txt new/idxd-config-accel-config-v4.1/contrib/configs/profilenote.txt
--- old/idxd-config-accel-config-v4.0/contrib/configs/profilenote.txt 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/contrib/configs/profilenote.txt 2023-08-22 03:10:43.000000000 +0200
@@ -34,3 +34,31 @@
for throughput ops
- targeting SPDK-like uses
- DWQ threshold default 0
+
+5. user_default_profile.conf
+ Recommended dsa and iax accel profile template
+ - The template specifies one DSA device and one IAX device
+ - The attributes are applied to all WQs and engines on DSA and IAX
+ - Run "accel-config config-user-default -c user_default_profile.conf"
+ to load the config to all WQs and engines on all available DSA and
+ IAX devices
+ - The attributes can be edited. Two devices can be tailored to one device.
+ - 1 group with all available WQs/all engs per group
+ - Attributes that can be changed:
+ "group_id":0
+ "priority":10
+ "block_on_fault":1
+ "ats_disable":0
+ "prs_disable":1
+ "name":"user_default_wq"
+ - Calcuated attributes:
+ "size": max WQ size / max WQs
+ "threshold": WQ size
+ - Fixed attributes:
+ "type": "user"
+ "mode":"shared"
+ "driver_name":"user",
+ - Attributes with default values set by driver:
+ "max_batch_size": default value
+ "max_transfer_size": default value
+ "op_config": default value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/contrib/configs/user_default_profile.conf new/idxd-config-accel-config-v4.1/contrib/configs/user_default_profile.conf
--- old/idxd-config-accel-config-v4.0/contrib/configs/user_default_profile.conf 1970-01-01 01:00:00.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/contrib/configs/user_default_profile.conf 2023-08-22 03:10:43.000000000 +0200
@@ -0,0 +1,42 @@
+[
+ {
+ "dev":"dsa0",
+ "groups":[
+ {
+ "dev":"group0.0",
+ "grouped_workqueues":[
+ {
+ "dev":"wq0.0",
+ "mode":"shared",
+ "group_id":0,
+ "priority":10,
+ "block_on_fault":1,
+ "name":"user_default_wq",
+ "ats_disable":0,
+ "prs_disable":1
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "dev":"iax1",
+ "groups":[
+ {
+ "dev":"group1.0",
+ "grouped_workqueues":[
+ {
+ "dev":"wq1.0",
+ "mode":"shared",
+ "group_id":0,
+ "priority":10,
+ "block_on_fault":1,
+ "name":"user_default_wq",
+ "ats_disable":0,
+ "prs_disable":1
+ }
+ ]
+ }
+ ]
+ }
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/debian/accel-config-test.install new/idxd-config-accel-config-v4.1/debian/accel-config-test.install
--- old/idxd-config-accel-config-v4.0/debian/accel-config-test.install 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/debian/accel-config-test.install 2023-08-22 03:10:43.000000000 +0200
@@ -1 +1 @@
-usr/lib/accel-config/test/* usr/libexec/accel-config/test
+usr/libexec/accel-config/test/* usr/libexec/accel-config/test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/debian/changelog new/idxd-config-accel-config-v4.1/debian/changelog
--- old/idxd-config-accel-config-v4.0/debian/changelog 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/debian/changelog 2023-08-22 03:10:43.000000000 +0200
@@ -1,3 +1,24 @@
+accel-config (4.1-1) unstable; urgency=medium
+
+ [ Colin Ian King ]
+ * add missing libssl-dev dependency
+ * debian/accel-config-test.install fix path on copy
+
+ [ Fenghua Yu ]
+ * Skip configuring ats_disable if the attribute is not present
+ * Add config-user-default command
+ * Add option "-c <config_file>" to load default configurations from
+ the file
+ * Disable default configured WQs and devices
+ * Add "-n <wq_name>" to specify WQ name for disabling WQs
+ * Add user_default_profile.conf
+ * Add doumentation for new command "config-user-default"
+
+ [ Jerry Snitselaar ]
+ * Update spec file templates to use SPDX identifiers
+
+ -- Ramesh Thomas <ramesh.thomas(a)intel.com> Mon, 21 Aug 2023 18:08:39 -0700
+
accel-config (4.0-1) unstable; urgency=medium
[ Colin Ian King ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/debian/control new/idxd-config-accel-config-v4.1/debian/control
--- old/idxd-config-accel-config-v4.0/debian/control 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/debian/control 2023-08-22 03:10:43.000000000 +0200
@@ -14,7 +14,8 @@
pkg-config,
uuid-dev,
xmlto,
- zlib1g-dev
+ zlib1g-dev,
+ libssl-dev
Package: accel-config
Section: misc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/idxd-config-accel-config-v4.0/git-version new/idxd-config-accel-config-v4.1/git-version
--- old/idxd-config-accel-config-v4.0/git-version 2023-03-08 05:32:03.000000000 +0100
+++ new/idxd-config-accel-config-v4.1/git-version 2023-08-22 03:10:43.000000000 +0200
@@ -19,7 +19,7 @@
fi
}
-DEF_VER=4.0
+DEF_VER=4.1
LF='
'
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gst123 for openSUSE:Factory checked in at 2023-08-31 13:46:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gst123 (Old)
and /work/SRC/openSUSE:Factory/.gst123.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gst123"
Thu Aug 31 13:46:00 2023 rev:2 rq:1108144 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/gst123/gst123.changes 2018-02-07 18:40:39.798290380 +0100
+++ /work/SRC/openSUSE:Factory/.gst123.new.1766/gst123.changes 2023-08-31 13:52:06.993945303 +0200
@@ -1,0 +2,14 @@
+Wed Aug 30 14:29:13 UTC 2023 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 0.4.1
+ * Avoid depending using .git / git during build (remove
+ ChangeLog).
+ version 0.4.0:
+ * Use gtk3 instead of gtk2.
+ * Change config file location to ~/.config/gst123rc
+ * Decode URIs to print proper media name.
+ * Support "audio/mpegurl" mime type for m3u playlist parser as
+ well.
+ * Various bugfixes.
+
+-------------------------------------------------------------------
Old:
----
gst123-0.3.5.tar.bz2
New:
----
gst123-0.4.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gst123.spec ++++++
--- /var/tmp/diff_new_pack.qqq5JS/_old 2023-08-31 13:52:07.997981190 +0200
+++ /var/tmp/diff_new_pack.qqq5JS/_new 2023-08-31 13:52:08.001981332 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gst123
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2012-2013 Pascal Bleser <pascal.bleser(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -13,18 +13,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gst123
-Version: 0.3.5
+Version: 0.4.1
Release: 0
Summary: GStreamer based Command Line Music Player
-License: LGPL-2.0+
+License: LGPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Players
-URL: http://space.twc.de/~stefan/gst123.php
-Source: http://space.twc.de/~stefan/gst123/%{name}-%{version}.tar.bz2
+URL: https://space.twc.de/~stefan/gst123.php
+Source: https://github.com/swesterfeld/gst123/releases/download/%{version}/%{name}-…
Source1: gst123.desktop
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -32,12 +32,8 @@
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
-BuildRequires: pkgconfig(gtk+-2.0)
-%if 0%{?suse_version} >= 1500
+BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(ncurses) >= 5
-%else
-BuildRequires: ncurses-devel
-%endif
%description
The gst123 program is a command line player akin to ogg123 or mpg123,
@@ -45,11 +41,11 @@
knows.
%prep
-%setup -q
+%autosetup -p1
%build
%configure
-make %{?_smp_mflags} V=1
+%make_build
%install
%make_install
@@ -57,18 +53,11 @@
%suse_update_desktop_file -r "%{name}" AudioVideo Player
%find_lang "%{name}" || echo -n >"%{name}.lang"
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-
-%postun
-%desktop_database_postun
-%endif
-
%files -f "%{name}.lang"
-%doc AUTHORS COPYING NEWS
+%license COPYING
+%doc AUTHORS NEWS
%{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/%{name}.desktop
%changelog
++++++ gst123-0.3.5.tar.bz2 -> gst123-0.4.1.tar.bz2 ++++++
++++ 9186 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package opi for openSUSE:Factory checked in at 2023-08-31 13:45:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opi (Old)
and /work/SRC/openSUSE:Factory/.opi.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opi"
Thu Aug 31 13:45:59 2023 rev:47 rq:1108126 version:3.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/opi/opi.changes 2023-07-28 22:20:41.105315708 +0200
+++ /work/SRC/openSUSE:Factory/.opi.new.1766/opi.changes 2023-08-31 13:52:05.797902554 +0200
@@ -1,0 +2,10 @@
+Wed Aug 30 13:32:33 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------
Old:
----
opi-3.3.0.tar.gz
New:
----
opi-3.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opi.spec ++++++
--- /var/tmp/diff_new_pack.BCC6T4/_old 2023-08-31 13:52:06.801938441 +0200
+++ /var/tmp/diff_new_pack.BCC6T4/_new 2023-08-31 13:52:06.805938583 +0200
@@ -17,7 +17,7 @@
Name: opi
-Version: 3.3.0
+Version: 3.4.0
Release: 0
Summary: OBS Package Installer (CLI)
License: GPL-3.0-only
++++++ opi-3.3.0.tar.gz -> opi-3.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/README.md new/opi-3.4.0/README.md
--- old/opi-3.3.0/README.md 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/README.md 2023-08-30 15:32:26.000000000 +0200
@@ -57,10 +57,13 @@
![Screenshot](demo.gif)
-### Using DNF instead of Zypper
+### Config options
+
+Change the config by editing the content of `/etc/opi.cfg`.
+
+#### Using DNF instead of Zypper
If you want to, you can use [DNF](https://en.opensuse.org/SDB:DNF) instead of Zypper.
-To do this, change the content of `/etc/opi.cfg`:
```cfg
backend = dnf
@@ -68,6 +71,16 @@
If you want to go back to Zypper, just change the value of `backend` back to `zypp`.
+#### Disabling auto-refresh for new repositories
+
+If you want to, you can disable auto-refreshing of new repositories.
+
+```cfg
+new_repo_auto_refresh = false
+```
+
+If you want to reactivate auto-refreshing for new repositories, just change the value of `new_repo_auto_refresh` back to `true`.
+
### Packages from Other Repositories
**Packman Codecs** (enable you to play MP4 videos and YouTube)
@@ -81,7 +94,7 @@
```
```
-usage: opi [-h] [-v] [-r] [query [query ...]]
+usage: opi [-h] [-v] [-n] [query ...]
openSUSE Package Installer
==========================
@@ -92,17 +105,15 @@
3. Popular packages for various vendors
positional arguments:
- query can be any package name or part of it and will be
- searched for both at the openSUSE Build Service and
- Packman.
- If multiple query arguments are provided only results
- matching all of them are returned.
-
-optional arguments:
- -h, --help show this help message and exit
- -v, --version show program's version number and exit
- -r, --reversed-output
- print the search results in reverse
+ query can be any package name or part of it and will be searched
+ for both at the openSUSE Build Service and Packman.
+ If multiple query arguments are provided only results
+ matching all of them are returned.
+
+options:
+ -h, --help show this help message and exit
+ -v, --version show program's version number and exit
+ -n Run in non interactive mode
Also these queries can be used to install packages from various other vendors:
anydesk AnyDesk remote access
@@ -112,6 +123,7 @@
codecs Media Codecs from Packman and official repo
dotnet Microsoft .NET
jami Jami p2p messenger
+ maptool Virtual Tabletop for playing roleplaying games
megasync Mega Desktop App
msedge Microsoft Edge
plex Plex Media Server
@@ -119,6 +131,7 @@
skype Microsoft Skype
slack Slack messenger
sublime Editor for code, markup and prose
+ teams-for-linux unofficial Microsoft Teams for Linux
teamviewer TeamViewer remote access
vivaldi Vivaldi web browser
vscode Microsoft Visual Studio Code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi/plugins/teams-for-linux.py new/opi-3.4.0/opi/plugins/teams-for-linux.py
--- old/opi-3.3.0/opi/plugins/teams-for-linux.py 1970-01-01 01:00:00.000000000 +0100
+++ new/opi-3.4.0/opi/plugins/teams-for-linux.py 2023-08-30 15:32:26.000000000 +0200
@@ -0,0 +1,22 @@
+import opi
+from opi.plugins import BasePlugin
+
+class TeamsForLinux(BasePlugin):
+ main_query = 'teams-for-linux'
+ description = 'Unofficial Microsoft Teams for Linux client'
+ queries = ['teams-for-linux','teams']
+
+ @classmethod
+ def run(cls, query):
+ if not opi.ask_yes_or_no('Do you want to install teams-for-linux from teamsforlinux.de repository?'):
+ return
+
+ opi.add_repo(
+ filename = 'teams-for-linux',
+ name = 'Unofficial Teams for Linux',
+ url = 'https://repo.teamsforlinux.de/rpm/',
+ gpgkey = 'https://repo.teamsforlinux.de/teams-for-linux.asc'
+ )
+
+ opi.install_packages(['teams-for-linux'])
+ opi.ask_keep_repo('teams-for-linux')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi/version.py new/opi-3.4.0/opi/version.py
--- old/opi-3.3.0/opi/version.py 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi/version.py 2023-08-30 15:32:26.000000000 +0200
@@ -1 +1 @@
-__version__ = '3.3.0'
+__version__ = '3.4.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/opi.changes new/opi-3.4.0/opi.changes
--- old/opi-3.3.0/opi.changes 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/opi.changes 2023-08-30 15:32:26.000000000 +0200
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Wed Aug 30 13:32:14 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
+
+- Version 3.4.0
+- Add unofficial Teams-for-linux client
+- Improve non interactive tests
+- Strip test module name
+- chore: fix indentation
+- docs: add config options, update opi help page
+
+-------------------------------------------------------------------
Fri Jul 28 10:01:21 UTC 2023 - Dominik Heidler <dheidler(a)suse.de>
- Version 3.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/test/06_install_non_interactive.py new/opi-3.4.0/test/06_install_non_interactive.py
--- old/opi-3.3.0/test/06_install_non_interactive.py 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/test/06_install_non_interactive.py 2023-08-30 15:32:26.000000000 +0200
@@ -10,7 +10,7 @@
c.expect('Pick a number')
c.expect(r'([0-9]+)\. [^ ]*(openSUSE-Tumbleweed-Oss|Main Repository)', timeout=10)
c.expect('Installing from existing repo', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
c.interact()
c.wait()
c.close()
@@ -25,7 +25,7 @@
c.expect('Pick a number')
c.expect(r'([0-9]+)\. [^ ]*(filesystems)', timeout=10)
c.expect('Adding repo \'filesystems\'', timeout=10)
-c.expect('Continue?', timeout=10)
+c.expect('Continue?', timeout=20)
c.interact()
c.wait()
c.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opi-3.3.0/test/run_container_test.sh new/opi-3.4.0/test/run_container_test.sh
--- old/opi-3.3.0/test/run_container_test.sh 2023-07-28 12:01:38.000000000 +0200
+++ new/opi-3.4.0/test/run_container_test.sh 2023-08-30 15:32:26.000000000 +0200
@@ -22,5 +22,6 @@
opi_dir="$(dirname $(pwd)/$0)/../"
-podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image /opi/test/run.sh $1
+test_module=$(basename $1)
+podman run -ti --rm --volume "${opi_dir}:/opi/" $opi_base_image /opi/test/run.sh $test_module
exit $?
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package stress-ng for openSUSE:Factory checked in at 2023-08-31 13:45:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stress-ng (Old)
and /work/SRC/openSUSE:Factory/.stress-ng.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stress-ng"
Thu Aug 31 13:45:58 2023 rev:117 rq:1108129 version:0.16.04
Changes:
--------
--- /work/SRC/openSUSE:Factory/stress-ng/stress-ng.changes 2023-03-19 16:17:06.479476590 +0100
+++ /work/SRC/openSUSE:Factory/.stress-ng.new.1766/stress-ng.changes 2023-08-31 13:52:02.545786315 +0200
@@ -1,0 +2,7 @@
+Wed Aug 30 13:23:37 UTC 2023 - Andrea Manzini <andrea.manzini(a)suse.com>
+
+- Update to version 0.16.4
+ * see https://github.com/ColinIanKing/stress-ng/blob/V0.16.04/debian/changelog
+ for the full changelog
+
+-------------------------------------------------------------------
Old:
----
V0.15.06.tar.gz
New:
----
V0.16.04.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ stress-ng.spec ++++++
--- /var/tmp/diff_new_pack.E7l8XL/_old 2023-08-31 13:52:04.369851511 +0200
+++ /var/tmp/diff_new_pack.E7l8XL/_new 2023-08-31 13:52:04.429853656 +0200
@@ -18,7 +18,7 @@
Name: stress-ng
-Version: 0.15.06
+Version: 0.16.04
Release: 0
Summary: Tool to load and stress a computer
License: GPL-2.0-only
++++++ V0.15.06.tar.gz -> V0.16.04.tar.gz ++++++
++++ 84546 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-desktop for openSUSE:Factory checked in at 2023-08-31 13:45:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-desktop (Old)
and /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-desktop"
Thu Aug 31 13:45:57 2023 rev:43 rq:1108125 version:10.8+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-desktop/budgie-desktop.changes 2023-05-17 10:53:55.287602716 +0200
+++ /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766/budgie-desktop.changes 2023-08-31 13:52:00.905727695 +0200
@@ -1,0 +2,18 @@
+Tue Aug 29 19:23:54 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 10.8+0:
+ * Drop libmutter-12 support in favor of magpie-0
+ * Polkit dialog will now show the action description
+ and action ID when graphical privilege escalation is requested
+ * Status applet now provides the ability to control the
+ Performance / Power profile modes offered by
+ power-profiles-daemon.
+ * System Tray has adopted the Status Notifier specification
+ * Application Indexer's fuzzy scoring function has been
+ ported to C
+ * Default colour is now green
+ * Kvantum and Murrine themes are now hidden in
+ Budgie Desktop Settings
+ * We now search for plugins in both /usr and /usr/local
+
+-------------------------------------------------------------------
Old:
----
budgie-desktop-10.7.2+0.obscpio
New:
----
budgie-desktop-10.8+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-desktop.spec ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.237775307 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.245775592 +0200
@@ -21,8 +21,13 @@
%if 0%{?suse_version} < 1550
%define _distconfdir %{_sysconfdir}
%endif
+%if 0%{?suse_version} < 1599
+%bcond_with magpie
+%else
+%bcond_without magpie
+%endif
Name: budgie-desktop
-Version: 10.7.2+0
+Version: 10.8+0
Release: 0
Summary: GTK3 Desktop Environment
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -49,7 +54,11 @@
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(ibus-1.0)
BuildRequires: pkgconfig(libgnome-menu-3.0)
-BuildRequires: (pkgconfig(libmutter-12) or pkgconfig(libmutter-11) or pkgconfig(libmutter-10))
+%if %{with magpie}
+BuildRequires: pkgconfig(libmagpie-0)
+%else
+BuildRequires: (pkgconfig(libmutter-11) or pkgconfig(libmutter-10))
+%endif
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(libpulse)
@@ -74,7 +83,8 @@
Requires: typelib-1_0-Budgie-1_0 >= %{version}
Requires: typelib-1_0-BudgieRaven-1_0 >= %{version}
Requires: budgie-desktop-branding >= 20220627.1
-Requires: budgie-control-center >= 1.2.0+0
+Requires: budgie-control-center >= 1.3.0+0
+Requires: budgie-backgrounds >= 2.0+0
#
# unchanged SOVER but new APIs
Requires: libraven0 >= %{version}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.281776879 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.285777022 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-desktop.git</param>
- <param name="revision">be7698b656134b4575fe5b543f90371541c21223</param>
+ <param name="revision">1d4f822458fc2efa3673f25d7477fb301eceac73</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.305777737 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.305777737 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-desktop.git</param>
- <param name="changesrevision">be7698b656134b4575fe5b543f90371541c21223</param></service></servicedata>
+ <param name="changesrevision">1d4f822458fc2efa3673f25d7477fb301eceac73</param></service></servicedata>
(No newline at EOF)
++++++ budgie-desktop-10.7.2+0.obscpio -> budgie-desktop-10.8+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-desktop/budgie-desktop-10.7.2+0.obscpio /work/SRC/openSUSE:Factory/.budgie-desktop.new.1766/budgie-desktop-10.8+0.obscpio differ: char 49, line 1
++++++ budgie-desktop.obsinfo ++++++
--- /var/tmp/diff_new_pack.HZiXhx/_old 2023-08-31 13:52:02.341779023 +0200
+++ /var/tmp/diff_new_pack.HZiXhx/_new 2023-08-31 13:52:02.345779166 +0200
@@ -1,5 +1,5 @@
name: budgie-desktop
-version: 10.7.2+0
-mtime: 1682537892
-commit: be7698b656134b4575fe5b543f90371541c21223
+version: 10.8+0
+mtime: 1692526810
+commit: 1d4f822458fc2efa3673f25d7477fb301eceac73
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-backgrounds for openSUSE:Factory checked in at 2023-08-31 13:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-backgrounds (Old)
and /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-backgrounds"
Thu Aug 31 13:45:55 2023 rev:3 rq:1108122 version:2.0+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-backgrounds/budgie-backgrounds.changes 2023-02-10 14:34:11.605516499 +0100
+++ /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766/budgie-backgrounds.changes 2023-08-31 13:51:59.113663644 +0200
@@ -1,0 +2,15 @@
+Tue Aug 29 19:26:11 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 2.0+0:
+ * Add picture of Orange Hallway from Wikimedia Commons
+ * Add picture of Singaporean Cityscape from Flickr
+ * Add picture of Ocean Waves from rawpixel
+ * Add picture of Extreme Desert Hike from Wikimedia Commons
+ * Add picture of Casa Milá from Wikimedia Commons
+ * Add picture of Dragonfly on Lavender from Wikimedia Commons
+ * Add picture of Motherboard Circuits from Negative Space
+ * Add picture of Blue Periwinkle from Wikimedia Commons
+ * Add picture of Solaris Grapes from Wikimedia Commons
+ * Avoid to install bash for build stage
+
+-------------------------------------------------------------------
Old:
----
budgie-backgrounds-1.0+0.obscpio
New:
----
budgie-backgrounds-2.0+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-backgrounds.spec ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.513713684 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.521713970 +0200
@@ -17,7 +17,7 @@
Name: budgie-backgrounds
-Version: 1.0+0
+Version: 2.0+0
Release: 0
Summary: The default background set for the Budgie Desktop
License: CC0-1.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.553715114 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.557715257 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-backgrounds.git</param>
- <param name="revision">d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65</param>
+ <param name="revision">75bae2296451cc8ec9c94047f26312190da78e37</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.581716114 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.585716258 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-backgrounds.git</param>
- <param name="changesrevision">d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65</param></service></servicedata>
+ <param name="changesrevision">75bae2296451cc8ec9c94047f26312190da78e37</param></service></servicedata>
(No newline at EOF)
++++++ budgie-backgrounds-1.0+0.obscpio -> budgie-backgrounds-2.0+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-backgrounds/budgie-backgrounds-1.0+0.obscpio /work/SRC/openSUSE:Factory/.budgie-backgrounds.new.1766/budgie-backgrounds-2.0+0.obscpio differ: char 48, line 1
++++++ budgie-backgrounds.obsinfo ++++++
--- /var/tmp/diff_new_pack.Yn8vAq/_old 2023-08-31 13:52:00.629717830 +0200
+++ /var/tmp/diff_new_pack.Yn8vAq/_new 2023-08-31 13:52:00.629717830 +0200
@@ -1,5 +1,5 @@
name: budgie-backgrounds
-version: 1.0+0
-mtime: 1673045524
-commit: d39dd6ef458e8fdc2fa7f12467f9008e8fa97a65
+version: 2.0+0
+mtime: 1692028226
+commit: 75bae2296451cc8ec9c94047f26312190da78e37
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package budgie-control-center for openSUSE:Factory checked in at 2023-08-31 13:45:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-control-center (Old)
and /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "budgie-control-center"
Thu Aug 31 13:45:52 2023 rev:7 rq:1108119 version:1.3.0+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-control-center/budgie-control-center.changes 2023-02-10 14:34:09.249502421 +0100
+++ /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766/budgie-control-center.changes 2023-08-31 13:51:55.457532965 +0200
@@ -1,0 +2,31 @@
+Tue Aug 29 19:29:01 UTC 2023 - gmbr3(a)opensuse.org
+
+- Update to version 1.3.0+0:
+ * shell: fix visibility check for rows and avoid empty searches
+ * shell: avoid activating panel from an empty search
+ * Set last-panel only for noncrashing panels
+ * network: Increase maximum MTU value from 10000 to 65536
+ * display: Removed the loop from the snapping function
+ * display: Try snapping all the displays after a config change
+ * sound: Prevent duplicate sound device entries
+ * common: hostname-entry: Update hostname only after apply is
+ clicked
+ * usage: Fix confirmation dialog when clearing history
+ * thunderbold: Don't cast CcBoltPanel when cancelled
+ * user-accounts: close CcAvatarChooser before showing
+ GtkFileChooser
+ * user-accounts: disallow commas in real name
+ * printers: Use CUPS dest API for printing test page
+ instead CUPS IPP API
+ * keyboard: country matches should not be shown under a
+ language name.
+ * display: Add 32:9 to known aspect ratios
+ * sound: Add a "None" option to the alert chooser
+ * sound: Update sounds directory mtime when changing alert
+ * sound: Don't flip the balance and fade sliders in RTL
+ * Rework cc-usage-panel.c to display dialog on history
+ clearance
+ * Update POT for the latest translatables
+ * Add support for switching the file manager
+
+-------------------------------------------------------------------
Old:
----
budgie-control-center-1.2.0+0.obscpio
New:
----
budgie-control-center-1.3.0+0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ budgie-control-center.spec ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:56.941586008 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:56.945586151 +0200
@@ -17,7 +17,7 @@
Name: budgie-control-center
-Version: 1.2.0+0
+Version: 1.3.0+0
Release: 0
Summary: Fork of GNOME Control Center for Budgie 10
License: GPL-2.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:56.973587152 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:56.977587295 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/BuddiesOfBudgie/budgie-control-center.git</param>
- <param name="revision">5087342d03d6a0c414bc63b81597b9d803ec5330</param>
+ <param name="revision">1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:57.005588296 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:57.005588296 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/BuddiesOfBudgie/budgie-control-center.git</param>
- <param name="changesrevision">5087342d03d6a0c414bc63b81597b9d803ec5330</param></service></servicedata>
+ <param name="changesrevision">1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2</param></service></servicedata>
(No newline at EOF)
++++++ budgie-control-center-1.2.0+0.obscpio -> budgie-control-center-1.3.0+0.obscpio ++++++
/work/SRC/openSUSE:Factory/budgie-control-center/budgie-control-center-1.2.0+0.obscpio /work/SRC/openSUSE:Factory/.budgie-control-center.new.1766/budgie-control-center-1.3.0+0.obscpio differ: char 48, line 1
++++++ budgie-control-center.obsinfo ++++++
--- /var/tmp/diff_new_pack.8fQpXx/_old 2023-08-31 13:51:57.049589869 +0200
+++ /var/tmp/diff_new_pack.8fQpXx/_new 2023-08-31 13:51:57.053590011 +0200
@@ -1,5 +1,5 @@
name: budgie-control-center
-version: 1.2.0+0
-mtime: 1674987792
-commit: 5087342d03d6a0c414bc63b81597b9d803ec5330
+version: 1.3.0+0
+mtime: 1690916940
+commit: 1d24cd2c5b3a6c7f679538a66f090d0868d8d1d2
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cftime for openSUSE:Factory checked in at 2023-08-31 13:45:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cftime (Old)
and /work/SRC/openSUSE:Factory/.python-cftime.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cftime"
Thu Aug 31 13:45:51 2023 rev:9 rq:1108098 version:1.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cftime/python-cftime.changes 2022-10-29 20:18:42.114720600 +0200
+++ /work/SRC/openSUSE:Factory/.python-cftime.new.1766/python-cftime.changes 2023-08-31 13:51:53.745471772 +0200
@@ -1,0 +2,5 @@
+Wed Aug 30 11:03:06 UTC 2023 - Markéta Machová <mmachova(a)suse.com>
+
+- add upstream cython3.patch
+
+-------------------------------------------------------------------
New:
----
cython3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cftime.spec ++++++
--- /var/tmp/diff_new_pack.40H6QU/_old 2023-08-31 13:51:54.873512091 +0200
+++ /var/tmp/diff_new_pack.40H6QU/_new 2023-08-31 13:51:54.881512377 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cftime
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# no numpy for Python 3.6
-%define skip_python36 1
Name: python-cftime
Version: 1.6.2
Release: 0
@@ -26,14 +24,16 @@
License: MIT
URL: https://github.com/Unidata/cftime
Source: https://files.pythonhosted.org/packages/source/c/cftime/cftime-%{version}.t…
-BuildRequires: %{python_module Cython}
+#PATCH-FIX-UPSTREAM https://github.com/Unidata/cftime/pull/305 Set c_api_binop_methods Cython compiler directive to True
+Patch: cython3.patch
+BuildRequires: %{python_module Cython >= 0.29.20}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 18.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Cython
+Requires: python-Cython >= 0.29.20
Requires: python-numpy
%python_subpackages
@@ -42,7 +42,7 @@
Was split out from netcfd4-python in 2016.
%prep
-%setup -q -n cftime-%{version}
+%autosetup -p1 -n cftime-%{version}
# do not require cov/xdist/etc
rm setup.cfg
++++++ cython3.patch ++++++
From 31f782aed3de56300886dd7350f1faff657e14dd Mon Sep 17 00:00:00 2001
From: Spencer Clark <spencerkclark(a)gmail.com>
Date: Sat, 29 Jul 2023 09:51:10 -0400
Subject: [PATCH] Set c_api_binop_methods compiler directive to True
This retains Cython 0.x behavior for arithmetic operators for
Cython >= 3.0.0.
---
Changelog | 2 ++
pyproject.toml | 2 +-
requirements-dev.txt | 2 +-
setup.py | 9 ++++++++-
4 files changed, 12 insertions(+), 3 deletions(-)
Index: cftime-1.6.2/pyproject.toml
===================================================================
--- cftime-1.6.2.orig/pyproject.toml
+++ cftime-1.6.2/pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools>=41.2", "cython", "wheel", "oldest-supported-numpy"]
+requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "oldest-supported-numpy"]
build-backend = "setuptools.build_meta"
Index: cftime-1.6.2/requirements-dev.txt
===================================================================
--- cftime-1.6.2.orig/requirements-dev.txt
+++ cftime-1.6.2/requirements-dev.txt
@@ -1,7 +1,7 @@
check-manifest
coverage
coveralls
-cython>0.26.1
+cython>=0.29.20
pytest
pytest-cov
sphinx
Index: cftime-1.6.2/setup.py
===================================================================
--- cftime-1.6.2.orig/setup.py
+++ cftime-1.6.2/setup.py
@@ -16,7 +16,14 @@ except ImportError:
BASEDIR = os.path.abspath(os.path.dirname(__file__))
SRCDIR = os.path.join(BASEDIR,'src')
CMDS_NOCYTHONIZE = ['clean','clean_cython','sdist']
-COMPILER_DIRECTIVES = {}
+COMPILER_DIRECTIVES = {
+ # Cython 3.0.0 changes the default of the c_api_binop_methods directive to
+ # False, resulting in errors in datetime and timedelta arithmetic:
+ # https://github.com/Unidata/cftime/issues/271. We explicitly set it to
+ # True to retain Cython 0.x behavior for future Cython versions. This
+ # directive was added in Cython version 0.29.20.
+ "c_api_binop_methods": True
+}
DEFINE_MACROS = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]
FLAG_COVERAGE = '--cython-coverage' # custom flag enabling Cython line tracing
NAME = 'cftime'
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-cloud-kms for openSUSE:Factory checked in at 2023-08-31 13:45:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-kms (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-kms"
Thu Aug 31 13:45:50 2023 rev:14 rq:1108093 version:2.19.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-cloud-kms/python-google-cloud-kms.changes 2023-07-18 22:09:27.603437026 +0200
+++ /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.1766/python-google-cloud-kms.changes 2023-08-31 13:51:52.533428450 +0200
@@ -1,0 +2,8 @@
+Wed Aug 30 10:57:59 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to 2.19.1
+ * Minor formatting (#411)
+- from version 2.19.0
+ * Add interoperable symmetric encryption system (#403)
+
+-------------------------------------------------------------------
Old:
----
google-cloud-kms-2.18.0.tar.gz
New:
----
google-cloud-kms-2.19.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-kms.spec ++++++
--- /var/tmp/diff_new_pack.qlwKC6/_old 2023-08-31 13:51:53.493462764 +0200
+++ /var/tmp/diff_new_pack.qlwKC6/_new 2023-08-31 13:51:53.501463050 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Release: 0
Summary: Cloud Key Management Service (KMS) API API client library
License: Apache-2.0
++++++ google-cloud-kms-2.18.0.tar.gz -> google-cloud-kms-2.19.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/MANIFEST.in new/google-cloud-kms-2.19.1/MANIFEST.in
--- old/google-cloud-kms-2.18.0/MANIFEST.in 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/MANIFEST.in 2023-08-03 16:34:36.000000000 +0200
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2020 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/PKG-INFO new/google-cloud-kms-2.19.1/PKG-INFO
--- old/google-cloud-kms-2.18.0/PKG-INFO 2023-07-05 21:26:03.766366000 +0200
+++ new/google-cloud-kms-2.19.1/PKG-INFO 2023-08-03 16:36:45.850709700 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Summary: Google Cloud Kms API client library
Home-page: https://github.com/googleapis/python-kms
Author: Google LLC
@@ -60,21 +60,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -101,10 +104,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -112,10 +114,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/README.rst new/google-cloud-kms-2.19.1/README.rst
--- old/google-cloud-kms-2.18.0/README.rst 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/README.rst 2023-08-03 16:34:36.000000000 +0200
@@ -36,21 +36,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -77,10 +80,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -88,10 +90,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms/gapic_version.py new/google-cloud-kms-2.19.1/google/cloud/kms/gapic_version.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms/gapic_version.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms/gapic_version.py 2023-08-03 16:34:36.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.18.0" # {x-release-please-version}
+__version__ = "2.19.1" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/gapic_version.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/gapic_version.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/gapic_version.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/gapic_version.py 2023-08-03 16:34:36.000000000 +0200
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-__version__ = "2.18.0" # {x-release-please-version}
+__version__ = "2.19.1" # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/async_client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/async_client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/async_client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/async_client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/pagers.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/pagers.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/pagers.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/pagers.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/base.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/base.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/base.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/base.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/grpc_asyncio.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/rest.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/rest.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/ekm_service/transports/rest.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/ekm_service/transports/rest.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/async_client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/async_client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/async_client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/async_client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/client.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/client.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/client.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/client.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/pagers.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/pagers.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/pagers.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/pagers.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/base.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/base.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/base.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/base.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/grpc_asyncio.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/rest.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/rest.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/services/key_management_service/transports/rest.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/services/key_management_service/transports/rest.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/__init__.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/__init__.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/ekm_service.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/ekm_service.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/ekm_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/ekm_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/resources.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/resources.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/resources.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/resources.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -553,40 +553,40 @@
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
- Algorithms beginning with "RSA_SIGN\_" are usable with
+ Algorithms beginning with ``RSA_SIGN_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
- The fields in the name after "RSA_SIGN\_" correspond to the following
- parameters: padding algorithm, modulus bit length, and digest
- algorithm.
+ The fields in the name after ``RSA_SIGN_`` correspond to the
+ following parameters: padding algorithm, modulus bit length, and
+ digest algorithm.
For PSS, the salt length used is equal to the length of digest
algorithm. For example,
[RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256]
will use PSS with a salt length of 256 bits or 32 bytes.
- Algorithms beginning with "RSA_DECRYPT\_" are usable with
+ Algorithms beginning with ``RSA_DECRYPT_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
- The fields in the name after "RSA_DECRYPT\_" correspond to the
+ The fields in the name after ``RSA_DECRYPT_`` correspond to the
following parameters: padding algorithm, modulus bit length, and
digest algorithm.
- Algorithms beginning with "EC_SIGN\_" are usable with
+ Algorithms beginning with ``EC_SIGN_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
- The fields in the name after "EC_SIGN\_" correspond to the following
- parameters: elliptic curve, digest algorithm.
+ The fields in the name after ``EC_SIGN_`` correspond to the
+ following parameters: elliptic curve, digest algorithm.
- Algorithms beginning with "HMAC\_" are usable with
+ Algorithms beginning with ``HMAC_`` are usable with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
[MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
- The suffix following "HMAC\_" corresponds to the hash algorithm being
- used (eg. SHA256).
+ The suffix following ``HMAC_`` corresponds to the hash algorithm
+ being used (eg. SHA256).
For more information, see [Key purposes and algorithms]
(https://cloud.google.com/kms/docs/algorithms)
@@ -602,6 +602,16 @@
AES_256_GCM (19):
AES-GCM (Galois Counter Mode) using 256-bit
keys.
+ AES_128_CBC (42):
+ AES-CBC (Cipher Block Chaining Mode) using
+ 128-bit keys.
+ AES_256_CBC (43):
+ AES-CBC (Cipher Block Chaining Mode) using
+ 256-bit keys.
+ AES_128_CTR (44):
+ AES-CTR (Counter Mode) using 128-bit keys.
+ AES_256_CTR (45):
+ AES-CTR (Counter Mode) using 256-bit keys.
RSA_SIGN_PSS_2048_SHA256 (2):
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_SIGN_PSS_3072_SHA256 (3):
@@ -672,6 +682,10 @@
GOOGLE_SYMMETRIC_ENCRYPTION = 1
AES_128_GCM = 41
AES_256_GCM = 19
+ AES_128_CBC = 42
+ AES_256_CBC = 43
+ AES_128_CTR = 44
+ AES_256_CTR = 45
RSA_SIGN_PSS_2048_SHA256 = 2
RSA_SIGN_PSS_3072_SHA256 = 3
RSA_SIGN_PSS_4096_SHA256 = 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/service.py new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/service.py
--- old/google-cloud-kms-2.18.0/google/cloud/kms_v1/types/service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google/cloud/kms_v1/types/service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/google_cloud_kms.egg-info/PKG-INFO new/google-cloud-kms-2.19.1/google_cloud_kms.egg-info/PKG-INFO
--- old/google-cloud-kms-2.18.0/google_cloud_kms.egg-info/PKG-INFO 2023-07-05 21:26:03.000000000 +0200
+++ new/google-cloud-kms-2.19.1/google_cloud_kms.egg-info/PKG-INFO 2023-08-03 16:36:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-cloud-kms
-Version: 2.18.0
+Version: 2.19.1
Summary: Google Cloud Kms API client library
Home-page: https://github.com/googleapis/python-kms
Author: Google LLC
@@ -60,21 +60,24 @@
Installation
~~~~~~~~~~~~
-Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
-create isolated Python environments. The basic problem it addresses is one of
-dependencies and versions, and indirectly permissions.
+Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
+creates isolated Python environments. These isolated environments can have separate
+versions of Python packages, which allows you to isolate one project's dependencies
+from the dependencies of other projects.
-With `virtualenv`_, it's possible to install this library without needing system
+With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
-.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
+.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
-Code samples and snippets live in the `samples/` folder.
+Code samples and snippets live in the `samples/`_ folder.
+
+.. _samples/: https://github.com/googleapis/python-kms/tree/main/samples
Supported Python Versions
@@ -101,10 +104,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
+ python3 -m venv <your-env>
source <your-env>/bin/activate
- <your-env>/bin/pip install google-cloud-kms
+ pip install google-cloud-kms
Windows
@@ -112,10 +114,9 @@
.. code-block:: console
- pip install virtualenv
- virtualenv <your-env>
- <your-env>\Scripts\activate
- <your-env>\Scripts\pip.exe install google-cloud-kms
+ py -m venv <your-env>
+ .\<your-env>\Scripts\activate
+ pip install google-cloud-kms
Next Steps
~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/setup.py new/google-cloud-kms-2.19.1/setup.py
--- old/google-cloud-kms-2.18.0/setup.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/setup.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/__init__.py new/google-cloud-kms-2.19.1/tests/__init__.py
--- old/google-cloud-kms-2.18.0/tests/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/__init__.py new/google-cloud-kms-2.19.1/tests/unit/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/__init__.py new/google-cloud-kms-2.19.1/tests/unit/gapic/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/__init__.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/__init__.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/__init__.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/__init__.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_ekm_service.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_ekm_service.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_ekm_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_ekm_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_key_management_service.py new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_key_management_service.py
--- old/google-cloud-kms-2.18.0/tests/unit/gapic/kms_v1/test_key_management_service.py 2023-07-05 21:23:57.000000000 +0200
+++ new/google-cloud-kms-2.19.1/tests/unit/gapic/kms_v1/test_key_management_service.py 2023-08-03 16:34:36.000000000 +0200
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Copyright 2022 Google LLC
+# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nodejs-electron for openSUSE:Factory checked in at 2023-08-31 13:45:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
and /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron"
Thu Aug 31 13:45:49 2023 rev:76 rq:1108107 version:22.3.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2023-08-20 00:15:18.435363930 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766/nodejs-electron.changes 2023-08-31 13:51:39.188951487 +0200
@@ -1,0 +2,9 @@
+Mon Aug 28 15:59:52 UTC 2023 - Bruno Pitrus <brunopitrus(a)hotmail.com>
+
+- New upstream release 22.3.22
+ * Fixed decorations for tiled windows on Wayland.
+ * Security fixes for V8 (CVE-2023-4355, CVE-2023-4352), Skia (CVE-2023-4354), ANGLE (CVE-2023-4353), and Network (CVE-2023-4351)
+- Clean up third_party/… in tarball.
+ * drop chromium-99-pdfium-system-libtiff.patch which is dead code
+
+-------------------------------------------------------------------
Old:
----
chromium-99-pdfium-system-libtiff.patch
electron-22.3.21.tar.zst
New:
----
electron-22.3.22.tar.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.813402715 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.817402858 +0200
@@ -76,6 +76,11 @@
# Linker selection. GCC only. Default is BFD.
# You can try different ones if it has problems.
# arm64 reports relocation errors with BFD.
+# obj/third_party/electron_node/deps/uv/uv/threadpool.o: in function `init_once':
+# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/deps/uv/src/threadpool.c:254:(.text+0x2bc): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_atfork' defined in .text section in /usr/lib64/libc_nonshared.a(pthread_atfork.oS)
+# obj/third_party/electron_node/node_lib/embed_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > node::SPrintFImpl<char const*>(char const*, char const*&&)':
+# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/src/debug_utils-inl.h:76:(.text.unlikely._ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_[_ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_]+0x50): relocation truncated to fit: R_AARCH64_CALL26 against symbol `node::Assert(node::AssertionInfo const&)' defined in .text section in obj/third_party/electron_node/node_lib/node_errors.o
+
%if 0%{?suse_version}
%ifarch aarch64
%bcond_without gold
@@ -212,7 +217,7 @@
Name: nodejs-electron
-Version: 22.3.21
+Version: 22.3.22
Release: 0
Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS
License: AFL-2.0 AND Apache-2.0 AND blessing AND BSD-2-Clause AND BSD-3-Clause AND BSD-Protection AND BSD-Source-Code AND bzip2-1.0.6 AND IJG AND ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND MIT-CMU AND MIT-open-group AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND MPL-2.0 AND OpenSSL AND SGI-B-2.0 AND SUSE-Public-Domain AND X11
@@ -284,8 +289,6 @@
Patch1041: system-zlib.patch
Patch1044: replace_gn_files-system-libs.patch
Patch1045: angle-system-xxhash.patch
-# https://svnweb.mageia.org/packages/cauldron/chromium-browser-stable/current…
-Patch1046: chromium-99-pdfium-system-libtiff.patch
Patch1047: cares_public_headers.patch
Patch1048: chromium-remove-bundled-roboto-font.patch
Patch1053: swiftshader-use-system-llvm.patch
@@ -900,25 +903,19 @@
%limit_build -m 2600
%endif
-%if %{with lto} && %{without clang}
-# reduce the threads for linking even more due to LTO eating ton of memory
-_link_threads=$(((%{jobs} - 2)))
+%if %{with lto} && %{without clang}
%ifarch aarch64
-_link_threads=1
+# reduce the threads for linking even more due to LTO eating ton of memory
+# [This is not used currently — these settings still get us OOM on 20GB memory]
+_link_threads=$(((%{jobs} - 6)))
-%if %{without mold}
-%if %{with gold}
-export LDFLAGS="${LDFLAGS} -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped"
+test "$_link_threads" -le 0 && _link_threads=1
+export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%else
-export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--hash-size=30 -Wl,--reduce-memory-overheads"
-%endif
+# x64 is fine with the the default settings (the machines have 30GB+ ram)
+export LDFLAGS="$LDFLAGS -flto=auto"
%endif
-export LDFLAGS="$LDFLAGS --param ggc-min-expand=30 --param ggc-min-heapsize=4096"
-
-%endif
-test "$_link_threads" -le 0 && _link_threads=1
-export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1"
%endif
gn_system_libraries=(
@@ -1388,10 +1385,6 @@
ln -srv third_party/angle/src/compiler/translator/glslang.l -t out/Release
ln -srv third_party/angle/src/compiler/preprocessor/preprocessor.l -t out/Release
ln -srv third_party -t out/Release
-ln -srv third_party/libvpx -t third_party/libvpx/source/libvpx/third_party
-ln -srv third_party -t third_party/libvpx/source/libvpx/vp8
-ln -srv third_party -t third_party/libvpx/source/libvpx/vp9
-ln -srv third_party -t third_party/libvpx/source
%files
%license electron/LICENSE out/Release/LICENSES.chromium.html
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.905406003 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.909406146 +0200
@@ -1,35 +1,46 @@
<?xml version="1.0"?>
<constraints>
- <hardware>
- <disk>
- <size unit="G">24</size>
- </disk>
- <memory>
- <size unit="G">8</size>
- </memory>
- <jobs>6</jobs>
- </hardware>
- <overwrite>
- <conditions>
- <arch>x86_64</arch>
- <arch>i586</arch>
- </conditions>
- <hardware>
- <memory>
- <size unit="G">27</size>
- </memory>
- <jobs>12</jobs>
- </hardware>
- </overwrite>
- <overwrite>
- <conditions>
- <arch>aarch64</arch>
- </conditions>
- <hardware>
- <cpu>
- <flag>asimdrdm</flag> <!-- prevent scheduling on old machines -->
- </cpu>
- </hardware>
- </overwrite>
+ <hardware>
+ <disk>
+ <size unit="G">24</size>
+ </disk>
+ <memory>
+ <size unit="G">8</size>
+ </memory>
+ <jobs>6</jobs>
+ </hardware>
+ <overwrite>
+ <conditions>
+ <arch>aarch64</arch>
+ </conditions>
+ <hardware>
+ <memory>
+ <size unit="G">20</size>
+ </memory>
+ </hardware>
+ </overwrite>
+ <overwrite>
+ <conditions>
+ <arch>x86_64</arch>
+ </conditions>
+ <hardware>
+ <memory>
+ <size unit="G">30</size>
+ </memory>
+ <jobs>8</jobs>
+ </hardware>
+ </overwrite>
+ <overwrite>
+ <conditions>
+ <arch>aarch64</arch>
+ <arch>armv7l</arch>
+ <arch>armv6l</arch>
+ </conditions>
+ <hardware>
+ <cpu>
+ <flag>asimdrdm</flag> <!-- prevent scheduling on old machines -->
+ </cpu>
+ </hardware>
+ </overwrite>
</constraints>
++++++ create_tarball.sh ++++++
--- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:52.029410435 +0200
+++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:52.033410579 +0200
@@ -230,7 +230,7 @@
third_party/libaom/source/libaom/third_party/vector
third_party/libaom/source/libaom/third_party/x86inc
third_party/libavif #leap too old
- third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h)
+ #third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h) in VAAPI code only
third_party/libjxl #not in Leap
third_party/libphonenumber #Depends on protobuf which cannot be unbundled
third_party/libsrtp #Use of private headers. they were public in libsrtp1
@@ -238,8 +238,8 @@
third_party/libudev #Headers for a optional delay-loaded dependency
third_party/liburlpattern #Derived code, not vendored dep.
third_party/libva_protected_content #ChromeOS header not available separately. needed for build.
- third_party/libvpx #Use of private headers in VAAPI code only.
- third_party/libvpx/source/libvpx/third_party/x86inc
+ #third_party/libvpx #Use of private headers in VAAPI code only.
+ #third_party/libvpx/source/libvpx/third_party/x86inc
third_party/libwebm #Usage of private headers (mkvparser/mkvmuxer)
third_party/libx11 #Derived code, not vendored dep
third_party/libxcb-keysyms #Derived code, not vendored dep
@@ -257,14 +257,15 @@
third_party/one_euro_filter #not in any distro
third_party/openscreen #Integral part of chrome, needed even if you're building without.
third_party/openscreen/src/third_party/mozilla #derived code, not vendored dependency
- third_party/openscreen/src/third_party/tinycbor/src/src #not in any distro
+ third_party/openscreen/src/third_party/tinycbor #not in any distro
third_party/ots #not available as a shared library. Fedora has the cli version as opentype-sanitizer
- third_party/pdfium #Integral part of chrome
- third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg
- third_party/pdfium/third_party/base #derived code, not vendored dependency
- third_party/pdfium/third_party/bigint #not on any distro
- third_party/pdfium/third_party/freetype #Copy of private headers
- third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet.
+ #we don't build pdf support, removing it from tarball to save space
+ #third_party/pdfium #Part of chrome, not available separately.
+ #third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg
+ #third_party/pdfium/third_party/base #derived code, not vendored dependency
+ #third_party/pdfium/third_party/bigint #not on any distro
+ #third_party/pdfium/third_party/freetype #Copy of private headers
+ #third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet.
third_party/perfetto #Seems not to be available as a shared library, despite the presence of a `debian` directory.
third_party/perfetto/protos/third_party/chromium #derived code, not vendored dep
third_party/pffft #not in any distro, also heavily patched
@@ -355,6 +356,7 @@
rm -rf third_party/catapult/tracing/test_data # 200MB
rm -rf third_party/sqlite/src/test #86MB
find chrome/test/data -type f ! -name "*.gn" -a ! -name "*.gni" -delete #249MB, thanks Mageia
+find third_party/hunspell_dictionaries -type f ! -name "*.gn" -a ! -name "*.gni" -delete #262MB
#see electron/.circleci/config/base.yml
rm -rf android_webview
1
0