Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-12-03 18:42:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pagure" Thu Dec 3 18:42:56 2020 rev:20 rq:852786 version:5.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/pagure/pagure.changes 2020-09-25 16:36:52.140174457 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.5913/pagure.changes 2020-12-03 18:43:53.138249381 +0100 @@ -1,0 +2,6 @@ +Thu Dec 3 02:36:03 UTC 2020 - Neal Gompa <[email protected]> + +- Add proposed fix for setting project options via API + + Patch: 0001-api-project-Fix-handling-of-false.patch + +------------------------------------------------------------------- New: ---- 0001-api-project-Fix-handling-of-false.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pagure.spec ++++++ --- /var/tmp/diff_new_pack.Qhx3Me/_old 2020-12-03 18:43:53.886250370 +0100 +++ /var/tmp/diff_new_pack.Qhx3Me/_new 2020-12-03 18:43:53.886250370 +0100 @@ -52,6 +52,9 @@ Patch0008: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch Patch0009: 0009-Add-support-for-disabling-user-registration.patch +# Fixes proposed upstream +## From: https://pagure.io/pagure/pull-request/5056 +Patch0101: 0001-api-project-Fix-handling-of-false.patch # SUSE-specific fixes ## Change the defaults in the example config to match packaging ++++++ 0001-api-project-Fix-handling-of-false.patch ++++++ From d4f6cdfad2572dd6493f404a4a02db40c4a91ea0 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Wed, 2 Dec 2020 20:36:14 +0100 Subject: [PATCH] api/project: Fix handling of "false" --- pagure/api/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagure/api/project.py b/pagure/api/project.py index 654c008a..64f413b7 100644 --- a/pagure/api/project.py +++ b/pagure/api/project.py @@ -2828,7 +2828,7 @@ def _check_value(value): if str(value).lower() in ["true"]: value = True elif str(value).lower() in ["false"]: - value = True + value = False elif str(value).isdigit(): value = int(value) return value -- 2.28.0 _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
