Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fuse-oscfs for openSUSE:Factory checked in at 2025-07-07 17:07:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fuse-oscfs (Old) and /work/SRC/openSUSE:Factory/.fuse-oscfs.new.1903 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fuse-oscfs" Mon Jul 7 17:07:52 2025 rev:7 rq:1291036 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/fuse-oscfs/fuse-oscfs.changes 2023-10-20 23:21:55.889825592 +0200 +++ /work/SRC/openSUSE:Factory/.fuse-oscfs.new.1903/fuse-oscfs.changes 2025-07-07 17:07:54.466869658 +0200 @@ -1,0 +2,14 @@ +Mon Jul 7 12:13:24 UTC 2025 - Matthias Gerstner <matthias.gerst...@suse.com> + +- require python3-fusepy to fix install time dependency error. + +------------------------------------------------------------------- +Fri Jun 13 10:53:30 UTC 2025 - Nico Krapp <nico.kr...@suse.com> + +- Update to version 0.9.1: + * prepare new minor release + * gitignore: ignore Python packaging artifacts + * obs: no longer quote URLs passed to OSC on versions newer 1.6.1 +- convert to pip based build + +------------------------------------------------------------------- Old: ---- oscfs-0.9.0.tar.xz New: ---- oscfs-0.9.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fuse-oscfs.spec ++++++ --- /var/tmp/diff_new_pack.OnyF4c/_old 2025-07-07 17:07:55.834927102 +0200 +++ /var/tmp/diff_new_pack.OnyF4c/_new 2025-07-07 17:07:55.838927271 +0200 @@ -1,7 +1,7 @@ # # spec file for package fuse-oscfs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,23 @@ # +%define pythons python3 Name: fuse-oscfs -Version: 0.9.0 +Version: 0.9.1 Release: 0 Summary: A FUSE file system for accessing Open Build Service instances License: GPL-2.0-or-later Group: System/Filesystems URL: https://github.com/mgerstner/oscfs Source: oscfs-%{version}.tar.xz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-setuptools Requires: osc Requires: python3-fusepy BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: python2-oscfs = %version-%release Obsoletes: python2-oscfs < %version-%release @@ -40,18 +43,20 @@ access for inspecting packages and their metadata. %prep -%setup -q -n oscfs-%{version} +%autosetup -p1 -n oscfs-%{version} %build -python3 setup.py build +%pyproject_wheel %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%pyproject_install +%fdupes -s %{buildroot}%{python3_sitelib}/oscfs %files %defattr(-,root,root) %doc README.md NEWS.rst %license LICENSE.txt -%{python3_sitelib}/* +%{python3_sitelib}/oscfs +%{python3_sitelib}/oscfs-%{version}.dist-info %{_bindir}/oscfs ++++++ _service ++++++ --- /var/tmp/diff_new_pack.OnyF4c/_old 2025-07-07 17:07:55.870928615 +0200 +++ /var/tmp/diff_new_pack.OnyF4c/_new 2025-07-07 17:07:55.874928782 +0200 @@ -1,12 +1,12 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="url">https://github.com/mgerstner/oscfs.git</param> <param name="scm">git</param> - <param name="revision">0.9.0</param> + <param name="revision">0.9.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> </service> - <service name="recompress" mode="disabled"> + <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.OnyF4c/_old 2025-07-07 17:07:55.894929622 +0200 +++ /var/tmp/diff_new_pack.OnyF4c/_new 2025-07-07 17:07:55.898929790 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/mgerstner/oscfs.git</param> - <param name="changesrevision">efa4a91b6fbe54a33eb51c04728706555e5106c6</param></service></servicedata> + <param name="changesrevision">335fa46cf09be14edbddf0ee186eea18a9fc0298</param></service></servicedata> (No newline at EOF) ++++++ oscfs-0.9.0.tar.xz -> oscfs-0.9.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oscfs-0.9.0/.gitignore new/oscfs-0.9.1/.gitignore --- old/oscfs-0.9.0/.gitignore 2023-10-20 11:03:57.000000000 +0200 +++ new/oscfs-0.9.1/.gitignore 2024-07-05 14:20:57.000000000 +0200 @@ -1,3 +1,6 @@ *.pyc __pycache__ *.swp +dist +build +*.egg-info diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oscfs-0.9.0/NEWS.rst new/oscfs-0.9.1/NEWS.rst --- old/oscfs-0.9.0/NEWS.rst 2023-10-20 11:03:57.000000000 +0200 +++ new/oscfs-0.9.1/NEWS.rst 2024-07-05 14:20:57.000000000 +0200 @@ -1,3 +1,9 @@ +0.9.1 +===== + +- minor fix for compatibility with OSC version >= 1.6.1, to avoid HTTP bad + request errors when opening files. + 0.9.0 ===== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oscfs-0.9.0/oscfs/obs.py new/oscfs-0.9.1/oscfs/obs.py --- old/oscfs-0.9.0/oscfs/obs.py 2023-10-20 11:03:57.000000000 +0200 +++ new/oscfs-0.9.1/oscfs/obs.py 2024-07-05 14:20:57.000000000 +0200 @@ -13,7 +13,24 @@ system.""" def __init__(self): - pass + self.makeurl_implements_quote = self.checkMakeurl() + + def getOscVersionTuple(self): + ver_nums = osc.core.get_osc_version().split('.') + ver_nums = [int(num) for num in ver_nums] + if len(ver_nums) == 3: + return ver_nums + + def checkMakeurl(self): + ver_string = osc.core.get_osc_version() + from packaging.version import Version + + # in OSC version 1.6.1 makeurl finally implements URL quoting itself, + # so we mustn't add it on top to prevent bad HTTP requests + needed_version = Version("1.6.1") + our_version = Version(ver_string) + + return our_version >= needed_version def configure(self, apiurl): @@ -164,10 +181,12 @@ def _download(self, urlcomps, query=dict()): import urllib.parse - # makeurl below doesn't urlencode the actual url components, only the - # query parameters. This breaks certain file names that e.g. contain - # '#'. So let's explicitly urlencode them. - urlcomps = [urllib.parse.quote_plus(comp) for comp in urlcomps] + # makeurl below, in versions older than OSC 1.6.1, doesn't urlencode + # the actual url components, only the query parameters. This breaks + # certain file names that e.g. contain '#'. So let's explicitly + # urlencode them. + if not self.makeurl_implements_quote: + urlcomps = [urllib.parse.quote_plus(comp) for comp in urlcomps] url = osc.core.makeurl( self.m_apiurl, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oscfs-0.9.0/setup.py new/oscfs-0.9.1/setup.py --- old/oscfs-0.9.0/setup.py 2023-10-20 11:03:57.000000000 +0200 +++ new/oscfs-0.9.1/setup.py 2024-07-05 14:20:57.000000000 +0200 @@ -37,7 +37,7 @@ try: setup( name='oscfs', - version='0.8.1', + version='0.9.1', description='A FUSE based file system to access Open Build Service (OBS) instances', long_description=long_desc, author='Matthias Gerstner',