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
November 2021
- 1 participants
- 2337 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package Photini for openSUSE:Factory checked in at 2021-11-03 17:26:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Photini (Old)
and /work/SRC/openSUSE:Factory/.Photini.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Photini"
Wed Nov 3 17:26:30 2021 rev:25 rq:928972 version:2021.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/Photini/Photini.changes 2021-09-16 23:17:48.235992859 +0200
+++ /work/SRC/openSUSE:Factory/.Photini.new.1890/Photini.changes 2021-11-03 17:27:28.185376728 +0100
@@ -1,0 +2,9 @@
+Wed Nov 3 09:15:05 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 2021.11.0
+ * Can use PySide6 instead of PySide2 or PyQt5.
+ * New config option to enlarge user interface on high
+ resolution screens.
+ * Other minor improvements and bug fixes.
+
+-------------------------------------------------------------------
Old:
----
Photini-2021.9.0.tar.gz
New:
----
Photini-2021.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ Photini.spec ++++++
--- /var/tmp/diff_new_pack.0aFTET/_old 2021-11-03 17:27:28.589376948 +0100
+++ /var/tmp/diff_new_pack.0aFTET/_new 2021-11-03 17:27:28.593376951 +0100
@@ -17,7 +17,7 @@
Name: Photini
-Version: 2021.9.0
+Version: 2021.11.0
Release: 0
Summary: Digital photograph metadata (EXIF, IPTC, XMP) editing application
License: GPL-3.0-or-later
++++++ Photini-2021.9.0.tar.gz -> Photini-2021.11.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/Photini/Photini-2021.9.0.tar.gz /work/SRC/openSUSE:Factory/.Photini.new.1890/Photini-2021.11.0.tar.gz differ: char 16, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libopenshot for openSUSE:Factory checked in at 2021-11-03 17:26:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libopenshot (Old)
and /work/SRC/openSUSE:Factory/.libopenshot.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libopenshot"
Wed Nov 3 17:26:26 2021 rev:9 rq:928967 version:0.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/libopenshot/libopenshot.changes 2021-09-01 21:37:15.660882674 +0200
+++ /work/SRC/openSUSE:Factory/.libopenshot.new.1890/libopenshot.changes 2021-11-03 17:27:22.777373770 +0100
@@ -1,0 +2,21 @@
+Mon Nov 1 14:21:41 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- python3_sitearch is defined in python-rpm-macros, BuildRequire
+ explicitly.
+
+-------------------------------------------------------------------
+Mon Nov 01 13:31:56 UTC 2021 - code(a)bnavigator.de
+
+- Update to version 0.2.7:
+ * Bumping version to 0.2.7, SO 21
+ * Reversing y_offset direction to match previous OpenShot crop
+ behavior
+ * Adding an X and Y offset to the current crop effect, to better
+ support previous clip crop parameters (for migrating crop
+ options from OpenShot 2.5.1 to OpenShot 2.6). Also refactoring
+ the crop effect, to actually copy the pixels into a new image
+ buffer.
+ * Merge master 0.2.6 into develop
+ * set default crop border to 0
+
+-------------------------------------------------------------------
Old:
----
libopenshot-0.2.6.obscpio
New:
----
libopenshot-0.2.7.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libopenshot.spec ++++++
--- /var/tmp/diff_new_pack.Tl103T/_old 2021-11-03 17:27:23.313374063 +0100
+++ /var/tmp/diff_new_pack.Tl103T/_new 2021-11-03 17:27:23.317374065 +0100
@@ -16,10 +16,10 @@
#
-%define sover 20
+%define sover 21
Name: libopenshot
-Version: 0.2.6
+Version: 0.2.7
Release: 0
Summary: The core library for the OpenShot video editor
License: LGPL-3.0-or-later
@@ -30,6 +30,7 @@
BuildRequires: cppzmq-devel
BuildRequires: gcc-c++
BuildRequires: pkgconfig
+BuildRequires: python-rpm-macros
BuildRequires: ruby-devel
BuildRequires: swig
BuildRequires: cmake(OpenShotAudio) >= 0.2.1
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Tl103T/_old 2021-11-03 17:27:23.349374082 +0100
+++ /var/tmp/diff_new_pack.Tl103T/_new 2021-11-03 17:27:23.349374082 +0100
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/OpenShot/libopenshot.git</param>
<param name="scm">git</param>
- <param name="revision">v0.2.6</param>
+ <param name="revision">v0.2.7</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Tl103T/_old 2021-11-03 17:27:23.369374093 +0100
+++ /var/tmp/diff_new_pack.Tl103T/_new 2021-11-03 17:27:23.369374093 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/OpenShot/libopenshot.git</param>
- <param name="changesrevision">73b009d38f678ca77a1b1564e1f2492b8ff1fed7</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">4106f1f0a85be3d284ab80ed2d457c6f6b319f7a</param></service></servicedata>
\ No newline at end of file
++++++ libopenshot-0.2.6.obscpio -> libopenshot-0.2.7.obscpio ++++++
/work/SRC/openSUSE:Factory/libopenshot/libopenshot-0.2.6.obscpio /work/SRC/openSUSE:Factory/.libopenshot.new.1890/libopenshot-0.2.7.obscpio differ: char 27, line 1
++++++ libopenshot.obsinfo ++++++
--- /var/tmp/diff_new_pack.Tl103T/_old 2021-11-03 17:27:23.409374115 +0100
+++ /var/tmp/diff_new_pack.Tl103T/_new 2021-11-03 17:27:23.413374118 +0100
@@ -1,5 +1,5 @@
name: libopenshot
-version: 0.2.6
-mtime: 1629405639
-commit: 73b009d38f678ca77a1b1564e1f2492b8ff1fed7
+version: 0.2.7
+mtime: 1630795836
+commit: 59878784732fa399c47ac5d282bfc9dfe470d0dc
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package calc for openSUSE:Factory checked in at 2021-11-03 17:26:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calc (Old)
and /work/SRC/openSUSE:Factory/.calc.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "calc"
Wed Nov 3 17:26:25 2021 rev:29 rq:928961 version:2.14.0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/calc/calc.changes 2021-10-13 18:10:10.235658693 +0200
+++ /work/SRC/openSUSE:Factory/.calc.new.1890/calc.changes 2021-11-03 17:27:21.201372908 +0100
@@ -1,0 +2,12 @@
+Wed Nov 3 08:26:40 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 2.14.0.6:
+ * Fixed typo in cal/statistics.cal
+ * Fixed an old Windoz pun in README.WINDOWS
+ * Fixed a really obscure bug in the internal initconstants()
+ function of const.c that has been sitting for over 31 years!
+ * Fixed issues identied by the default CodeUL GitHub security code scan:
+ + Wrong type of arguments to printf in have_fpos_pos.c
+ + Multiplication result converted to larger type in zfunc.c
+
+-------------------------------------------------------------------
Old:
----
calc-2.14.0.3.tar.bz2
New:
----
calc-2.14.0.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ calc.spec ++++++
--- /var/tmp/diff_new_pack.k6pa0u/_old 2021-11-03 17:27:21.649373153 +0100
+++ /var/tmp/diff_new_pack.k6pa0u/_new 2021-11-03 17:27:21.649373153 +0100
@@ -19,7 +19,7 @@
%define soname 2
%define libname libcalc%{soname}
Name: calc
-Version: 2.14.0.3
+Version: 2.14.0.6
Release: 0
Summary: C-style arbitrary precision calculator
License: LGPL-2.1-only
++++++ calc-2.14.0.3.tar.bz2 -> calc-2.14.0.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/CHANGES new/calc-2.14.0.6/CHANGES
--- old/calc-2.14.0.3/CHANGES 2021-09-27 11:07:34.000000000 +0200
+++ new/calc-2.14.0.6/CHANGES 2021-10-22 12:04:38.000000000 +0200
@@ -191,6 +191,25 @@
; print hm2h(241, -25.5594);
0.57401
+ Fixed typo in cal/statistics.cal thanks to a report by <GitHub user
+ dennisaldea>.
+
+ Fixed an old Windoz pun in README.WINDOWS as requested by <GitHub
+ user marcodegio>.
+
+ Fixed a really obscure bug in the internal initconstants()
+ function of const.c that has been sitting for over 31 years!
+
+ We are amazed that nobody has encountered this bug before
+ now. Nevertheless, our very extensive regression and
+ multi-architecture testing found the bug. Now, after all
+ those years, it is fixed.
+
+ Fixed issues identied by the default CodeUL GitHub security code scan:
+
+ Wrong type of arguments to printf in have_fpos_pos.c
+ Multiplication result converted to larger type in zfunc.c
+
The following are the changes from calc version 2.13.0.1 to 2.13.0.1:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/Makefile new/calc-2.14.0.6/Makefile
--- old/calc-2.14.0.3/Makefile 2021-09-27 11:30:14.000000000 +0200
+++ new/calc-2.14.0.6/Makefile 2021-10-22 12:35:30.000000000 +0200
@@ -1205,7 +1205,7 @@
# The default calc versions
#
-VERSION= 2.14.0.3
+VERSION= 2.14.0.6
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/Makefile.simple new/calc-2.14.0.6/Makefile.simple
--- old/calc-2.14.0.3/Makefile.simple 2021-09-27 11:55:48.000000000 +0200
+++ new/calc-2.14.0.6/Makefile.simple 2021-10-22 12:39:43.000000000 +0200
@@ -1117,7 +1117,7 @@
# The default calc versions
#
-VERSION= 2.14.0.3
+VERSION= 2.14.0.6
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/README.WINDOWS new/calc-2.14.0.6/README.WINDOWS
--- old/calc-2.14.0.3/README.WINDOWS 2021-09-07 01:36:22.000000000 +0200
+++ new/calc-2.14.0.6/README.WINDOWS 2021-10-21 21:16:16.000000000 +0200
@@ -1,4 +1,4 @@
-Dear calc user on a Windoz based system,
+Dear calc user on a Windows based system,
See the HOWTO.INSTALL file for information on how to build and install calc.
See also the README file.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/cal/statistics.cal new/calc-2.14.0.6/cal/statistics.cal
--- old/calc-2.14.0.3/cal/statistics.cal 2021-02-13 07:15:46.000000000 +0100
+++ new/calc-2.14.0.6/cal/statistics.cal 2021-10-21 21:09:40.000000000 +0200
@@ -371,7 +371,7 @@
define probit(p){
if(p<0 || p > 1) return newerror("probit: p out of domain 0<=p<=1");
- return sqrt(2)*ervinv(2*p-1);
+ return sqrt(2)*erfinv(2*p-1);
}
define normalcdfinv(p,mu,sigma){
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/const.c new/calc-2.14.0.6/const.c
--- old/calc-2.14.0.3/const.c 2021-03-08 19:58:40.000000000 +0100
+++ new/calc-2.14.0.6/const.c 2021-10-22 12:07:26.000000000 +0200
@@ -44,16 +44,16 @@
{
int i;
- consttable = (NUMBER **) malloc(sizeof(NUMBER *) * CONSTALLOCSIZE);
+ consttable = (NUMBER **) calloc(sizeof(NUMBER *), CONSTALLOCSIZE);
if (consttable == NULL) {
math_error("Unable to allocate constant table");
/*NOTREACHED*/
}
- for (i = 0; i < INITCONSTCOUNT; i++)
+ for (i = 0; initnumbs[i] != NULL; i++) {
consttable[i] = initnumbs[i];
- consttable[INITCONSTCOUNT] = NULL; /* firewall */
- constcount = INITCONSTCOUNT;
- constavail = CONSTALLOCSIZE - INITCONSTCOUNT;
+ }
+ constcount = i-1;
+ constavail = CONSTALLOCSIZE - constcount;
}
@@ -123,6 +123,9 @@
tp = consttable;
for (index = 0; index < constcount; index++, tp++) {
t = *tp;
+ if (t == NULL) { /* paranoia */
+ break;
+ }
if (t->links == 0) {
if (!havefirst) {
havefirst = TRUE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/custom/Makefile new/calc-2.14.0.6/custom/Makefile
--- old/calc-2.14.0.3/custom/Makefile 2021-09-27 11:55:03.000000000 +0200
+++ new/calc-2.14.0.6/custom/Makefile 2021-10-22 12:39:01.000000000 +0200
@@ -496,7 +496,7 @@
# The default calc versions
#
-VERSION= 2.14.0.3
+VERSION= 2.14.0.6
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/custom/Makefile.head new/calc-2.14.0.6/custom/Makefile.head
--- old/calc-2.14.0.3/custom/Makefile.head 2021-09-27 11:30:14.000000000 +0200
+++ new/calc-2.14.0.6/custom/Makefile.head 2021-10-22 12:35:30.000000000 +0200
@@ -496,7 +496,7 @@
# The default calc versions
#
-VERSION= 2.14.0.3
+VERSION= 2.14.0.6
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/custom/Makefile.simple new/calc-2.14.0.6/custom/Makefile.simple
--- old/calc-2.14.0.3/custom/Makefile.simple 2021-09-27 11:55:48.000000000 +0200
+++ new/calc-2.14.0.6/custom/Makefile.simple 2021-10-22 12:39:43.000000000 +0200
@@ -460,7 +460,7 @@
# The default calc versions
#
-VERSION= 2.14.0.3
+VERSION= 2.14.0.6
# Names of shared libraries with versions
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/have_fpos_pos.c new/calc-2.14.0.6/have_fpos_pos.c
--- old/calc-2.14.0.3/have_fpos_pos.c 2021-03-08 19:58:40.000000000 +0100
+++ new/calc-2.14.0.6/have_fpos_pos.c 2021-10-22 10:30:31.000000000 +0200
@@ -56,8 +56,8 @@
printf("#define FPOS_POS_BITS %d\n", FPOS_POS_BITS);
printf("#define FPOS_POS_LEN %d\n", int(FPOS_POS_BITS/8));
# else
- printf("#define FPOS_POS_BITS %d\n", sizeof(pos.__pos)*8);
- printf("#define FPOS_POS_LEN %d\n", sizeof(pos.__pos));
+ printf("#define FPOS_POS_BITS %lu\n", sizeof(pos.__pos)*8);
+ printf("#define FPOS_POS_LEN %lu\n", sizeof(pos.__pos));
# endif
#else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/qmath.c new/calc-2.14.0.6/qmath.c
--- old/calc-2.14.0.3/qmath.c 2021-09-26 10:47:33.000000000 +0200
+++ new/calc-2.14.0.6/qmath.c 2021-09-29 07:27:32.000000000 +0200
@@ -53,10 +53,12 @@
NUMBER _qtwentyfour = { { _twentyfourval_, 1, 0 },
{ _oneval_, 1, 0 }, 1, NULL };
-NUMBER * initnumbs[INITCONSTCOUNT] = {&_qzero_, &_qone_, &_qtwo_, &_qthree_,
+NUMBER * initnumbs[] = {&_qzero_, &_qone_, &_qtwo_, &_qthree_,
&_qfour_, &_qten_, &_qnegone_, &_qonehalf_, &_qneghalf_,
&_qonesqbase_, &_qtendivnine_, &_qninedivten_,
- &_qthreesixty, &_qfourhundred, &_qtwentyfour };
+ &_qthreesixty, &_qfourhundred, &_qtwentyfour,
+ NULL /* must be last */
+};
/*
@@ -1488,7 +1490,7 @@
printf("Index Links Digits Value\n");
printf("----- ----- ------ -----\n");
- for (i = 0, k = 0; i < INITCONSTCOUNT; i++) {
+ for (i = 0, k = 0; initnumbs[i] != NULL; i++) {
count++;
vp = initnumbs[i];
printf("%6ld %4ld ", k++, vp->links);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/qmath.h new/calc-2.14.0.6/qmath.h
--- old/calc-2.14.0.3/qmath.h 2021-09-26 10:47:46.000000000 +0200
+++ new/calc-2.14.0.6/qmath.h 2021-09-29 07:20:53.000000000 +0200
@@ -35,8 +35,6 @@
#endif
-#define INITCONSTCOUNT 15 /* number of initnumbs[] pre-defined constants */
-
/*
* Rational arithmetic definitions.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/version.c new/calc-2.14.0.6/version.c
--- old/calc-2.14.0.3/version.c 2021-09-27 11:21:49.000000000 +0200
+++ new/calc-2.14.0.6/version.c 2021-10-22 12:35:18.000000000 +0200
@@ -54,7 +54,7 @@
#define MAJOR_VER 2 /* major library version */
#define MINOR_VER 14 /* minor library version */
#define MAJOR_PATCH 0 /* major software version level */
-#define MINOR_PATCH 3 /* minor software version level */
+#define MINOR_PATCH 6 /* minor software version level */
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.14.0.3/zfunc.c new/calc-2.14.0.6/zfunc.c
--- old/calc-2.14.0.3/zfunc.c 2021-03-09 10:08:41.000000000 +0100
+++ new/calc-2.14.0.6/zfunc.c 2021-10-22 10:37:39.000000000 +0200
@@ -1034,7 +1034,7 @@
}
needw = FALSE;
}
- g = *a0 * w;
+ g = (FULL) (*a0 * w);
if (h < BASEB) {
g &= (1 << h) - 1;
} else {
@@ -1044,7 +1044,7 @@
g = 1;
}
} else {
- g = (HALF) *a0 * w;
+ g = (FULL) (*a0 * w);
}
a = a0;
b = b0;
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package maildir-utils for openSUSE:Factory checked in at 2021-11-03 17:26:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maildir-utils (Old)
and /work/SRC/openSUSE:Factory/.maildir-utils.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maildir-utils"
Wed Nov 3 17:26:24 2021 rev:27 rq:928957 version:1.6.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/maildir-utils/maildir-utils.changes 2021-08-27 21:45:20.874072049 +0200
+++ /work/SRC/openSUSE:Factory/.maildir-utils.new.1890/maildir-utils.changes 2021-11-03 17:27:20.181372350 +0100
@@ -1,0 +2,45 @@
+Wed Nov 3 08:18:26 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.6.9:
+ * Just a version bump because 1.6.8 had a mistake in them
+
+-------------------------------------------------------------------
+Wed Nov 3 08:17:44 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.6.8:
+ * mu-query: honor maxnum for threaded queries
+ * lib/mu: fix a few leaks
+ * guile: fix user script path detection
+
+-------------------------------------------------------------------
+Wed Nov 3 08:16:54 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.6.7:
+ * Add Emacs v29 support for enabling mu4e
+ * mu-find: unbreak json output
+ * build: detect wordexp
+ * mu4e.texi: improve regexp example
+ * mu int: improve docs for regexp addresses
+ * mu4e.texi: Add regexp --my-address example
+
+-------------------------------------------------------------------
+Wed Nov 3 08:13:21 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.6.6:
+ * Fix mu-init manpage markup
+ * Extracting attachments #2116
+ * mu4e-view: remove overlays before erasing
+ * mu4e-view: remove overlays when erasing
+ * mu4e-server: rename from mu4e-proc
+ * mu4e-utils: refactor into mu4e-helpers, separate files
+ * mu4e-view: remove old view
+ * vars: refactor variables
+ * mu4e-search: split off search functionality in minor-mode
+ * build: update coding-style settings
+ * mu4e-context: make it a minor-mode
+ * mu4e-context: fix some flycheck warnings
+ * mu4e-helpers: split off from mu4e-utils
+ * build: make meson the default build system
+ * build: require c++17
+
+-------------------------------------------------------------------
Old:
----
mu-1.6.5.tar.xz
New:
----
mu-1.6.9.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maildir-utils.spec ++++++
--- /var/tmp/diff_new_pack.Tbz5j5/_old 2021-11-03 17:27:20.621372590 +0100
+++ /var/tmp/diff_new_pack.Tbz5j5/_new 2021-11-03 17:27:20.621372590 +0100
@@ -17,13 +17,13 @@
Name: maildir-utils
-Version: 1.6.5
+Version: 1.6.9
Release: 0
Summary: Maildir indexer and searcher
License: GPL-3.0-or-later
Group: Productivity/Networking/Email/Utilities
URL: https://www.djcbsoftware.nl/code/mu/
-Source: https://github.com/djcb/mu/releases/download/%{version}/mu-%{version}.tar.xz
+Source: https://github.com/djcb/mu/releases/download/%{version}-signed/mu-%{version…
BuildRequires: autoconf
BuildRequires: automake >= 1.14
BuildRequires: emacs-nox >= 24.4
++++++ mu-1.6.5.tar.xz -> mu-1.6.9.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/Makefile.in new/mu-1.6.9/Makefile.in
--- old/mu-1.6.5/Makefile.in 2021-08-26 21:22:30.000000000 +0200
+++ new/mu-1.6.9/Makefile.in 2021-10-24 13:44:42.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
VPATH = @srcdir@
am__is_gnu_make = { \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/aminclude_static.am new/mu-1.6.9/aminclude_static.am
--- old/mu-1.6.5/aminclude_static.am 2021-08-26 21:22:30.000000000 +0200
+++ new/mu-1.6.9/aminclude_static.am 2021-10-24 13:44:42.000000000 +0200
@@ -1,6 +1,6 @@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
# Code coverage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/configure new/mu-1.6.9/configure
--- old/mu-1.6.5/configure 2021-08-26 21:22:29.000000000 +0200
+++ new/mu-1.6.9/configure 2021-10-24 13:44:41.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for mu 1.6.5.
+# Generated by GNU Autoconf 2.69 for mu 1.6.9.
#
# Report bugs to <https://github.com/djcb/mu/issues>.
#
@@ -592,8 +592,8 @@
# Identity of this package.
PACKAGE_NAME='mu'
PACKAGE_TARNAME='mu'
-PACKAGE_VERSION='1.6.5'
-PACKAGE_STRING='mu 1.6.5'
+PACKAGE_VERSION='1.6.9'
+PACKAGE_STRING='mu 1.6.9'
PACKAGE_BUGREPORT='https://github.com/djcb/mu/issues'
PACKAGE_URL=''
@@ -1444,7 +1444,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mu 1.6.5 to adapt to many kinds of systems.
+\`configure' configures mu 1.6.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1515,7 +1515,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mu 1.6.5:";;
+ short | recursive ) echo "Configuration of mu 1.6.9:";;
esac
cat <<\_ACEOF
@@ -1674,7 +1674,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-mu configure 1.6.5
+mu configure 1.6.9
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2223,7 +2223,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mu $as_me 1.6.5, which was
+It was created by mu $as_me 1.6.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3094,7 +3094,7 @@
# Define the identity of the package.
PACKAGE='mu'
- VERSION='1.6.5'
+ VERSION='1.6.9'
cat >>confdefs.h <<_ACEOF
@@ -19425,7 +19425,7 @@
case $emacs_version in #(
*25.3*) :
build_mu4e=yes ;; #(
- *26*|*27*|*28*) :
+ *26*|*27*|*28*|*29*) :
build_mu4e=yes ;; #(
*) :
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: emacs is too old to build mu4e (need emacs >= 25.3)" >&5
@@ -22622,7 +22622,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by mu $as_me 1.6.5, which was
+This file was extended by mu $as_me 1.6.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22688,7 +22688,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-mu config.status 1.6.5
+mu config.status 1.6.9
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/configure.ac new/mu-1.6.9/configure.ac
--- old/mu-1.6.5/configure.ac 2021-08-26 21:21:33.000000000 +0200
+++ new/mu-1.6.9/configure.ac 2021-10-24 13:42:13.000000000 +0200
@@ -15,7 +15,7 @@
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
AC_PREREQ([2.68])
-AC_INIT([mu],[1.6.5],[https://github.com/djcb/mu/issues],[mu])
+AC_INIT([mu],[1.6.9],[https://github.com/djcb/mu/issues],[mu])
AC_COPYRIGHT([Copyright (C) 2008-2021 Dirk-Jan C. Binnema])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([mu/mu.cc])
@@ -97,7 +97,7 @@
])
AS_CASE([$emacs_version],
[*25.3*],[build_mu4e=yes],
- [*26*|*27*|*28*],[build_mu4e=yes],
+ [*26*|*27*|*28*|*29*],[build_mu4e=yes],
[AC_WARN([emacs is too old to build mu4e (need emacs >= 25.3)])])
])
AM_CONDITIONAL(BUILD_MU4E, test "x$build_mu4e" = "xyes")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/guile/mu-guile.info new/mu-1.6.9/guile/mu-guile.info
--- old/mu-1.6.5/guile/mu-guile.info 2021-08-26 21:22:39.000000000 +0200
+++ new/mu-1.6.9/guile/mu-guile.info 2021-10-24 13:44:51.000000000 +0200
@@ -1,4 +1,4 @@
-This is mu-guile.info, produced by makeinfo version 6.7 from
+This is mu-guile.info, produced by makeinfo version 6.8 from
mu-guile.texi.
Copyright �� 2012 Dirk-Jan C. Binnema
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/guile/stamp-vti new/mu-1.6.9/guile/stamp-vti
--- old/mu-1.6.5/guile/stamp-vti 2021-08-26 21:22:38.000000000 +0200
+++ new/mu-1.6.9/guile/stamp-vti 2021-10-24 13:44:50.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 17 March 2021
-@set UPDATED-MONTH March 2021
-@set EDITION 1.6.5
-@set VERSION 1.6.5
+@set UPDATED 27 August 2021
+@set UPDATED-MONTH August 2021
+@set EDITION 1.6.9
+@set VERSION 1.6.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/guile/version.texi new/mu-1.6.9/guile/version.texi
--- old/mu-1.6.5/guile/version.texi 2021-08-26 21:22:38.000000000 +0200
+++ new/mu-1.6.9/guile/version.texi 2021-10-24 13:44:50.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 17 March 2021
-@set UPDATED-MONTH March 2021
-@set EDITION 1.6.5
-@set VERSION 1.6.5
+@set UPDATED 27 August 2021
+@set UPDATED-MONTH August 2021
+@set EDITION 1.6.9
+@set VERSION 1.6.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/lib/Makefile.in new/mu-1.6.9/lib/Makefile.in
--- old/mu-1.6.5/lib/Makefile.in 2021-08-26 21:22:30.000000000 +0200
+++ new/mu-1.6.9/lib/Makefile.in 2021-10-24 13:44:42.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
VPATH = @srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/lib/index/Makefile.in new/mu-1.6.9/lib/index/Makefile.in
--- old/mu-1.6.5/lib/index/Makefile.in 2021-08-26 21:22:30.000000000 +0200
+++ new/mu-1.6.9/lib/index/Makefile.in 2021-10-24 13:44:42.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
VPATH = @srcdir@
am__is_gnu_make = { \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/lib/mu-msg-file.cc new/mu-1.6.9/lib/mu-msg-file.cc
--- old/mu-1.6.5/lib/mu-msg-file.cc 2021-08-15 16:27:37.000000000 +0200
+++ new/mu-1.6.9/lib/mu-msg-file.cc 2021-10-24 13:42:01.000000000 +0200
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 2012-2020 Dirk-Jan C. Binnema <djcb(a)djcbsoftware.nl>
+** Copyright (C) 2012-2021 Dirk-Jan C. Binnema <djcb(a)djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@@ -73,6 +73,7 @@
g_free(self->_path);
g_free(self->_maildir);
+ g_free(self->_sha1);
g_free (self);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/lib/mu-query.cc new/mu-1.6.9/lib/mu-query.cc
--- old/mu-1.6.5/lib/mu-query.cc 2021-07-28 22:56:29.000000000 +0200
+++ new/mu-1.6.9/lib/mu-query.cc 2021-10-24 13:42:01.000000000 +0200
@@ -49,7 +49,7 @@
MuMsgFieldId sortfieldid, QueryFlags qflags) const;
Option<QueryResults> run_threaded (QueryResults&& qres, Xapian::Enquire& enq,
- QueryFlags qflags) const;
+ QueryFlags qflags, size_t maxnum) const;
Option<QueryResults> run_singular (const std::string& expr, MuMsgFieldId sortfieldid,
QueryFlags qflags, size_t maxnum) const;
Option<QueryResults> run_related (const std::string& expr, MuMsgFieldId sortfieldid,
@@ -127,7 +127,7 @@
Option<QueryResults>
Query::Private::run_threaded (QueryResults&& qres, Xapian::Enquire& enq,
- QueryFlags qflags) const
+ QueryFlags qflags, size_t maxnum) const
{
const auto descending{any_of(qflags & QueryFlags::Descending)};
@@ -138,7 +138,7 @@
DeciderInfo minfo;
minfo.matches = qres.query_matches();
- auto mset{enq.get_mset(0, store_.size(), {},
+ auto mset{enq.get_mset(0, maxnum, {},
make_thread_decider(qflags, minfo).get())};
mset.fetch();
@@ -170,7 +170,7 @@
auto qres{QueryResults{mset, std::move(minfo.matches)}};
- return threading ? run_threaded(std::move(qres), enq, qflags) : qres;
+ return threading ? run_threaded(std::move(qres), enq, qflags, maxnum) : qres;
}
static Option<std::string>
@@ -217,7 +217,7 @@
const auto r_mset{r_enq.get_mset(0, threading ? store_.size() : maxnum,
{}, make_related_decider(qflags, minfo).get())};
auto qres{QueryResults{r_mset, std::move(minfo.matches)}};
- return threading ? run_threaded(std::move(qres), r_enq, qflags) : qres;
+ return threading ? run_threaded(std::move(qres), r_enq, qflags, maxnum) : qres;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/lib/utils/Makefile.in new/mu-1.6.9/lib/utils/Makefile.in
--- old/mu-1.6.5/lib/utils/Makefile.in 2021-08-26 21:22:31.000000000 +0200
+++ new/mu-1.6.9/lib/utils/Makefile.in 2021-10-24 13:44:42.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
VPATH = @srcdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/man/mu-init.1 new/mu-1.6.9/man/mu-init.1
--- old/mu-1.6.5/man/mu-init.1 2021-01-23 16:55:01.000000000 +0100
+++ new/mu-1.6.9/man/mu-init.1 2021-10-17 11:02:14.000000000 +0200
@@ -43,8 +43,9 @@
which were merely seen in mailing list messages.
\fI<my-email-address>\fR can be either a plain e-mail address (such as
-\fBfoo(a)example.com\fR) or a regular-expression (of the 'Basic POSIX'
-flavor), wrapped in \B/\fR (such as \B/foo-.*(a)example\\.com\fR)
+\fBfoo(a)example.com\fR) or a regular-expression (of the 'Basic POSIX' flavor),
+wrapped in \fB/\fR (such as \fB/foo-.*(a)example\\.com/\fR) Depending on your
+shell program, the argument may need to b quoted.
.SH ENVIRONMENT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/man/mu-script.1 new/mu-1.6.9/man/mu-script.1
--- old/mu-1.6.5/man/mu-script.1 2018-08-18 09:11:47.000000000 +0200
+++ new/mu-1.6.9/man/mu-script.1 2021-10-23 10:24:40.000000000 +0200
@@ -1,8 +1,8 @@
-.TH MU SCRIPT 1 "June 2013" "User Manuals"
+.TH MU SCRIPT 1 "October 2021" "User Manuals"
.SH NAME
-mu script\- show the available mu scripts, and run them.
+mu script\- show the available mu scripts, and/or run them.
.SH SYNOPSIS
@@ -58,8 +58,9 @@
.SH FILES
You can make your own Scheme scripts accessible through \fBmu script\fR by
-putting them in \fI<muhome>/scripts\fR (which is typically
-\fI~/.mu/scripts\fR). It is a good idea to document the scripts by using some
+putting them in either \fI<XDG_DATA_HOME>/mu/scripts\fR (e.g., \fI~/.local/share/mu/scripts\fR) or, if \fImuhome\fR is specified, in
+
+It is a good idea to document the scripts by using some
special comments in the source code:
.nf
;; INFO: this is my script -- one-line description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu/Makefile.in new/mu-1.6.9/mu/Makefile.in
--- old/mu-1.6.5/mu/Makefile.in 2021-08-26 21:22:31.000000000 +0200
+++ new/mu-1.6.9/mu/Makefile.in 2021-10-24 13:44:43.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Thu Aug 26 22:22:30 EEST 2021
+# from AX_AM_MACROS_STATIC on Sun Oct 24 14:44:42 EEST 2021
VPATH = @srcdir@
am__is_gnu_make = { \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu/mu-cmd-find.cc new/mu-1.6.9/mu/mu-cmd-find.cc
--- old/mu-1.6.5/mu/mu-cmd-find.cc 2021-07-28 22:56:29.000000000 +0200
+++ new/mu-1.6.9/mu/mu-cmd-find.cc 2021-10-24 13:42:01.000000000 +0200
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 2008-2020 Dirk-Jan C. Binnema <djcb(a)djcbsoftware.nl>
+** Copyright (C) 2008-2021 Dirk-Jan C. Binnema <djcb(a)djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@@ -47,6 +47,7 @@
Xapian::docid docid{};
bool header{};
bool footer{};
+ bool last{};
Option<QueryMatch&> match_info;
};
@@ -522,8 +523,8 @@
return true;
}
- g_print("%s\n", msg_to_sexp(msg, info.docid, MU_MSG_OPTION_HEADERS_ONLY)
- .to_sexp_string().c_str());
+ g_print("%s%s\n", msg_to_sexp(msg, info.docid, MU_MSG_OPTION_HEADERS_ONLY)
+ .to_json_string().c_str(), info.last ? "" : ",");
return true;
}
@@ -598,8 +599,10 @@
gboolean rv{true};
output_func (NULL, FirstOutput, opts, NULL);
+ size_t n{0};
for (auto&& item: qres) {
+ n++;
auto msg{item.floating_msg()};
if (!msg)
continue;
@@ -607,7 +610,9 @@
if (opts->after != 0 && mu_msg_get_timestamp(msg) < opts->after)
continue;
- rv = output_func (msg, {item.doc_id(), false, false, item.query_match()},
+ rv = output_func (msg, {item.doc_id(), false, false,
+ n == qres.size(), /* last? */
+ item.query_match()},
opts, err);
if (!rv)
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu/mu-cmd-script.cc new/mu-1.6.9/mu/mu-cmd-script.cc
--- old/mu-1.6.5/mu/mu-cmd-script.cc 2021-07-28 22:56:29.000000000 +0200
+++ new/mu-1.6.9/mu/mu-cmd-script.cc 2021-10-24 13:42:01.000000000 +0200
@@ -102,6 +102,15 @@
return TRUE;
}
+static char*
+get_userpath (const char *muhome)
+{
+ if (muhome)
+ return g_build_path (G_DIR_SEPARATOR_S, muhome, "scripts", NULL);
+ else
+ return g_build_path (G_DIR_SEPARATOR_S, g_get_user_data_dir(),
+ "mu", "scripts", NULL);
+}
static GSList*
get_script_info_list (const char *muhome, GError **err)
@@ -117,8 +126,7 @@
if (err && *err)
return NULL;
- userpath = g_strdup_printf ("%s%c%s",
- muhome, G_DIR_SEPARATOR, "scripts");
+ userpath = get_userpath(muhome);
/* is there are userdir for scripts? */
if (!mu_util_check_dir (userpath, TRUE, FALSE)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu/test-mu-cmd.cc new/mu-1.6.9/mu/test-mu-cmd.cc
--- old/mu-1.6.5/mu/test-mu-cmd.cc 2021-08-15 16:27:37.000000000 +0200
+++ new/mu-1.6.9/mu/test-mu-cmd.cc 2021-10-24 13:42:01.000000000 +0200
@@ -495,8 +495,6 @@
if (g_test_verbose ())
g_print ("$ %s\n", cmdline);
- return; // XXX fix tests
-
/* now, it should fail, because we don't allow overwrites
* without --overwrite */
g_assert (g_spawn_command_line_sync (cmdline, &output, &erroutput,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/mu4e-meta.el new/mu-1.6.9/mu4e/mu4e-meta.el
--- old/mu-1.6.5/mu4e/mu4e-meta.el 2021-08-26 21:22:37.000000000 +0200
+++ new/mu-1.6.9/mu4e/mu4e-meta.el 2021-10-24 13:44:48.000000000 +0200
@@ -1,5 +1,5 @@
;; auto-generated
-(defconst mu4e-mu-version "1.6.5"
+(defconst mu4e-mu-version "1.6.9"
"Required mu binary version; mu4e's version must agree with this.")
(defconst mu4e-builddir "/home/djcb/Sources/mu"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/mu4e-view-common.el new/mu-1.6.9/mu4e/mu4e-view-common.el
--- old/mu-1.6.5/mu4e/mu4e-view-common.el 2021-08-15 16:27:37.000000000 +0200
+++ new/mu-1.6.9/mu4e/mu4e-view-common.el 2021-10-24 13:42:01.000000000 +0200
@@ -549,6 +549,7 @@
keymap ,mu4e-view-active-urls-keymap
help-echo
"[mouse-1] or [M-RET] to open the link"))
+ (overlay-put ov 'mu4e-overlay t)
(overlay-put ov 'after-string
(propertize (format "\u200B[%d]" num)
'face 'mu4e-url-number-face)))))))))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/mu4e-view-gnus.el new/mu-1.6.9/mu4e/mu4e-view-gnus.el
--- old/mu-1.6.5/mu4e/mu4e-view-gnus.el 2021-08-26 21:00:35.000000000 +0200
+++ new/mu-1.6.9/mu4e/mu4e-view-gnus.el 2021-10-24 13:42:01.000000000 +0200
@@ -54,6 +54,7 @@
(kill-buffer gnus-article-buffer))
(with-current-buffer (get-buffer-create gnus-article-buffer)
(let ((inhibit-read-only t))
+ (remove-overlays (point-min) (point-max) 'mu4e-overlay t)
(erase-buffer)
(insert-file-contents-literally
(mu4e-message-field msg :path) nil nil nil t)))
@@ -490,7 +491,10 @@
#'completing-read-multiple))
dir)
(dolist (part parts)
- (let ((fname (cdr (assoc 'filename (assoc "attachment" (cdr part))))))
+ (let ((fname (or (cdr (assoc 'filename (assoc "attachment" (cdr part))))
+ (cl-loop for item in part
+ for name = (and (listp item) (assoc-default 'name item))
+ thereis (and (stringp name) name)))))
(when fname
(push `(,fname . ,(cdr part)) handles)
(push fname files))))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/mu4e.info new/mu-1.6.9/mu4e/mu4e.info
--- old/mu-1.6.5/mu4e/mu4e.info 2021-08-26 21:22:40.000000000 +0200
+++ new/mu-1.6.9/mu4e/mu4e.info 2021-10-24 13:44:52.000000000 +0200
@@ -1,4 +1,4 @@
-This is mu4e.info, produced by makeinfo version 6.7 from mu4e.texi.
+This is mu4e.info, produced by makeinfo version 6.8 from mu4e.texi.
Copyright �� 2012-2020 Dirk-Jan C. Binnema
@@ -19,7 +19,7 @@
mu4e manual
***********
-Welcome to mu4e 1.6.5.
+Welcome to mu4e 1.6.9.
mu4e (mu-for-emacs) is an e-mail client for GNU Emacs version 24.4 or
higher, built on top of the mu(1) e-mail search engine. mu4e is
@@ -452,8 +452,7 @@
command:
$ mu init --maildir=~/Maildir
- Optionally, you can add some e-mail addresses, so mu recognizes them
-as yours:
+ You can add some e-mail addresses, so mu recognizes them as yours:
$ mu init --maildir=~/Maildir --my-address=jim(a)example.com --my-address=bob(a)example.com
@@ -461,6 +460,11 @@
indexing messages. If you want to change them, you need to init once
again.
+ The addresses can also be basic POSIX regular expressions, wrapped in
+slashes, for example:
+
+ $ mu init --maildir=~/Maildir '--my-address=/foo-.*(a)example\.com/'
+
If you want to see the current values, you can use ���mu info���.
@@ -5687,149 +5691,149 @@
Node: Getting mail14394
Ref: Getting mail-Footnote-115596
Node: Initializing the message store15767
-Node: Indexing your messages16720
-Node: Basic configuration18236
-Node: Folders18856
-Ref: Folders-Footnote-119659
-Node: Retrieval and indexing19938
-Node: Sending mail24326
-Node: Running mu4e26549
-Node: Main view27596
-Node: MV Overview28125
-Node: Basic actions29283
-Node: MV Bookmarks30136
-Node: Miscellaneous31509
-Node: Headers view32384
-Node: HV Overview33144
-Ref: HV Overview-Footnote-137466
-Ref: HV Overview-Footnote-237557
-Ref: HV Overview-Footnote-337664
-Node: Keybindings37764
-Node: HV Marking39814
-Node: Sorting and threading40977
-Ref: Sorting and threading-Footnote-142553
-Node: HV Custom headers42644
-Node: HV Actions44827
-Node: Split view45537
-Node: Message view46973
-Node: MSGV Overview47809
-Node: MSGV Keybindings49008
-Node: MSGV Rich-text and images51552
-Node: MSGV Custom headers54143
-Node: MSGV Actions54679
-Node: Editor view55436
-Node: EV Overview56235
-Node: EV Keybindings56650
-Node: Address autocompletion57306
-Ref: Address autocompletion-Footnote-159408
-Node: Compose hooks59453
-Node: Signing and encrypting62756
-Node: Queuing mail63770
-Node: Message signatures65064
-Node: Other settings65698
-Node: Searching66430
-Node: Queries67395
-Ref: Queries-Footnote-170504
-Node: Bookmarks70618
-Ref: Bookmarks-Footnote-174777
-Node: Maildir searches74820
-Node: Other search functionality77323
-Ref: Including related messages79227
-Ref: Skipping duplicates79846
-Node: Marking80435
-Node: Marking messages81270
-Node: What to mark for82062
-Ref: What to mark for-Footnote-183639
-Ref: What to mark for-Footnote-283736
-Node: Executing the marks83932
-Node: Trashing messages84378
-Node: Leaving the headers buffer85002
-Node: Built-in marking functions85435
-Node: Custom mark functions85991
-Node: Adding a new kind of mark88340
-Node: Contexts91540
-Node: What are contexts92707
-Node: Context policies94359
-Node: Contexts and special folders95832
-Node: Contexts example97228
-Node: Dynamic folders102101
-Node: Smart refiling103368
-Ref: Smart refiling-Footnote-1105901
-Node: Other dynamic folders105946
-Node: Actions107214
-Node: Defining actions108109
-Ref: Defining actions-Footnote-1109385
-Ref: Defining actions-Footnote-2109561
-Node: Headers view actions109748
-Node: Message view actions110678
-Node: Attachment actions111512
-Node: Example actions112297
-Node: Extending mu4e112688
-Node: Extension points113219
-Node: Available functions115011
-Node: Message functions115922
-Node: Contact functions119038
-Node: Utility functions120276
-Node: Old message view121498
-Ref: Old message view-Footnote-1122919
-Node: OMSGV Overview122969
-Node: OMSGV Keybindings125215
-Node: Attachments128076
-Ref: Attachments-Footnote-1129514
-Ref: Attachments-Footnote-2129577
-Node: Viewing images inline129685
-Ref: Viewing images inline-Footnote-1130513
-Node: Displaying rich-text messages130551
-Ref: Html2text functions133209
-Ref: Privacy aspects133964
-Ref: Displaying rich-text messages-Footnote-1134303
-Ref: Displaying rich-text messages-Footnote-2134468
-Node: OMSGV Crypto134510
-Ref: Decryption135599
-Ref: Verifying signatures136316
-Node: OMSGV Custom headers137321
-Node: OMSGV Actions137867
-Node: Other tools139730
-Node: Emacs default140466
-Node: Org-mode links141094
-Node: Org-contacts143899
-Ref: Org-contacts-Footnote-1144980
-Node: BBDB145054
-Ref: BBDB-Footnote-1146424
-Node: iCalendar146477
-Node: Sauron149725
-Ref: Sauron-Footnote-1151263
-Node: Speedbar151433
-Node: Dired152320
-Node: Hydra152836
-Ref: Hydra-Footnote-1153938
-Node: iCalendar Integration153981
-Node: Example configs154977
-Node: Minimal configuration155520
-Node: Longer configuration156731
-Node: Gmail configuration159427
-Node: CONF Other settings164806
-Node: FAQ165351
-Node: General165871
-Ref: mu-mu4e-differ166064
-Node: Retrieving mail170775
-Ref: Retrieving mail-Footnote-1174441
-Node: Reading messages174474
-Node: Writing messages180070
-Node: Known issues188624
-Node: Tips and Tricks189758
-Node: Fancy characters190145
-Node: Refiling messages191161
-Node: Saving outgoing messages194759
-Node: Confirmation before sending197293
-Node: How it works197897
-Node: High-level overview198398
-Node: mu server199898
-Node: Reading from the server200923
-Node: The message s-expression203279
-Ref: The message s-expression-Footnote-1206504
-Node: Debugging206691
-Node: GNU Free Documentation License207730
+Node: Indexing your messages16879
+Node: Basic configuration18395
+Node: Folders19015
+Ref: Folders-Footnote-119818
+Node: Retrieval and indexing20097
+Node: Sending mail24485
+Node: Running mu4e26708
+Node: Main view27755
+Node: MV Overview28284
+Node: Basic actions29442
+Node: MV Bookmarks30295
+Node: Miscellaneous31668
+Node: Headers view32543
+Node: HV Overview33303
+Ref: HV Overview-Footnote-137625
+Ref: HV Overview-Footnote-237716
+Ref: HV Overview-Footnote-337823
+Node: Keybindings37923
+Node: HV Marking39973
+Node: Sorting and threading41136
+Ref: Sorting and threading-Footnote-142712
+Node: HV Custom headers42803
+Node: HV Actions44986
+Node: Split view45696
+Node: Message view47132
+Node: MSGV Overview47968
+Node: MSGV Keybindings49167
+Node: MSGV Rich-text and images51711
+Node: MSGV Custom headers54302
+Node: MSGV Actions54838
+Node: Editor view55595
+Node: EV Overview56394
+Node: EV Keybindings56809
+Node: Address autocompletion57465
+Ref: Address autocompletion-Footnote-159567
+Node: Compose hooks59612
+Node: Signing and encrypting62915
+Node: Queuing mail63929
+Node: Message signatures65223
+Node: Other settings65857
+Node: Searching66589
+Node: Queries67554
+Ref: Queries-Footnote-170663
+Node: Bookmarks70777
+Ref: Bookmarks-Footnote-174936
+Node: Maildir searches74979
+Node: Other search functionality77482
+Ref: Including related messages79386
+Ref: Skipping duplicates80005
+Node: Marking80594
+Node: Marking messages81429
+Node: What to mark for82221
+Ref: What to mark for-Footnote-183798
+Ref: What to mark for-Footnote-283895
+Node: Executing the marks84091
+Node: Trashing messages84537
+Node: Leaving the headers buffer85161
+Node: Built-in marking functions85594
+Node: Custom mark functions86150
+Node: Adding a new kind of mark88499
+Node: Contexts91699
+Node: What are contexts92866
+Node: Context policies94518
+Node: Contexts and special folders95991
+Node: Contexts example97387
+Node: Dynamic folders102260
+Node: Smart refiling103527
+Ref: Smart refiling-Footnote-1106060
+Node: Other dynamic folders106105
+Node: Actions107373
+Node: Defining actions108268
+Ref: Defining actions-Footnote-1109544
+Ref: Defining actions-Footnote-2109720
+Node: Headers view actions109907
+Node: Message view actions110837
+Node: Attachment actions111671
+Node: Example actions112456
+Node: Extending mu4e112847
+Node: Extension points113378
+Node: Available functions115170
+Node: Message functions116081
+Node: Contact functions119197
+Node: Utility functions120435
+Node: Old message view121657
+Ref: Old message view-Footnote-1123078
+Node: OMSGV Overview123128
+Node: OMSGV Keybindings125374
+Node: Attachments128235
+Ref: Attachments-Footnote-1129673
+Ref: Attachments-Footnote-2129736
+Node: Viewing images inline129844
+Ref: Viewing images inline-Footnote-1130672
+Node: Displaying rich-text messages130710
+Ref: Html2text functions133368
+Ref: Privacy aspects134123
+Ref: Displaying rich-text messages-Footnote-1134462
+Ref: Displaying rich-text messages-Footnote-2134627
+Node: OMSGV Crypto134669
+Ref: Decryption135758
+Ref: Verifying signatures136475
+Node: OMSGV Custom headers137480
+Node: OMSGV Actions138026
+Node: Other tools139889
+Node: Emacs default140625
+Node: Org-mode links141253
+Node: Org-contacts144058
+Ref: Org-contacts-Footnote-1145139
+Node: BBDB145213
+Ref: BBDB-Footnote-1146583
+Node: iCalendar146636
+Node: Sauron149884
+Ref: Sauron-Footnote-1151422
+Node: Speedbar151592
+Node: Dired152479
+Node: Hydra152995
+Ref: Hydra-Footnote-1154097
+Node: iCalendar Integration154140
+Node: Example configs155136
+Node: Minimal configuration155679
+Node: Longer configuration156890
+Node: Gmail configuration159586
+Node: CONF Other settings164965
+Node: FAQ165510
+Node: General166030
+Ref: mu-mu4e-differ166223
+Node: Retrieving mail170934
+Ref: Retrieving mail-Footnote-1174600
+Node: Reading messages174633
+Node: Writing messages180229
+Node: Known issues188783
+Node: Tips and Tricks189917
+Node: Fancy characters190304
+Node: Refiling messages191320
+Node: Saving outgoing messages194918
+Node: Confirmation before sending197452
+Node: How it works198056
+Node: High-level overview198557
+Node: mu server200057
+Node: Reading from the server201082
+Node: The message s-expression203438
+Ref: The message s-expression-Footnote-1206663
+Node: Debugging206850
+Node: GNU Free Documentation License207889
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/mu4e.texi new/mu-1.6.9/mu4e/mu4e.texi
--- old/mu-1.6.5/mu4e/mu4e.texi 2021-08-15 16:27:37.000000000 +0200
+++ new/mu-1.6.9/mu4e/mu4e.texi 2021-10-24 13:42:01.000000000 +0200
@@ -441,8 +441,7 @@
$ mu init --maildir=~/Maildir
@end example
-Optionally, you can add some e-mail addresses, so @t{mu} recognizes
-them as yours:
+You can add some e-mail addresses, so @t{mu} recognizes them as yours:
@example
$ mu init --maildir=~/Maildir --my-address=jim@@example.com --my-address=bob@@example.com
@@ -452,6 +451,13 @@
indexing messages. If you want to change them, you need to @t{init}
once again.
+The addresses can also be basic POSIX regular expressions, wrapped in
+slashes, for example:
+
+@example
+ $ mu init --maildir=~/Maildir '--my-address=/foo-.*@@example\.com/'
+@end example
+
If you want to see the current values, you can use @command{mu info}.
@node Indexing your messages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/stamp-vti new/mu-1.6.9/mu4e/stamp-vti
--- old/mu-1.6.5/mu4e/stamp-vti 2021-08-26 21:22:39.000000000 +0200
+++ new/mu-1.6.9/mu4e/stamp-vti 2021-10-24 13:44:51.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 15 August 2021
-@set UPDATED-MONTH August 2021
-@set EDITION 1.6.5
-@set VERSION 1.6.5
+@set UPDATED 24 October 2021
+@set UPDATED-MONTH October 2021
+@set EDITION 1.6.9
+@set VERSION 1.6.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.6.5/mu4e/version.texi new/mu-1.6.9/mu4e/version.texi
--- old/mu-1.6.5/mu4e/version.texi 2021-08-26 21:22:39.000000000 +0200
+++ new/mu-1.6.9/mu4e/version.texi 2021-10-24 13:44:51.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 15 August 2021
-@set UPDATED-MONTH August 2021
-@set EDITION 1.6.5
-@set VERSION 1.6.5
+@set UPDATED 24 October 2021
+@set UPDATED-MONTH October 2021
+@set EDITION 1.6.9
+@set VERSION 1.6.9
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kakoune for openSUSE:Factory checked in at 2021-11-03 17:26:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kakoune (Old)
and /work/SRC/openSUSE:Factory/.kakoune.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kakoune"
Wed Nov 3 17:26:23 2021 rev:20 rq:928955 version:2021.10.28
Changes:
--------
--- /work/SRC/openSUSE:Factory/kakoune/kakoune.changes 2021-08-30 13:55:44.889863979 +0200
+++ /work/SRC/openSUSE:Factory/.kakoune.new.1890/kakoune.changes 2021-11-03 17:27:18.809371600 +0100
@@ -1,0 +2,8 @@
+Wed Nov 3 08:06:58 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 2021.10.28:
+ * g and v do not auto lower case the next key, so GL needs to be
+ manually mapped to Gl for example.
+ * Fix flickering issues on some terminals such as the linux console
+
+-------------------------------------------------------------------
Old:
----
kakoune-2021.08.28.tar.bz2
New:
----
kakoune-2021.10.28.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kakoune.spec ++++++
--- /var/tmp/diff_new_pack.alR803/_old 2021-11-03 17:27:19.213371820 +0100
+++ /var/tmp/diff_new_pack.alR803/_new 2021-11-03 17:27:19.213371820 +0100
@@ -17,7 +17,7 @@
Name: kakoune
-Version: 2021.08.28
+Version: 2021.10.28
Release: 0
Summary: A code editor heavily inspired by Vim
License: Unlicense
++++++ kakoune-2021.08.28.tar.bz2 -> kakoune-2021.10.28.tar.bz2 ++++++
++++ 3747 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jsonpath-ng for openSUSE:Factory checked in at 2021-11-03 17:26:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonpath-ng (Old)
and /work/SRC/openSUSE:Factory/.python-jsonpath-ng.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonpath-ng"
Wed Nov 3 17:26:22 2021 rev:2 rq:928964 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonpath-ng/python-jsonpath-ng.changes 2021-05-01 00:46:56.079388938 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpath-ng.new.1890/python-jsonpath-ng.changes 2021-11-03 17:27:18.205371269 +0100
@@ -1,0 +2,12 @@
+Wed Nov 3 08:28:31 UTC 2021 - pgajdos(a)suse.com
+
+- version update to 1.5.2
+ * Merge pull request #41 from josephwhite13/allow-dictionary-filtering
+ * Merge pull request #48 from back2root/master
+ * Check for null value.
+ * Merge pull request #40 from memborsky/add-regular-expression-contains-support
+ * feat: support regular expression for performing contains (=~) filtering
+ * if datum.value is a dictionary, filter on the list of values
+- %check: use python -m pytest instead of setup.py test
+
+-------------------------------------------------------------------
Old:
----
jsonpath-ng-1.5.1.tar.gz
New:
----
jsonpath-ng-1.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonpath-ng.spec ++++++
--- /var/tmp/diff_new_pack.wNIkJF/_old 2021-11-03 17:27:18.601371486 +0100
+++ /var/tmp/diff_new_pack.wNIkJF/_new 2021-11-03 17:27:18.601371486 +0100
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsonpath-ng
-Version: 1.5.1
+Version: 1.5.2
Release: 0
Summary: JSONPath for Python
License: Apache-2.0
@@ -72,7 +72,7 @@
if [[ ! -d %{buildroot}%{$python_sitelib}/oslotest ]]; then
rm tests/test_jsonpath_rw_ext.py
fi
-$python setup.py test
+$python -m pytest
}
%files %{python_files}
++++++ jsonpath-ng-1.5.1.tar.gz -> jsonpath-ng-1.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-ng-1.5.1/History.md new/jsonpath-ng-1.5.2/History.md
--- old/jsonpath-ng-1.5.1/History.md 2020-03-09 13:44:58.000000000 +0100
+++ new/jsonpath-ng-1.5.2/History.md 2020-09-07 15:37:49.000000000 +0200
@@ -1,4 +1,14 @@
+v1.5.2 / 2020-09-07
+===================
+
+ * Merge pull request #41 from josephwhite13/allow-dictionary-filtering
+ * Merge pull request #48 from back2root/master
+ * Check for null value.
+ * Merge pull request #40 from memborsky/add-regular-expression-contains-support
+ * feat: support regular expression for performing contains (=~) filtering
+ * if datum.value is a dictionary, filter on the list of values
+
1.5.1 / 2020-03-09
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-ng-1.5.1/jsonpath_ng/__init__.py new/jsonpath-ng-1.5.2/jsonpath_ng/__init__.py
--- old/jsonpath-ng-1.5.1/jsonpath_ng/__init__.py 2020-03-09 13:44:58.000000000 +0100
+++ new/jsonpath-ng-1.5.2/jsonpath_ng/__init__.py 2020-09-07 15:37:49.000000000 +0200
@@ -3,4 +3,4 @@
# Current package version
-__version__ = '1.5.1'
+__version__ = '1.5.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-ng-1.5.1/jsonpath_ng/ext/filter.py new/jsonpath-ng-1.5.2/jsonpath_ng/ext/filter.py
--- old/jsonpath-ng-1.5.1/jsonpath_ng/ext/filter.py 2020-03-09 13:44:58.000000000 +0100
+++ new/jsonpath-ng-1.5.2/jsonpath_ng/ext/filter.py 2020-09-07 15:37:49.000000000 +0200
@@ -12,6 +12,7 @@
# under the License.
import operator
+import re
from six import moves
from .. import JSONPath, DatumInContext, Index
@@ -25,7 +26,7 @@
'<': operator.lt,
'>=': operator.ge,
'>': operator.gt,
- '=~': operator.contains,
+ '=~': lambda a, b: True if re.search(b, a) else False,
}
@@ -40,6 +41,10 @@
return datum
datum = DatumInContext.wrap(datum)
+
+ if isinstance(datum.value, dict):
+ datum.value = list(datum.value.values())
+
if not isinstance(datum.value, list):
return []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-ng-1.5.1/jsonpath_ng/jsonpath.py new/jsonpath-ng-1.5.2/jsonpath_ng/jsonpath.py
--- old/jsonpath-ng-1.5.1/jsonpath_ng/jsonpath.py 2020-03-09 13:44:58.000000000 +0100
+++ new/jsonpath-ng-1.5.2/jsonpath_ng/jsonpath.py 2020-09-07 15:37:49.000000000 +0200
@@ -521,19 +521,21 @@
if field_datum is not None]
def update(self, data, val):
- for field in self.reified_fields(DatumInContext.wrap(data)):
- if field in data:
- if hasattr(val, '__call__'):
- val(data[field], data, field)
- else:
- data[field] = val
+ if data is not None:
+ for field in self.reified_fields(DatumInContext.wrap(data)):
+ if field in data:
+ if hasattr(val, '__call__'):
+ val(data[field], data, field)
+ else:
+ data[field] = val
return data
def filter(self, fn, data):
- for field in self.reified_fields(DatumInContext.wrap(data)):
- if field in data:
- if fn(data[field]):
- data.pop(field)
+ if data is not None:
+ for field in self.reified_fields(DatumInContext.wrap(data)):
+ if field in data:
+ if fn(data[field]):
+ data.pop(field)
return data
def __str__(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-ng-1.5.1/setup.py new/jsonpath-ng-1.5.2/setup.py
--- old/jsonpath-ng-1.5.1/setup.py 2020-03-09 13:44:58.000000000 +0100
+++ new/jsonpath-ng-1.5.2/setup.py 2020-09-07 15:37:49.000000000 +0200
@@ -4,7 +4,7 @@
setuptools.setup(
name='jsonpath-ng',
- version='1.5.1',
+ version='1.5.2',
description=(
'A final implementation of JSONPath for Python that aims to be '
'standard compliant, including arithmetic and binary comparison '
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-osc-tiny for openSUSE:Factory checked in at 2021-11-03 17:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-osc-tiny (Old)
and /work/SRC/openSUSE:Factory/.python-osc-tiny.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-osc-tiny"
Wed Nov 3 17:26:21 2021 rev:10 rq:928959 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-osc-tiny/python-osc-tiny.changes 2021-03-02 12:46:10.284392588 +0100
+++ /work/SRC/openSUSE:Factory/.python-osc-tiny.new.1890/python-osc-tiny.changes 2021-11-03 17:27:17.481370874 +0100
@@ -1,0 +2,11 @@
+Wed Sep 22 10:45:07 UTC 2021 - Andreas Hasenkopf <ahasenkopf(a)suse.com>
+
+- Release 0.4.1
+ * Bugfix for configuration utilities
+
+- Release 0.4.0
+ * Added support to parse `osc` configuration
+ * Bugfix for `origin` extension
+
+
+-------------------------------------------------------------------
Old:
----
osc-tiny-0.3.3.tar.gz
New:
----
osc-tiny-0.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-osc-tiny.spec ++++++
--- /var/tmp/diff_new_pack.ZIVeAq/_old 2021-11-03 17:27:17.921371114 +0100
+++ /var/tmp/diff_new_pack.ZIVeAq/_new 2021-11-03 17:27:17.925371116 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-osc-tiny
-Version: 0.3.3
+Version: 0.4.1
Release: 0
Summary: Client API for openSUSE BuildService
License: MIT
++++++ osc-tiny-0.3.3.tar.gz -> osc-tiny-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/PKG-INFO new/osc-tiny-0.4.1/PKG-INFO
--- old/osc-tiny-0.3.3/PKG-INFO 2021-02-24 11:35:58.000000000 +0100
+++ new/osc-tiny-0.4.1/PKG-INFO 2021-09-22 11:55:15.028164000 +0200
@@ -1,58 +1,12 @@
Metadata-Version: 2.1
Name: osc-tiny
-Version: 0.3.3
+Version: 0.4.1
Summary: Client API for openSUSE BuildService
Home-page: http://github.com/crazyscientist/osc-tiny
Author: Andreas Hasenkopf
Author-email: ahasenkopf(a)suse.com
License: MIT
Download-URL: http://github.com/crazyscientist/osc-tiny/tarball/master
-Description: OSC Tiny
- ========
-
- [![Build Status](https://travis-ci.com/crazyscientist/osc-tiny.svg?branch=master)](h…
- [![Coverage Status](https://coveralls.io/repos/github/crazyscientist/osc-tiny/badge.svg)](https://coveralls.io/github/crazyscientist/osc-tiny)
- [![PyPI version](https://badge.fury.io/py/osc-tiny.svg)](https://badge.fury.io/py/osc-tiny)
-
- This project aims to provide a minimalistic and transparent client for accessing
- the [OpenBuildService](https://openbuildservice.org/)
- [API](https://build.opensuse.org/apidocs/index).
-
- Usage
- -----
-
- This is a very basic example:
-
- ```python
- from osctiny import Osc
-
- osc = Osc(
- url="https://api.opensuse.org",
- username="foobar",
- password="helloworld",
- )
-
- # This returns an LXML object
- osc.requests.get(request_id=1)
-
- # This returns an LXML object
- osc.search.request(xpath="state/@name='new'")
- ```
-
- For more documentation see https://osc-tiny.readthedocs.io/en/latest/
-
- Contributing
- ------------
-
- Any contributions are welcome.
-
- Links
- -----
-
- * https://osc-tiny.readthedocs.io/en/latest/
- * https://openbuildservice.org/
- * https://build.opensuse.org/apidocs/index
-
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
@@ -64,3 +18,52 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
+License-File: LICENSE
+
+OSC Tiny
+========
+
+[![Build Status](https://travis-ci.com/crazyscientist/osc-tiny.svg?branch=master)](h…
+[![Coverage Status](https://coveralls.io/repos/github/crazyscientist/osc-tiny/badge.svg)](https://coveralls.io/github/crazyscientist/osc-tiny)
+[![PyPI version](https://badge.fury.io/py/osc-tiny.svg)](https://badge.fury.io/py/osc-tiny)
+
+This project aims to provide a minimalistic and transparent client for accessing
+the [OpenBuildService](https://openbuildservice.org/)
+[API](https://build.opensuse.org/apidocs/index).
+
+Usage
+-----
+
+This is a very basic example:
+
+```python
+from osctiny import Osc
+
+osc = Osc(
+ url="https://api.opensuse.org",
+ username="foobar",
+ password="helloworld",
+)
+
+# This returns an LXML object
+osc.requests.get(request_id=1)
+
+# This returns an LXML object
+osc.search.request(xpath="state/@name='new'")
+```
+
+For more documentation see https://osc-tiny.readthedocs.io/en/latest/
+
+Contributing
+------------
+
+Any contributions are welcome.
+
+Links
+-----
+
+* https://osc-tiny.readthedocs.io/en/latest/
+* https://openbuildservice.org/
+* https://build.opensuse.org/apidocs/index
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osc_tiny.egg-info/PKG-INFO new/osc-tiny-0.4.1/osc_tiny.egg-info/PKG-INFO
--- old/osc-tiny-0.3.3/osc_tiny.egg-info/PKG-INFO 2021-02-24 11:35:58.000000000 +0100
+++ new/osc-tiny-0.4.1/osc_tiny.egg-info/PKG-INFO 2021-09-22 11:55:15.000000000 +0200
@@ -1,58 +1,12 @@
Metadata-Version: 2.1
Name: osc-tiny
-Version: 0.3.3
+Version: 0.4.1
Summary: Client API for openSUSE BuildService
Home-page: http://github.com/crazyscientist/osc-tiny
Author: Andreas Hasenkopf
Author-email: ahasenkopf(a)suse.com
License: MIT
Download-URL: http://github.com/crazyscientist/osc-tiny/tarball/master
-Description: OSC Tiny
- ========
-
- [![Build Status](https://travis-ci.com/crazyscientist/osc-tiny.svg?branch=master)](h…
- [![Coverage Status](https://coveralls.io/repos/github/crazyscientist/osc-tiny/badge.svg)](https://coveralls.io/github/crazyscientist/osc-tiny)
- [![PyPI version](https://badge.fury.io/py/osc-tiny.svg)](https://badge.fury.io/py/osc-tiny)
-
- This project aims to provide a minimalistic and transparent client for accessing
- the [OpenBuildService](https://openbuildservice.org/)
- [API](https://build.opensuse.org/apidocs/index).
-
- Usage
- -----
-
- This is a very basic example:
-
- ```python
- from osctiny import Osc
-
- osc = Osc(
- url="https://api.opensuse.org",
- username="foobar",
- password="helloworld",
- )
-
- # This returns an LXML object
- osc.requests.get(request_id=1)
-
- # This returns an LXML object
- osc.search.request(xpath="state/@name='new'")
- ```
-
- For more documentation see https://osc-tiny.readthedocs.io/en/latest/
-
- Contributing
- ------------
-
- Any contributions are welcome.
-
- Links
- -----
-
- * https://osc-tiny.readthedocs.io/en/latest/
- * https://openbuildservice.org/
- * https://build.opensuse.org/apidocs/index
-
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
@@ -64,3 +18,52 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
+License-File: LICENSE
+
+OSC Tiny
+========
+
+[![Build Status](https://travis-ci.com/crazyscientist/osc-tiny.svg?branch=master)](h…
+[![Coverage Status](https://coveralls.io/repos/github/crazyscientist/osc-tiny/badge.svg)](https://coveralls.io/github/crazyscientist/osc-tiny)
+[![PyPI version](https://badge.fury.io/py/osc-tiny.svg)](https://badge.fury.io/py/osc-tiny)
+
+This project aims to provide a minimalistic and transparent client for accessing
+the [OpenBuildService](https://openbuildservice.org/)
+[API](https://build.opensuse.org/apidocs/index).
+
+Usage
+-----
+
+This is a very basic example:
+
+```python
+from osctiny import Osc
+
+osc = Osc(
+ url="https://api.opensuse.org",
+ username="foobar",
+ password="helloworld",
+)
+
+# This returns an LXML object
+osc.requests.get(request_id=1)
+
+# This returns an LXML object
+osc.search.request(xpath="state/@name='new'")
+```
+
+For more documentation see https://osc-tiny.readthedocs.io/en/latest/
+
+Contributing
+------------
+
+Any contributions are welcome.
+
+Links
+-----
+
+* https://osc-tiny.readthedocs.io/en/latest/
+* https://openbuildservice.org/
+* https://build.opensuse.org/apidocs/index
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osc_tiny.egg-info/SOURCES.txt new/osc-tiny-0.4.1/osc_tiny.egg-info/SOURCES.txt
--- old/osc-tiny-0.3.3/osc_tiny.egg-info/SOURCES.txt 2021-02-24 11:35:58.000000000 +0100
+++ new/osc-tiny-0.4.1/osc_tiny.egg-info/SOURCES.txt 2021-09-22 11:55:15.000000000 +0200
@@ -37,9 +37,12 @@
osctiny/tests/test_requests.py
osctiny/tests/test_search.py
osctiny/tests/test_utils.py
+osctiny/tests/osc/__init__.py
+osctiny/tests/osc/conf.py
osctiny/utils/__init__.py
osctiny/utils/backports.py
osctiny/utils/base.py
osctiny/utils/changelog.py
+osctiny/utils/conf.py
osctiny/utils/errors.py
osctiny/utils/mapping.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/__init__.py new/osc-tiny-0.4.1/osctiny/__init__.py
--- old/osc-tiny-0.3.3/osctiny/__init__.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/__init__.py 2021-09-22 11:55:07.000000000 +0200
@@ -6,4 +6,4 @@
__all__ = ['Osc', 'bs_requests', 'buildresults', 'comments', 'packages',
'projects', 'search', 'users']
-__version__ = "0.3.3"
+__version__ = "0.4.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/extensions/origin.py new/osc-tiny-0.4.1/osctiny/extensions/origin.py
--- old/osc-tiny-0.3.3/osctiny/extensions/origin.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/extensions/origin.py 2021-09-22 11:55:07.000000000 +0200
@@ -25,7 +25,6 @@
import re
from warnings import warn
-from lxml.objectify import ObjectifiedElement
from yaml import load
from ..utils.backports import lru_cache
@@ -280,10 +279,15 @@
This project is important, because it's meta can provide the list of maintained projects.
- :return: Objectified XML element or ``None``
- :rtype: lxml.objectify.ObjectifiedElement
+ :return: Project name or ``None``
+ :rtype: str or None
+
+ .. versionchanged:: 0.4.0
+
+ Return string instead of XML object
"""
- response = self.osc.search.project(xpath="attribute/@name='OBS:MaintenanceProject'")
+ response = self.osc.search.search(path="project/id",
+ xpath="attribute/@name='OBS:MaintenanceProject'")
projects = getattr(response, "project", [])
if len(projects) < 1:
warn("The build service defines no maintenance projects!")
@@ -291,25 +295,26 @@
if len(projects) > 1:
warn("The build service defines multiple maintenance projects!")
- return projects[0]
+ return projects[0].get("name")
@cached_property
- def maintained_projects(self, from_project=None):
+ def maintained_projects(self):
"""
Get the list of maintained projects
- By default this property uses :py:meth:`maintenance_project` and allows usage of a specified
- ``from_project`` instead.
+ Maintained projects are identified by the presence of the ``OBS:Maintained`` attribute.
+
+ :return: Project names
+ :rtype: List of str
- :param from_project: The maintenance project to query
- :return: Objectified XML element
- :rtype: lxml.objectify.ObjectifiedElement
- """
- from_project = from_project or self.maintenance_project
- if not isinstance(from_project, ObjectifiedElement):
- from_project = self.osc.projects.get_meta(project=from_project)
+ .. versionchanged:: 0.4.0
- return [m.get("project") for m in from_project.xpath("maintenance/maintains")]
+ Search maintained projects via the ``OBS:Maintained`` attribute and not via the
+ maintenance project.
+ """
+ response = self.osc.search.search(path="project/id",
+ xpath="attribute/@name='OBS:Maintained'")
+ return [project.get("name") for project in getattr(response, "project", [])]
@lru_cache(maxsize=16)
def get_project_origin_config(self, project):
@@ -529,6 +534,10 @@
:return: Generator of pairs: ('pkg', 'origin')
:rtype: generator
"""
+ if project not in self.expanded_origins:
+ warn("Project {} has no origin definition".format(project))
+ return
+
packages = self.osc.projects.get_files(project, expand='1')
for package in getattr(packages, "entry", []):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/osc.py new/osc-tiny-0.4.1/osctiny/osc.py
--- old/osc-tiny-0.3.3/osctiny/osc.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/osc.py 2021-09-22 11:55:07.000000000 +0200
@@ -26,6 +26,8 @@
from .extensions.bs_requests import Request as BsRequest
from .extensions.search import Search
from .extensions.users import Group, Person
+from .utils.conf import get_credentials
+from .utils.errors import OscError
try:
from cachecontrol import CacheControl
@@ -78,6 +80,7 @@
:param password: Password for login
:param verify: See `SSL Cert Verification`_ for more details
:param cache: Store API responses in a cache
+ :raises osctiny.errors.OscError: if no credentials are provided
.. versionadded:: 0.1.1
The ``cache`` parameter and the ``build`` extension
@@ -94,6 +97,9 @@
.. versionadded:: 0.3.0
The ``origins`` extension
+ .. versionchanged:: 0.4.0
+ Raises an exception when no credentials are provided
+
.. _SSL Cert Verification:
http://docs.python-requests.org/en/master/user/advanced/
#ssl-cert-verification
@@ -113,6 +119,13 @@
self.url = url or self.url
self.username = username or self.username
self.password = password or self.password
+
+ if not self.username and not self.password:
+ try:
+ self.username, self.password = get_credentials(self.url)
+ except (ValueError, NotImplementedError, FileNotFoundError) as error:
+ raise OscError from error
+
self._session = Session()
self._session.verify = verify or get_default_verify_paths().capath
self.auth = HTTPBasicAuth(self.username, self.password)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/tests/osc/__init__.py new/osc-tiny-0.4.1/osctiny/tests/osc/__init__.py
--- old/osc-tiny-0.3.3/osctiny/tests/osc/__init__.py 1970-01-01 01:00:00.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/tests/osc/__init__.py 2021-09-22 11:55:07.000000000 +0200
@@ -0,0 +1,5 @@
+"""
+Mocking of the `osc` package
+
+Without the presence of a dummy module like this one, mocking on Python 3.6 fails.
+"""
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/tests/test_origin.py new/osc-tiny-0.4.1/osctiny/tests/test_origin.py
--- old/osc-tiny-0.3.3/osctiny/tests/test_origin.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/tests/test_origin.py 2021-09-22 11:55:07.000000000 +0200
@@ -85,30 +85,29 @@
status = 200
body = """
<collection matches="1">
- <project name="openSUSE:Maintenance" kind="maintenance">
- <title>The openSUSE Maintenance project</title>
- <description/>
- <group groupid="maintenance-opensuse.org" role="maintainer"/>
- <maintenance>
- <maintains project="openSUSE:Leap:15.1:Update"/>
- <maintains project="openSUSE:Leap:15.2:Update"/>
- </maintenance>
- </project>
- </collection>
+ <project name="openSUSE:Maintenance"/>
+ </collection>
+ """
+ elif "OBS:Maintained" in "".join(params.get("match", [])):
+ status = 200
+ body = """
+ <collection matches="2">
+ <project name="openSUSE:Leap:15.1:Update"/>
+ <project name="openSUSE:Leap:15.2:Update"/>
+ </collection>
"""
return status, headers, body
self.mock_request(
method=responses.GET,
- url=re.compile(self.osc.url + "/search/project/?"),
+ url=re.compile(self.osc.url + "/search/project/id"),
callback=CallbackFactory(callback)
)
with self.subTest("Maintenance Project"):
maint_project = self.osc.origins.maintenance_project
- self.assertEqual(maint_project.get("name"), "openSUSE:Maintenance")
- self.assertEqual(maint_project.get("kind"), "maintenance")
+ self.assertEqual(maint_project, "openSUSE:Maintenance")
with self.subTest("Maintained Projects"):
self.assertEqual(self.osc.origins.maintained_projects,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/tests/test_utils.py new/osc-tiny-0.4.1/osctiny/tests/test_utils.py
--- old/osc-tiny-0.3.3/osctiny/tests/test_utils.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/tests/test_utils.py 2021-09-22 11:55:07.000000000 +0200
@@ -1,8 +1,12 @@
# -*- coding: utf-8 -*-
+from base64 import b64encode
+from bz2 import compress
from unittest import TestCase, mock
from datetime import datetime
from io import StringIO
-from os import remove
+import os
+from pathlib import Path
+import sys
from tempfile import mkstemp
from types import GeneratorType
@@ -10,7 +14,9 @@
from pytz import _UTC, timezone
from ..utils.changelog import ChangeLog, Entry
+from ..utils.conf import get_config_path, get_credentials
+sys.path.append(os.path.dirname(__file__))
SAMPLE_CHANGES = """
-------------------------------------------------------------------
@@ -167,7 +173,7 @@
self.assertIsInstance(cl.entries, list)
self.assertEqual(len(cl.entries), 2)
finally:
- remove(path)
+ os.remove(path)
def test_parse_generative(self):
with mock.patch("osctiny.utils.changelog.open",
@@ -309,3 +315,62 @@
self.assertEqual(wmock.call_count, 1)
self.assertIn("Cannot parse changelog entry", wmock.call_args[0][0])
+
+
+(a)mock.patch("osc.conf", side_effect=ImportError, create=True)
+(a)mock.patch("pathlib.Path.is_file", return_value=True)
+class TestConfig(TestCase):
+ def test_get_config_path(self, *_):
+ with self.subTest("No env vars"):
+ with mock.patch.dict(os.environ, values={}, clear=True):
+ self.assertEqual(Path.home().joinpath(".oscrc"), get_config_path())
+
+ with self.subTest("OSC_CONFIG"):
+ osc_config = "/foo/bar/oscrc"
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': osc_config}, clear=True):
+ self.assertEqual(Path(osc_config), get_config_path())
+
+ def test_get_credentials(self, *_):
+ _, path1 = mkstemp()
+ _, path2 = mkstemp()
+
+ expected_insecure_credentials = ("my-dummy-user", "my-insecure-dummy-password")
+ expected_secure_credentials = ('my-dummy-user', 'my-secure-dummy-password')
+
+ with open(path1, "w") as handle:
+ handle.write("[http://api.dummy-bs.org]\n")
+ handle.write("user={}\npass={}\n".format(*expected_insecure_credentials))
+
+ with open(path2, "w") as handle:
+ handle.write("[general]\n")
+ handle.write("apiurl=http://api.dummy-bs.org\n")
+ handle.write("[http://api.dummy-bs.org]\n")
+ handle.write("user={}\n".format(expected_secure_credentials[0]))
+ handle.write("passx={}\n".format(b64encode(compress(
+ expected_secure_credentials[1].encode("ascii")
+ )).decode("ascii")))
+
+ try:
+ with self.subTest("No URL, no default"):
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': path1}, clear=True):
+ self.assertRaises(ValueError, get_credentials)
+
+ with self.subTest("Wrong URL"):
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': path1}, clear=True):
+ self.assertRaises(ValueError, get_credentials, "http://google.de")
+
+ with self.subTest("Wrong scheme"):
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': path1}, clear=True):
+ self.assertRaises(ValueError, get_credentials, "https://api.dummy-bs.org")
+
+ with self.subTest("Correct URL"):
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': path1}, clear=True):
+ credentials = get_credentials("http://api.dummy-bs.org")
+ self.assertEqual(expected_insecure_credentials, credentials)
+
+ with self.subTest("No URL"):
+ with mock.patch.dict(os.environ, values={'OSC_CONFIG': path2}, clear=True):
+ self.assertEqual(expected_secure_credentials, get_credentials())
+ finally:
+ os.remove(path1)
+ os.remove(path2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/utils/changelog.py new/osc-tiny-0.4.1/osctiny/utils/changelog.py
--- old/osc-tiny-0.3.3/osctiny/utils/changelog.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/utils/changelog.py 2021-09-22 11:55:07.000000000 +0200
@@ -149,13 +149,13 @@
:param handle: An open and iterable (file) handle
:type handle: Any derived object of :py:class:`io.IOBase`
"""
- # pylint: disable=too-many-branches
+ # pylint: disable=too-many-branches,consider-using-with
entry = self.entry_factory()
if isinstance(handle, TextIOBase):
handle.seek(0)
elif isinstance(handle, (str, bytes)):
- handle = open(handle, "r")
+ handle = open(handle, "r") # pylint: disable=consider-using-with
else:
raise TypeError("Unexpected type for 'path': {}".format(
type(handle)))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/osctiny/utils/conf.py new/osc-tiny-0.4.1/osctiny/utils/conf.py
--- old/osc-tiny-0.3.3/osctiny/utils/conf.py 1970-01-01 01:00:00.000000000 +0100
+++ new/osc-tiny-0.4.1/osctiny/utils/conf.py 2021-09-22 11:55:07.000000000 +0200
@@ -0,0 +1,107 @@
+"""
+Configuration utilities
+^^^^^^^^^^^^^^^^^^^^^^^
+
+This module provides a collection of utilities to access the configuration of
+`osc <https://github.com/openSUSE/osc>`_ in order to make it easier to create command line tools
+with OSC Tiny.
+
+.. versionadded:: 0.4.0
+"""
+from base64 import b64decode
+from bz2 import decompress
+from configparser import ConfigParser, NoSectionError
+import os
+from pathlib import Path
+import warnings
+
+try:
+ from osc import conf as _conf
+except ImportError:
+ _conf = None
+
+
+def get_config_path():
+ """
+ Return path of ``osc`` configuration file
+
+ :return: Path
+ :raises FileNotFoundError: if no config file found
+ """
+ env_path = os.environ.get("OSC_CONFIG", None)
+ conf_path = os.environ.get('XDG_CONFIG_HOME', '~/.config')
+ if env_path:
+ path = Path(env_path)
+ if path.is_file():
+ return path
+
+ for path in (Path.home().joinpath(".oscrc"),
+ Path(conf_path).joinpath("osc/oscrc").expanduser()):
+ if path.is_file():
+ return path
+
+ raise FileNotFoundError("No `osc` configuration file found")
+
+
+def get_credentials(url=None):
+ """
+ Get credentials for Build Service instance identified by ``url``
+
+ .. important::
+
+ If the ``osc`` package is not installed, this function will only try to extract the username
+ and password from the configuration file.
+
+ Any credentials stored on a keyring will not be accessible!
+
+ :param str url: URL of Build Service instance (including schema). If not specified, the value
+ from the ``apiurl`` parameter in the config file will be used.
+ :return: (username, password)
+ :raises ValueError: if config provides no credentials
+ """
+ if _conf is not None:
+ # pylint: disable=protected-access
+ parser = _conf.get_configParser()
+ try:
+ if url is None:
+ url = parser["general"].get("apiurl", url)
+ cred_mgr = _conf._get_credentials_manager(url, parser)
+ username = _conf._extract_user_compat(parser, url, cred_mgr)
+ except (KeyError, NoSectionError) as error:
+ raise ValueError("`osc` config does not provide the default API URL") from error
+
+ if not username:
+ raise ValueError("`osc` config provides no username for URL {}".format(url))
+ password = cred_mgr.get_password(url, username, defer=False)
+ if not password:
+ raise ValueError("`osc` config provides no password for URL {}".format(url))
+ return username, password
+
+ warnings.warn("`osc` is not installed. Not all configuration backends of `osc` will be "
+ "available.")
+ parser = ConfigParser()
+ path = get_config_path()
+ parser.read((path))
+ try:
+ if url is None:
+ url = parser["general"].get("apiurl", url)
+ except (KeyError, NoSectionError) as error:
+ raise ValueError("`osc` config does not provide the default API URL") from error
+
+ if url not in parser.sections():
+ raise ValueError("`osc` config has no section for URL {}".format(url))
+
+ username = parser[url].get("user", None)
+ if not username:
+ raise ValueError("`osc` config provides no username for URL {}".format(url))
+
+ password = parser[url].get("pass", None)
+ if not password:
+ password = parser[url].get("passx", None)
+ if password:
+ password = decompress(b64decode(password.encode("ascii"))).decode("ascii")
+
+ if not password:
+ raise ValueError("`osc` config provides no password for URL {}".format(url))
+
+ return username, password
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/osc-tiny-0.3.3/setup.py new/osc-tiny-0.4.1/setup.py
--- old/osc-tiny-0.3.3/setup.py 2021-02-24 11:35:35.000000000 +0100
+++ new/osc-tiny-0.4.1/setup.py 2021-09-22 11:55:07.000000000 +0200
@@ -19,7 +19,7 @@
setup(
name='osc-tiny',
- version='0.3.3',
+ version='0.4.1',
description='Client API for openSUSE BuildService',
long_description=long_description,
long_description_content_type="text/markdown",
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package azote for openSUSE:Factory checked in at 2021-11-03 17:26:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azote (Old)
and /work/SRC/openSUSE:Factory/.azote.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azote"
Wed Nov 3 17:26:20 2021 rev:11 rq:928962 version:1.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/azote/azote.changes 2021-04-01 14:18:18.124072529 +0200
+++ /work/SRC/openSUSE:Factory/.azote.new.1890/azote.changes 2021-11-03 17:27:16.889370550 +0100
@@ -1,0 +2,8 @@
+Wed Nov 3 08:28:42 UTC 2021 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 1.9.2:
+ * escape some special characters #155
+ * fixed improper environment detection on dwl, and possibly some
+ other wlroots-based compositors
+
+-------------------------------------------------------------------
Old:
----
azote-1.9.1.tar.gz
New:
----
azote-1.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azote.spec ++++++
--- /var/tmp/diff_new_pack.ET2lNJ/_old 2021-11-03 17:27:17.261370753 +0100
+++ /var/tmp/diff_new_pack.ET2lNJ/_new 2021-11-03 17:27:17.261370753 +0100
@@ -18,7 +18,7 @@
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: azote
-Version: 1.9.1
+Version: 1.9.2
Release: 0
Summary: Wallpaper manager for Sway, i3 and some other WMs
License: GPL-3.0-only
++++++ azote-1.9.1.tar.gz -> azote-1.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.1/.gitignore new/azote-1.9.2/.gitignore
--- old/azote-1.9.1/.gitignore 2021-03-28 03:08:24.000000000 +0200
+++ new/azote-1.9.2/.gitignore 2021-10-29 04:00:56.000000000 +0200
@@ -1,2 +1,3 @@
/.idea
+.vscode
/venv
Binary files old/azote-1.9.1/azote/images/azote-wallpaper.jpg and new/azote-1.9.2/azote/images/azote-wallpaper.jpg differ
Binary files old/azote-1.9.1/azote/images/azote-wallpaper1.jpg and new/azote-1.9.2/azote/images/azote-wallpaper1.jpg differ
Binary files old/azote-1.9.1/azote/images/azote-wallpaper2.jpg and new/azote-1.9.2/azote/images/azote-wallpaper2.jpg differ
Binary files old/azote-1.9.1/azote/images/nwg-shell-sgs.png and new/azote-1.9.2/azote/images/nwg-shell-sgs.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.1/azote/main.py new/azote-1.9.2/azote/main.py
--- old/azote-1.9.1/azote/main.py 2021-03-28 03:08:24.000000000 +0200
+++ new/azote-1.9.2/azote/main.py 2021-10-29 04:00:56.000000000 +0200
@@ -462,8 +462,11 @@
else:
display_name = box.display_name
+ # Escape some special characters which would mess up the script
+ wallpaper_path=box.wallpaper_path.replace('\\', '\\\\').replace("$", "\$").replace("`", "\\`").replace('"', '\\"')
+
batch_content.append(
- "swaybg -o '{}' -i '{}' -m {} &".format(display_name, box.wallpaper_path, box.mode))
+ "swaybg -o '{}' -i \"{}\" -m {} &".format(display_name, wallpaper_path, box.mode))
# build the json file content
if box.wallpaper_path.startswith("{}/backgrounds-sway/flipped-".format(common.data_home)):
@@ -866,7 +869,7 @@
displays_box.set_orientation(Gtk.Orientation.HORIZONTAL)
# Restore saved wallpapers if any
- f_name = "swaybg.json" if common.sway else "feh.json"
+ f_name = "swaybg.json" if common.sway or common.env['wayland'] else "feh.json"
f_path = os.path.join(common.data_home, f_name)
if os.path.isfile(f_path):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.1/azote/tools.py new/azote-1.9.2/azote/tools.py
--- old/azote-1.9.1/azote/tools.py 2021-03-28 03:08:24.000000000 +0200
+++ new/azote-1.9.2/azote/tools.py 2021-10-29 04:00:56.000000000 +0200
@@ -14,7 +14,7 @@
import glob
import hashlib
import logging
-from PIL import Image, ImageOps
+from PIL import Image
import common
import pickle
import subprocess
@@ -27,7 +27,7 @@
import gi
gi.require_version('Gtk', '3.0')
-from gi.repository import Gtk, GdkPixbuf, Gdk, GLib
+from gi.repository import Gtk, GdkPixbuf, GLib
def log(message, level=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.1/setup.py new/azote-1.9.2/setup.py
--- old/azote-1.9.1/setup.py 2021-03-28 03:08:24.000000000 +0200
+++ new/azote-1.9.2/setup.py 2021-10-29 04:00:56.000000000 +0200
@@ -8,7 +8,7 @@
setup(
name='azote',
- version='1.9.1',
+ version='1.9.2',
description='Wallpaper manager for Sway, i3 and some other WMs',
packages=['azote'],
include_package_data=True,
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tinyrecord for openSUSE:Factory checked in at 2021-11-03 17:26:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tinyrecord (Old)
and /work/SRC/openSUSE:Factory/.python-tinyrecord.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tinyrecord"
Wed Nov 3 17:26:19 2021 rev:3 rq:928948 version:0.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tinyrecord/python-tinyrecord.changes 2020-10-15 13:51:26.349325440 +0200
+++ /work/SRC/openSUSE:Factory/.python-tinyrecord.new.1890/python-tinyrecord.changes 2021-11-03 17:27:16.229370189 +0100
@@ -1,0 +2,5 @@
+Wed Nov 3 07:48:26 UTC 2021 - Steve Kowalik <steven.kowalik(a)suse.com>
+
+- Remove unneeded Build-Requires on pytest-runner.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tinyrecord.spec ++++++
--- /var/tmp/diff_new_pack.j3a1rr/_old 2021-11-03 17:27:16.621370403 +0100
+++ /var/tmp/diff_new_pack.j3a1rr/_new 2021-11-03 17:27:16.625370405 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-tinyrecord
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,6 @@
Group: Development/Languages/Python
URL: https://github.com/eugene-eeo/tinyrecord
Source: https://github.com/eugene-eeo/tinyrecord/archive/v%{version}.tar.gz
-BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tinydb}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package msmtp for openSUSE:Factory checked in at 2021-11-03 17:26:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/msmtp (Old)
and /work/SRC/openSUSE:Factory/.msmtp.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msmtp"
Wed Nov 3 17:26:18 2021 rev:57 rq:928944 version:1.8.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/msmtp/msmtp.changes 2021-09-22 22:12:54.392320503 +0200
+++ /work/SRC/openSUSE:Factory/.msmtp.new.1890/msmtp.changes 2021-11-03 17:27:15.517369799 +0100
@@ -1,0 +2,12 @@
+Sat Oct 23 08:55:15 UTC 2021 - Beno��t Monin <benoit.monin(a)gmx.fr>
+
+- update to version 1.8.18:
+ * this release fixes a few minor problems related to translations
+ and the documentation.
+- additional changes from version 1.8.17:
+ * msmtpd now supports logging to syslog or to a file with the
+ option --log, and authentication (for special use cases) with
+ the option --auth.
+- build msmtpd and package it in msmtp-mta
+
+-------------------------------------------------------------------
Old:
----
msmtp-1.8.16.tar.xz
msmtp-1.8.16.tar.xz.sig
New:
----
msmtp-1.8.18.tar.xz
msmtp-1.8.18.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ msmtp.spec ++++++
--- /var/tmp/diff_new_pack.HjJsq7/_old 2021-11-03 17:27:15.925370022 +0100
+++ /var/tmp/diff_new_pack.HjJsq7/_new 2021-11-03 17:27:15.929370025 +0100
@@ -17,7 +17,7 @@
Name: msmtp
-Version: 1.8.16
+Version: 1.8.18
Release: 0
BuildRequires: gnutls-devel >= 3.4
BuildRequires: libidn2-devel
@@ -92,7 +92,7 @@
the delivery. msmtp supports multiple accounts.
This subpackage provides a mail transfer agent that can be used as
-a minimalistic replacement of sendmail.
+a minimalistic replacement of sendmail and a minimal SMTP server.
%prep
%setup -q
@@ -108,7 +108,7 @@
done
%build
-%configure --docdir="%{_docdir}/%{name}" --with-tls=gnutls --without-msmtpd --with-libgsasl
+%configure --docdir="%{_docdir}/%{name}" --with-tls=gnutls --with-libgsasl
%make_build
%install
@@ -202,7 +202,9 @@
%doc %dir %{_docdir}/%{name}
%files mta
+%{_bindir}/msmtpd
%{_sbindir}/sendmail
+%{_mandir}/man1/msmtpd.1%{?ext_man}
%{_mandir}/man1/sendmail.1%{?ext_man}
%changelog
++++++ msmtp-1.8.16.tar.xz -> msmtp-1.8.18.tar.xz ++++++
++++ 10816 lines of diff (skipped)
1
0