Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kpublictransport for
openSUSE:Factory checked in at 2022-02-04 21:48:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kpublictransport (Old)
and /work/SRC/openSUSE:Factory/.kpublictransport.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpublictransport"
Fri Feb 4 21:48:22 2022 rev:15 rq:951099 version:21.12.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/kpublictransport/kpublictransport.changes
2022-01-11 21:22:45.129105798 +0100
+++
/work/SRC/openSUSE:Factory/.kpublictransport.new.1898/kpublictransport.changes
2022-02-04 21:50:48.995803504 +0100
@@ -1,0 +2,11 @@
+Tue Feb 1 13:03:27 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 21.12.2
+ * New bugfix release
+ * For more details please see:
+ * https://kde.org/announcements/gear/21.12.2/
+- Changes since 21.12.1:
+ * Disambiguate station name used in the Navitia name-based query tests
+ * Fix Navitia location queries for rental bike stations and any type
+
+-------------------------------------------------------------------
Old:
----
kpublictransport-21.12.1.tar.xz
kpublictransport-21.12.1.tar.xz.sig
New:
----
kpublictransport-21.12.2.tar.xz
kpublictransport-21.12.2.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kpublictransport.spec ++++++
--- /var/tmp/diff_new_pack.XuJjyE/_old 2022-02-04 21:50:49.467800281 +0100
+++ /var/tmp/diff_new_pack.XuJjyE/_new 2022-02-04 21:50:49.467800281 +0100
@@ -22,7 +22,7 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print
$1"."$2}')}
%bcond_without released
Name: kpublictransport
-Version: 21.12.1
+Version: 21.12.2
Release: 0
Summary: QML imports for querying public transport data
License: LGPL-2.0-or-later
++++++ kpublictransport-21.12.1.tar.xz -> kpublictransport-21.12.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kpublictransport-21.12.1/CMakeLists.txt
new/kpublictransport-21.12.2/CMakeLists.txt
--- old/kpublictransport-21.12.1/CMakeLists.txt 2022-01-03 22:15:01.000000000
+0100
+++ new/kpublictransport-21.12.2/CMakeLists.txt 2022-01-28 22:47:44.000000000
+0100
@@ -6,7 +6,7 @@
# KDE Application Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "21")
set (RELEASE_SERVICE_VERSION_MINOR "12")
-set (RELEASE_SERVICE_VERSION_MICRO "1")
+set (RELEASE_SERVICE_VERSION_MICRO "2")
set (RELEASE_SERVICE_VERSION
"${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(KPublicTransport VERSION ${RELEASE_SERVICE_VERSION})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kpublictransport-21.12.1/src/lib/backends/navitiabackend.cpp
new/kpublictransport-21.12.2/src/lib/backends/navitiabackend.cpp
--- old/kpublictransport-21.12.1/src/lib/backends/navitiabackend.cpp
2022-01-03 22:15:01.000000000 +0100
+++ new/kpublictransport-21.12.2/src/lib/backends/navitiabackend.cpp
2022-01-28 22:47:44.000000000 +0100
@@ -216,7 +216,10 @@
if (req.types() & Location::RentedVehicleStation) {
query.addQueryItem(QStringLiteral("type[]"), QStringLiteral("poi"));
query.addQueryItem(QStringLiteral("add_poi_infos[]"),
QStringLiteral("bss_stands"));
- query.addQueryItem(QStringLiteral("filter"),
QStringLiteral("poi_type.id=poi_type:amenity:bicycle_rental"));
+ // filter is exclusive, so we cannot use this when also looking for
other objects
+ if ((req.types() & ~(Location::RentedVehicleStation |
Location::RentedVehicle)) == 0) {
+ query.addQueryItem(QStringLiteral("filter"),
QStringLiteral("poi_type.id=poi_type:amenity:bicycle_rental"));
+ }
}
if (req.hasCoordinate()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kpublictransport-21.12.1/tests/querytest.cpp
new/kpublictransport-21.12.2/tests/querytest.cpp
--- old/kpublictransport-21.12.1/tests/querytest.cpp 2022-01-03
22:15:01.000000000 +0100
+++ new/kpublictransport-21.12.2/tests/querytest.cpp 2022-01-28
22:47:44.000000000 +0100
@@ -63,7 +63,7 @@
// international
// TODO un_gbfs - this needs special-casing given it cannot do journey
and departure searches
- QTest::newRow("un_navitia") << "un_navitia" << loc("Paris Gare de
Lyon", 48.84444, 2.37412) << loc("Paris A??roport Charles de Gaulle 2",
49.00423, 2.57215);
+ QTest::newRow("un_navitia") << "un_navitia" << loc("Paris Gare de
Lyon", 48.84444, 2.37412) << loc("Paris A??roport Charles de Gaulle 2 TGV",
49.00423, 2.57215);
// national
QTest::newRow("at_oebb") << "at_oebb" << loc("Wien Hauptbahnhof",
48.18282, 16.37859) << loc("Linz/Donau Hbf", 48.29058, 14.29018);
@@ -77,7 +77,7 @@
QTest::newRow("eu_railteam") << "eu_railteam" << loc("Bruxelles Midi",
50.8353, 4.33679) << loc("Amsterdam Centraal", 52.37923, 4.90055);
QTest::newRow("fi_digitransit") << "fi_digitransit" << loc("Helsinki",
60.17174, 24.94148) << loc("Espoo", 60.20530, 24.65748);
QTest::newRow("fi_waltti") << "fi_waltti" << loc("Helsinki", 60.17174,
24.94148) << loc("Tampere", 61.49859, 23.77392);
- QTest::newRow("fr_sncf") << "fr_sncf" << loc("Paris Gare de Lyon",
48.84444, 2.37412) << loc("Paris A??roport Charles de Gaulle 2", 49.00423,
2.57215);
+ QTest::newRow("fr_sncf") << "fr_sncf" << loc("Paris Gare de Lyon",
48.84444, 2.37412) << loc("Paris A??roport Charles de Gaulle 2 TGV", 49.00423,
2.57215);
QTest::newRow("gb_traveline") << "gb_traveline" << loc( "London
Euston", 51.52814, -0.13365) << loc("Glasgow Queen Street", 55.86252, -4.25074);
QTest::newRow("ie_tfi") << "ie_tfi" << loc("Dublin Connolly",
53.35258, -6.24706) << loc("Cork Kent", 51.90159, -8.45823);
QTest::newRow("lu_cfl") << "lu_cfl" << loc("Luxembourg Gare Centrale",
49.59962, 6.13473) << loc("Ettelbruck", 49.84745, 6.10645);