Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ogr for openSUSE:Factory 
checked in at 2022-12-03 10:03:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ogr (Old)
 and      /work/SRC/openSUSE:Factory/.python-ogr.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ogr"

Sat Dec  3 10:03:43 2022 rev:4 rq:1039661 version:0.41.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ogr/python-ogr.changes    2022-10-14 
15:43:30.392015307 +0200
+++ /work/SRC/openSUSE:Factory/.python-ogr.new.1835/python-ogr.changes  
2022-12-03 10:03:57.703348719 +0100
@@ -1,0 +2,7 @@
+Fri Dec  2 21:18:38 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to 0.41.0 
+  * CommitComment.comment has been deprecated in favour of CommitComment.body 
to make the naming consistent across objects. (#748)
+  * ogr now requires Python 3.9 or later. (#746)
+
+-------------------------------------------------------------------

Old:
----
  ogr-0.40.0.tar.gz

New:
----
  ogr-0.41.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ogr.spec ++++++
--- /var/tmp/diff_new_pack.VfsdsP/_old  2022-12-03 10:03:58.403352609 +0100
+++ /var/tmp/diff_new_pack.VfsdsP/_new  2022-12-03 10:03:58.415352676 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-ogr
-Version:        0.40.0
+Version:        0.41.0
 Release:        0
 Summary:        One API for multiple git forges
 License:        MIT

++++++ ogr-0.40.0.tar.gz -> ogr-0.41.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/.packit.yaml new/ogr-0.41.0/.packit.yaml
--- old/ogr-0.40.0/.packit.yaml 2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/.packit.yaml 2022-10-27 12:53:49.000000000 +0200
@@ -34,20 +34,17 @@
     trigger: release
     dist_git_branches:
       - fedora-all
-      - epel-8
       - epel-9
 
   - job: copr_build
     trigger: pull_request
     targets:
       - fedora-all
-      - epel-8
       - epel-9
   - job: tests
     trigger: pull_request
     targets:
       - fedora-all
-      - epel-8
       - epel-9
 
   - job: production_build
@@ -61,7 +58,6 @@
     branch: main
     targets:
       - fedora-all
-      - epel-8
       - epel-9
     project: packit-dev
     list_on_homepage: True
@@ -72,7 +68,6 @@
     branch: stable
     targets:
       - fedora-stable
-      - epel-8
       - epel-9
     project: packit-stable
     list_on_homepage: True
@@ -82,7 +77,6 @@
     trigger: release
     targets:
       - fedora-all
-      - epel-8
       - epel-9
     project: packit-releases
     list_on_homepage: True
@@ -95,7 +89,6 @@
     allowed_pr_authors: ["packit-stg", "packit"]
     dist_git_branches:
       - fedora-all
-      - epel-8
       - epel-9
   - job: bodhi_update
     trigger: commit
@@ -103,5 +96,4 @@
     dist_git_branches:
       - fedora-latest # branched version, rawhide updates are created 
automatically
       - fedora-stable
-      - epel-8
       - epel-9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/.pre-commit-config.yaml 
new/ogr-0.41.0/.pre-commit-config.yaml
--- old/ogr-0.40.0/.pre-commit-config.yaml      2022-09-16 13:42:04.000000000 
+0200
+++ new/ogr-0.41.0/.pre-commit-config.yaml      2022-10-27 12:53:49.000000000 
+0200
@@ -4,15 +4,15 @@
 
 repos:
   - repo: https://github.com/asottile/pyupgrade
-    rev: v2.37.3
+    rev: v2.38.2
     hooks:
       - id: pyupgrade
   - repo: https://github.com/psf/black
-    rev: 22.6.0
+    rev: 22.8.0
     hooks:
       - id: black
   - repo: https://github.com/pre-commit/mirrors-prettier
-    rev: v2.7.1
+    rev: v3.0.0-alpha.0
     hooks:
       - id: prettier
   - repo: https://github.com/pre-commit/pre-commit-hooks
@@ -30,7 +30,7 @@
       - id: mixed-line-ending
       - id: trailing-whitespace
   - repo: https://github.com/PyCQA/flake8
-    rev: 5.0.2
+    rev: 5.0.4
     hooks:
       - id: flake8
         args: [--max-line-length=100]
@@ -42,7 +42,7 @@
         additional_dependencies:
           [types-pkg_resources, types-requests, types-Deprecated]
   - repo: https://github.com/packit/pre-commit-hooks
-    rev: 3bf9afc5ede12a4ee26e9451f306edf255749396
+    rev: 8db5a24e01b9f54aaa7a800f33c4b9aa619af1b9
     hooks:
       - id: check-rebase
         args:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/CHANGELOG.md new/ogr-0.41.0/CHANGELOG.md
--- old/ogr-0.40.0/CHANGELOG.md 2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/CHANGELOG.md 2022-10-27 12:53:49.000000000 +0200
@@ -1,3 +1,8 @@
+# 0.41.0
+
+- `CommitComment.comment` has been deprecated in favour of 
`CommitComment.body` to make the naming consistent across objects. (#748)
+- ogr now requires Python 3.9 or later. (#746)
+
 # 0.40.0
 
 - Using the method `users_with_write_access` you can generate the set of users 
that have write access to the project and the method `has_write_access(user)` 
you can find out if the user has write access to the project. (#742)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/Makefile new/ogr-0.41.0/Makefile
--- old/ogr-0.40.0/Makefile     2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/Makefile     2022-10-27 12:53:49.000000000 +0200
@@ -9,7 +9,7 @@
 check:
        @#`python3 -m pytest` doesn't work here b/c the way requre overrides 
import system:
        @#`AttributeError: module 'importlib_metadata' has no attribute 
'distributions'
-       PYTHONPATH=$(CURDIR) PYTHONDONTWRITEBYTECODE=1 pytest --verbose 
--showlocals $(TEST_TARGET)
+       PYTHONPATH=$(CURDIR) PYTHONDONTWRITEBYTECODE=1 python3 /usr/bin/pytest 
--verbose --showlocals $(TEST_TARGET)
 
 check-in-container:
        podman run --rm -it -v $(CURDIR):/src:Z -w /src --env TEST_TARGET 
$(OGR_IMAGE) make -e GITHUB_TOKEN=$(GITHUB_TOKEN) GITLAB_TOKEN=$(GITLAB_TOKEN) 
check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/PKG-INFO new/ogr-0.41.0/PKG-INFO
--- old/ogr-0.40.0/PKG-INFO     2022-09-16 13:42:16.944175700 +0200
+++ new/ogr-0.41.0/PKG-INFO     2022-10-27 12:53:59.205885400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ogr
-Version: 0.40.0
+Version: 0.41.0
 Summary: One API for multiple git forges.
 Home-page: https://github.com/packit/ogr
 Author: Red Hat
@@ -14,14 +14,12 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.9
 Description-Content-Type: text/markdown
 Provides-Extra: testing
 License-File: LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/fedora/python-ogr.spec 
new/ogr-0.41.0/fedora/python-ogr.spec
--- old/ogr-0.40.0/fedora/python-ogr.spec       2022-09-16 13:42:04.000000000 
+0200
+++ new/ogr-0.41.0/fedora/python-ogr.spec       2022-10-27 12:53:49.000000000 
+0200
@@ -1,7 +1,7 @@
 %global srcname ogr
 
 Name:           python-%{srcname}
-Version:        0.40.0
+Version:        0.41.0
 Release:        1%{?dist}
 Summary:        One API for multiple git forges
 
@@ -52,6 +52,9 @@
 
 
 %changelog
+* Thu Oct 27 2022 Packit Team <he...@packit.dev> - 0.41.0-1
+- New upstream release 0.41.0
+
 * Fri Sep 16 2022 Packit Team <he...@packit.dev> - 0.40.0-1
 - New upstream release 0.40.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/files/tasks/generic-dnf-requirements.yaml 
new/ogr-0.41.0/files/tasks/generic-dnf-requirements.yaml
--- old/ogr-0.40.0/files/tasks/generic-dnf-requirements.yaml    2022-09-16 
13:42:04.000000000 +0200
+++ new/ogr-0.41.0/files/tasks/generic-dnf-requirements.yaml    2022-10-27 
12:53:49.000000000 +0200
@@ -6,6 +6,8 @@
       - git
       - dnf-utils
       - python3-pip
+      - python3-pygithub
+      - python3-gitlab
   become: true
 - name: Install rpmautospec-rpm-macros
   dnf:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/__init__.py 
new/ogr-0.41.0/ogr/__init__.py
--- old/ogr-0.40.0/ogr/__init__.py      2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/__init__.py      2022-10-27 12:53:49.000000000 +0200
@@ -5,6 +5,8 @@
 Module providing one api for multiple git services (github/gitlab/pagure)
 """
 
+from importlib.metadata import PackageNotFoundError, distribution
+
 from ogr.factory import (
     get_project,
     get_service_class,
@@ -16,12 +18,6 @@
 from ogr.services.pagure import PagureService
 
 try:
-    from importlib.metadata import PackageNotFoundError, distribution
-except ImportError:
-    from importlib_metadata import PackageNotFoundError  # type: ignore
-    from importlib_metadata import distribution  # type: ignore
-
-try:
     __version__ = distribution(__name__).version
 except PackageNotFoundError:
     # package is not installed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/abstract.py 
new/ogr-0.41.0/ogr/abstract.py
--- old/ogr-0.40.0/ogr/abstract.py      2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/abstract.py      2022-10-27 12:53:49.000000000 +0200
@@ -30,6 +30,7 @@
     OgrNetworkError,
 )
 from ogr.parsing import parse_git_repo
+from ogr.deprecation import deprecate_and_set_removal
 
 try:
     from functools import cached_property as _cached_property
@@ -1028,17 +1029,28 @@
     """
     Attributes:
         sha (str): Hash of the related commit.
-        comment (str): Body of the comment.
+        body (str): Body of the comment.
         author (str): Login of the author.
     """
 
-    def __init__(self, sha: str, comment: str, author: str) -> None:
+    def __init__(self, sha: str, body: str, author: str) -> None:
         self.sha = sha
-        self.comment = comment
+        self.body = body
         self.author = author
 
+    @property  # type: ignore
+    @deprecate_and_set_removal(
+        since="0.41.0",
+        remove_in="0.46.0 (or 1.0.0 if it comes sooner)",
+        message="Use body",
+    )
+    def comment(self) -> str:
+        return self.body
+
     def __str__(self) -> str:
-        return f"CommitComment(commit={self.sha}, author={self.author}, 
comment={self.comment})"
+        return (
+            f"CommitComment(commit={self.sha}, author={self.author}, 
body={self.body})"
+        )
 
 
 class GitTag(OgrAbstractClass):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/exceptions.py 
new/ogr-0.41.0/ogr/exceptions.py
--- old/ogr-0.40.0/ogr/exceptions.py    2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/exceptions.py    2022-10-27 12:53:49.000000000 +0200
@@ -6,8 +6,6 @@
 import github
 import gitlab
 
-from ogr.deprecation import deprecate_and_set_removal
-
 
 class OgrException(Exception):
     """Something went wrong during our execution."""
@@ -50,15 +48,6 @@
 class GithubAPIException(APIException):
     """Exception related to Github API."""
 
-    @property  # type: ignore
-    @deprecate_and_set_removal(
-        since="0.30.0",
-        remove_in="0.35.0 (or 1.0.0 if it comes sooner)",
-        message="Use __cause__",
-    )
-    def github_error(self):
-        return self.__cause__
-
     @property
     def response_code(self):
         if self.__cause__ is None or not isinstance(
@@ -71,15 +60,6 @@
 class GitlabAPIException(APIException):
     """Exception related to Gitlab API."""
 
-    @property  # type: ignore
-    @deprecate_and_set_removal(
-        since="0.30.0",
-        remove_in="0.35.0 (or 1.0.0 if it comes sooner)",
-        message="Use __cause__",
-    )
-    def gitlab_error(self):
-        return self.__cause__
-
     @property
     def response_code(self):
         if self.__cause__ is None or not isinstance(self.__cause__, 
gitlab.GitlabError):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/read_only.py 
new/ogr-0.41.0/ogr/read_only.py
--- old/ogr-0.40.0/ogr/read_only.py     2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/read_only.py     2022-10-27 12:53:49.000000000 +0200
@@ -242,7 +242,7 @@
     def commit_comment(
         cls, original_object: Any, commit: str, body: str
     ) -> "CommitComment":
-        return CommitComment(sha=commit, comment=body, author=cls.author)
+        return CommitComment(sha=commit, body=body, author=cls.author)
 
     @classmethod
     def set_commit_status(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/services/github/project.py 
new/ogr-0.41.0/ogr/services/github/project.py
--- old/ogr-0.40.0/ogr/services/github/project.py       2022-09-16 
13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/services/github/project.py       2022-10-27 
12:53:49.000000000 +0200
@@ -339,7 +339,7 @@
         raw_commit_coment: GithubCommitComment,
     ) -> CommitComment:
         return CommitComment(
-            comment=raw_commit_coment.body,
+            body=raw_commit_coment.body,
             author=raw_commit_coment.user.login,
             sha=raw_commit_coment.commit_id,
         )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/services/gitlab/project.py 
new/ogr-0.41.0/ogr/services/gitlab/project.py
--- old/ogr-0.40.0/ogr/services/gitlab/project.py       2022-09-16 
13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/services/gitlab/project.py       2022-10-27 
12:53:49.000000000 +0200
@@ -287,7 +287,7 @@
     @staticmethod
     def _commit_comment_from_gitlab_object(raw_comment, commit) -> 
CommitComment:
         return CommitComment(
-            sha=commit, comment=raw_comment.note, 
author=raw_comment.author["username"]
+            sha=commit, body=raw_comment.note, 
author=raw_comment.author["username"]
         )
 
     def get_commit_comments(self, commit: str) -> List[CommitComment]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr/services/pagure/project.py 
new/ogr-0.41.0/ogr/services/pagure/project.py
--- old/ogr-0.40.0/ogr/services/pagure/project.py       2022-09-16 
13:42:04.000000000 +0200
+++ new/ogr-0.41.0/ogr/services/pagure/project.py       2022-10-27 
12:53:49.000000000 +0200
@@ -405,6 +405,10 @@
 
         if not result or result.reason == "NOT FOUND":
             raise FileNotFoundError(f"File '{path}' on {ref} not found")
+        if result.reason != "OK":
+            raise PagureAPIException(
+                f"File '{path}' on {ref} not found due to {result.reason}"
+            )
         return result.content.decode()
 
     def get_sha_from_tag(self, tag_name: str) -> str:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr.egg-info/PKG-INFO 
new/ogr-0.41.0/ogr.egg-info/PKG-INFO
--- old/ogr-0.40.0/ogr.egg-info/PKG-INFO        2022-09-16 13:42:16.000000000 
+0200
+++ new/ogr-0.41.0/ogr.egg-info/PKG-INFO        2022-10-27 12:53:58.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ogr
-Version: 0.40.0
+Version: 0.41.0
 Summary: One API for multiple git forges.
 Home-page: https://github.com/packit/ogr
 Author: Red Hat
@@ -14,14 +14,12 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.9
 Description-Content-Type: text/markdown
 Provides-Extra: testing
 License-File: LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr.egg-info/SOURCES.txt 
new/ogr-0.41.0/ogr.egg-info/SOURCES.txt
--- old/ogr-0.40.0/ogr.egg-info/SOURCES.txt     2022-09-16 13:42:16.000000000 
+0200
+++ new/ogr-0.41.0/ogr.egg-info/SOURCES.txt     2022-10-27 12:53:59.000000000 
+0200
@@ -430,6 +430,7 @@
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_get_web_url.yaml
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_git_urls.yaml
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_has_issues.yaml
+tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_no_file_server_error.yaml
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_nonexisting_file.yaml
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_parent_project.yaml
 
tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_pr_permissions.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/ogr.egg-info/requires.txt 
new/ogr-0.41.0/ogr.egg-info/requires.txt
--- old/ogr-0.40.0/ogr.egg-info/requires.txt    2022-09-16 13:42:16.000000000 
+0200
+++ new/ogr-0.41.0/ogr.egg-info/requires.txt    2022-10-27 12:53:58.000000000 
+0200
@@ -7,8 +7,5 @@
 requests
 urllib3
 
-[:python_version < "3.8"]
-importlib-metadata
-
 [testing]
 pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/plans/full.fmf 
new/ogr-0.41.0/plans/full.fmf
--- old/ogr-0.40.0/plans/full.fmf       2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/plans/full.fmf       2022-10-27 12:53:49.000000000 +0200
@@ -2,7 +2,7 @@
   Unit & integration tests.
 prepare:
   how: ansible
-  playbooks:
+  playbook:
   - files/packit-testing-farm-prepare.yaml
 execute:
   script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ogr-0.40.0/setup.cfg new/ogr-0.41.0/setup.cfg
--- old/ogr-0.40.0/setup.cfg    2022-09-16 13:42:16.948175700 +0200
+++ new/ogr-0.41.0/setup.cfg    2022-10-27 12:53:59.205885400 +0200
@@ -19,11 +19,9 @@
        Programming Language :: Python
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3 :: Only
-       Programming Language :: Python :: 3.6
-       Programming Language :: Python :: 3.7
-       Programming Language :: Python :: 3.8
        Programming Language :: Python :: 3.9
        Programming Language :: Python :: 3.10
+       Programming Language :: Python :: 3.11
        Topic :: Software Development
        Topic :: Utilities
 keywords = 
@@ -44,8 +42,7 @@
        PyYAML
        requests
        urllib3
-       importlib-metadata;python_version<"3.8"
-python_requires = >=3.6
+python_requires = >=3.9
 include_package_data = True
 setup_requires = 
        setuptools_scm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ogr-0.40.0/tests/integration/github/test_generic_commands.py 
new/ogr-0.41.0/tests/integration/github/test_generic_commands.py
--- old/ogr-0.40.0/tests/integration/github/test_generic_commands.py    
2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/tests/integration/github/test_generic_commands.py    
2022-10-27 12:53:49.000000000 +0200
@@ -231,7 +231,7 @@
             row=6,
         )
         assert comment.sha == "95069d7bedb6ae02def3fccce22169b412d08eac"
-        assert comment.comment == "Testing commit comment"
+        assert comment.body == "Testing commit comment"
         assert comment.author == self.service.user.get_username()
 
     def test_get_commit_comments(self):
@@ -240,7 +240,7 @@
         )
         assert len(comments)
         assert comments[0].sha == "95069d7bedb6ae02def3fccce22169b412d08eac"
-        assert comments[0].comment == "Testing commit comment"
+        assert comments[0].body == "Testing commit comment"
 
     def test_get_web_url(self):
         url = self.ogr_project.get_web_url()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ogr-0.40.0/tests/integration/gitlab/test_generic_commands.py 
new/ogr-0.41.0/tests/integration/gitlab/test_generic_commands.py
--- old/ogr-0.40.0/tests/integration/gitlab/test_generic_commands.py    
2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/tests/integration/gitlab/test_generic_commands.py    
2022-10-27 12:53:49.000000000 +0200
@@ -182,7 +182,7 @@
             row=3,
         )
         assert comment.author == self.service.user.get_username()
-        assert comment.comment == "Comment to line 3"
+        assert comment.body == "Comment to line 3"
 
     def test_get_commit_comments(self):
         comments = self.project.get_commit_comments(
@@ -190,7 +190,7 @@
         )
         assert len(comments)
         assert comments[0].sha == "11b37d913374b14f8519d16c2a2cca3ebc14ac64"
-        assert comments[0].comment == "Comment to line 3"
+        assert comments[0].body == "Comment to line 3"
 
     def test_get_web_url(self):
         url = self.project.get_web_url()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ogr-0.40.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_no_file_server_error.yaml
 
new/ogr-0.41.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_no_file_server_error.yaml
--- 
old/ogr-0.40.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_no_file_server_error.yaml
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/ogr-0.41.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_no_file_server_error.yaml
      2022-10-27 12:53:49.000000000 +0200
@@ -0,0 +1,212 @@
+_requre:
+  DataTypes: 1
+  key_strategy: StorageKeysInspectSimple
+  version_storage_file: 3
+requests.sessions:
+  send:
+    GET:
+      https://pagure.io/api/0/ogr-tests/git/branches:
+      - metadata:
+          latency: 0.2348644733428955
+          module_call_list:
+          - unittest.case
+          - requre.record_and_replace
+          - tests.integration.pagure.test_generic_commands
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - requests.sessions
+          - requre.objects
+          - requre.cassette
+          - requests.sessions
+          - send
+        output:
+          __store_indicator: 2
+          _content:
+            branches:
+            - for-testing-get-files
+            - master
+            - testPR
+            default: master
+            total_branches: 3
+          _next: null
+          elapsed: 0.234522
+          encoding: utf-8
+          headers:
+            Connection: Keep-Alive
+            Content-Length: '130'
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-YwUxuejc7AvAQ5irhq4TWbFFZ';
+              style-src 'self' 'nonce-YwUxuejc7AvAQ5irhq4TWbFFZ'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
+            Content-Type: application/json
+            Date: Tue, 04 Oct 2022 08:50:29 GMT
+            Keep-Alive: timeout=5, max=99
+            Referrer-Policy: same-origin
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiZTdjOTI2NDRjOTFiMDg0MDU2MmViZmVlY2ZiNWM2YTQzMGJhYmI4NCJ9.Fh2FVQ.5XAeZN982E1V-weRKMsAv1ilYRs;
+              Expires=Fri, 04-Nov-2022 08:50:29 GMT; Secure; HttpOnly; Path=/
+            Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
+            X-Content-Type-Options: nosniff
+            X-Frame-Options: ALLOW-FROM https://pagure.io/
+            X-Xss-Protection: 1; mode=block
+          raw: !!binary ""
+          reason: OK
+          status_code: 200
+      https://pagure.io/ogr-tests/raw/master/f/.blablabla_no_file:
+      - metadata:
+          latency: 0.2440190315246582
+          module_call_list:
+          - unittest.case
+          - requre.record_and_replace
+          - tests.integration.pagure.test_generic_commands
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - requests.sessions
+          - requre.objects
+          - requre.cassette
+          - requests.sessions
+          - send
+        output:
+          __store_indicator: 1
+          _content: "\n<!DOCTYPE html>\n<html lang='en'>\n<head>\n    <meta 
http-equiv=\"\
+            Content-Type\" content=\"text/html; charset=UTF-8\"/>\n    
<title>Page\
+            \ not found :'( - Pagure.io</title>\n        <link rel=\"shortcut 
icon\"\
+            \ type=\"image/vnd.microsoft.icon\"\n        
href=\"/theme/static/favicon.ico?version=5.13.3\"\
+            />\n    <link 
href=\"/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.3\"\
+            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/fonts/fonts.css?version=5.13.3\"\
+            \n        rel=\"stylesheet\" type=\"text/css\" />\n    <link 
href=\"/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.3\"\
+            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/theme.css?version=5.13.3\"\
+            \n        type=\"text/css\" rel=\"stylesheet\" />\n\n    <link 
type=\"\
+            text/css\" rel=\"stylesheet\" nonce=\"ndaXRbyfu8jCyYRNdyAmn5KIg\" 
href=\"\
+            /static/vendor/font-awesome/font-awesome.css?version=5.13.3\"/>\n  
  <link\
+            \ type=\"text/css\" rel=\"stylesheet\" 
nonce=\"ndaXRbyfu8jCyYRNdyAmn5KIg\"\
+            \ href=\"/static/pagure.css?version=5.13.3\"/>\n  </head>\n  <body 
id=\"\
+            error\">\n    \n    <!-- start masthead -->\n    <nav 
class=\"navbar navbar-light\
+            \ masthead p-0 navbar-expand\">\n      <div class=\"container\">\n 
  \
+            \     <a href=\"/\" class=\"navbar-brand\">\n        <img 
height=\"40\"\
+            \ src=\"/theme/static/pagure-logo.png?version=5.13.3\"\n           
  alt=\"\
+            pagure Logo\" id=\"pagureLogo\"/>\n        </a>\n        <ul 
class=\"\
+            navbar-nav ml-auto\">\n\n          \n\n          <li 
class=\"nav-item\"\
+            >\n            <a class=\"btn btn-primary\" 
href=\"/login/?next=https://pagure.io/ogr-tests/raw/master/f/.blablabla_no_file\"\
+            >Log In</a>\n          </li>\n        </ul>\n      </div>\n    
</nav>\n\
+            \    <!-- close masthead-->\n\n    <div 
class=\"bodycontent\">\n\n\n<div\
+            \ class=\"container p-t-3\">\n  <div class=\"row\">\n    <div 
class=\"\
+            col-md-8\">\n      <h2>Page not found (404)</h2>\n      <p>With 
the message:</p>\n\
+            \      <div class=\"card-block\">\n      <p>File not found</p>\n   
  \
+            \ </div>\n      <p>You have either entered a bad URL or the page 
has moved,\
+            \ removed, or otherwise rendered unavailable.<br/>\n      Please 
use the\
+            \ main navigation menu to get (re)started.</p>\n    </div>\n  
</div>\n\
+            </div>\n    </div>\n\n        <div class=\"footer pt-4 
text-white\">\n\
+            \        <div class=\"container\">\n            <div 
class=\"d-flex align-items-center\"\
+            >\n                <div>\n                    <div>Powered by <a 
href=\"\
+            https://pagure.io/pagure\"; class=\"notblue\">Pagure</a> 
5.13.3</div>\n\
+            \                    <div>\n                        <a 
href=\"https://docs.pagure.org/pagure/usage/index.html\"\
+            \ class=\"notblue\">Documentation</a> &bull;\n                     
  \
+            \ <a href=\"https://pagure.io/pagure/new_issue\"; 
class=\"notblue\">File\
+            \ an Issue</a> &bull;\n                        <a 
href=\"/about\">About</a>\
+            \ &bull;\n                        <a href=\"/ssh_info\" 
class=\"notblue\"\
+            >SSH Hostkey/Fingerprint</a>\n                    </div>\n         
  \
+            \     </div>\n                <div class=\"ml-auto text-right\">\n 
  \
+            \                 <div>&copy; Red Hat, Inc. and others.</div>\n    
  \
+            \          </div>\n            </div>\n        </div>\n    
</div>\n\n\n\
+            \    <script type=\"text/javascript\" 
nonce=\"ndaXRbyfu8jCyYRNdyAmn5KIg\"\
+            \ 
src=\"/static/vendor/jquery/jquery.min.js?version=5.13.3\"></script>\n\
+            \n    <script 
src=\"/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.13.3\"\
+            ></script>\n\n    <script type=\"text/javascript\" 
nonce=\"ndaXRbyfu8jCyYRNdyAmn5KIg\"\
+            >\n      $('[data-toggle=\"tooltip\"]').tooltip({placement : 
'bottom'});\n\
+            \      $(\".cancel_btn\").click(function() {\n        
history.back();\n\
+            \      });\n    </script>\n\n</body>\n</html>"
+          _next: null
+          elapsed: 0.243651
+          encoding: utf-8
+          headers:
+            Connection: Keep-Alive
+            Content-Length: '3509'
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-ndaXRbyfu8jCyYRNdyAmn5KIg';
+              style-src 'self' 'nonce-ndaXRbyfu8jCyYRNdyAmn5KIg'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
+            Content-Type: text/html; charset=utf-8
+            Date: Tue, 04 Oct 2022 08:50:29 GMT
+            Keep-Alive: timeout=5, max=98
+            Referrer-Policy: same-origin
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiZTdjOTI2NDRjOTFiMDg0MDU2MmViZmVlY2ZiNWM2YTQzMGJhYmI4NCJ9.Fh2FVQ.5XAeZN982E1V-weRKMsAv1ilYRs;
+              Expires=Fri, 04-Nov-2022 08:50:29 GMT; Secure; HttpOnly; Path=/
+            Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
+            X-Content-Type-Options: nosniff
+            X-Frame-Options: ALLOW-FROM https://pagure.io/
+            X-Xss-Protection: 1; mode=block
+          raw: !!binary ""
+          reason: INTERNAL SERVER ERROR
+          status_code: 500
+    POST:
+      https://pagure.io/api/0/-/whoami:
+      - metadata:
+          latency: 0.5406270027160645
+          module_call_list:
+          - unittest.case
+          - requre.record_and_replace
+          - tests.integration.pagure.test_generic_commands
+          - tests.integration.pagure.base
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.user
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - requests.sessions
+          - requre.objects
+          - requre.cassette
+          - requests.sessions
+          - send
+        output:
+          __store_indicator: 2
+          _content:
+            username: mmassari
+          _next: null
+          elapsed: 0.540251
+          encoding: utf-8
+          headers:
+            Connection: Upgrade, Keep-Alive
+            Content-Length: '29'
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-MAxAjK0skkUylJXc9zxDipZrp';
+              style-src 'self' 'nonce-MAxAjK0skkUylJXc9zxDipZrp'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
+            Content-Type: application/json
+            Date: Tue, 04 Oct 2022 08:50:29 GMT
+            Keep-Alive: timeout=5, max=100
+            Referrer-Policy: same-origin
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiZTdjOTI2NDRjOTFiMDg0MDU2MmViZmVlY2ZiNWM2YTQzMGJhYmI4NCJ9.Fh2FVQ.5XAeZN982E1V-weRKMsAv1ilYRs;
+              Expires=Fri, 04-Nov-2022 08:50:29 GMT; Secure; HttpOnly; Path=/
+            Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
+            Upgrade: h2,h2c
+            X-Content-Type-Options: nosniff
+            X-Frame-Options: ALLOW-FROM https://pagure.io/
+            X-Xss-Protection: 1; mode=block
+          raw: !!binary ""
+          reason: OK
+          status_code: 200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ogr-0.40.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_nonexisting_file.yaml
 
new/ogr-0.41.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_nonexisting_file.yaml
--- 
old/ogr-0.40.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_nonexisting_file.yaml
  2022-09-16 13:42:04.000000000 +0200
+++ 
new/ogr-0.41.0/tests/integration/pagure/test_data/test_generic_commands/GenericCommands.test_nonexisting_file.yaml
  2022-10-27 12:53:49.000000000 +0200
@@ -1,18 +1,80 @@
 _requre:
   DataTypes: 1
   key_strategy: StorageKeysInspectSimple
-  version_storage_file: 2
+  version_storage_file: 3
 requests.sessions:
   send:
     GET:
+      https://pagure.io/api/0/ogr-tests/git/branches:
+      - metadata:
+          latency: 0.25931501388549805
+          module_call_list:
+          - unittest.case
+          - requre.record_and_replace
+          - tests.integration.pagure.test_generic_commands
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - requests.sessions
+          - requre.objects
+          - requre.cassette
+          - requests.sessions
+          - send
+        output:
+          __store_indicator: 2
+          _content:
+            branches:
+            - for-testing-get-files
+            - master
+            - testPR
+            default: master
+            total_branches: 3
+          _next: null
+          elapsed: 0.258924
+          encoding: utf-8
+          headers:
+            Connection: Keep-Alive
+            Content-Length: '130'
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-aufissiz8IvildPiesiimlKJw';
+              style-src 'self' 'nonce-aufissiz8IvildPiesiimlKJw'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
+            Content-Type: application/json
+            Date: Tue, 04 Oct 2022 08:18:38 GMT
+            Keep-Alive: timeout=5, max=99
+            Referrer-Policy: same-origin
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiMmEzMTFjMjgxYjA5YzRiNGY4OGMyNGIxOWI1OTAyMzUwZDIzYmVkYSJ9.Fh193g.jFXLJdJaxa6zcG3iz9WdSOR2cOo;
+              Expires=Fri, 04-Nov-2022 08:18:38 GMT; Secure; HttpOnly; Path=/
+            Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
+            X-Content-Type-Options: nosniff
+            X-Frame-Options: ALLOW-FROM https://pagure.io/
+            X-Xss-Protection: 1; mode=block
+          raw: !!binary ""
+          reason: OK
+          status_code: 200
       https://pagure.io/ogr-tests/raw/master/f/.blablabla_nonexisting_file:
       - metadata:
-          latency: 0.2503077983856201
+          latency: 0.22636151313781738
           module_call_list:
           - unittest.case
-          - requre.online_replacing
+          - requre.record_and_replace
           - tests.integration.pagure.test_generic_commands
+          - ogr.abstract
+          - ogr.services.pagure.project
+          - ogr.abstract
           - ogr.services.pagure.project
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
           - ogr.services.pagure.service
           - requests.sessions
           - requre.objects
@@ -24,20 +86,20 @@
           _content: "\n<!DOCTYPE html>\n<html lang='en'>\n<head>\n    <meta 
http-equiv=\"\
             Content-Type\" content=\"text/html; charset=UTF-8\"/>\n    
<title>Page\
             \ not found :'( - Pagure.io</title>\n        <link rel=\"shortcut 
icon\"\
-            \ type=\"image/vnd.microsoft.icon\"\n        
href=\"/theme/static/favicon.ico?version=5.11.2\"\
-            />\n    <link 
href=\"/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.11.2\"\
-            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/fonts/fonts.css?version=5.11.2\"\
-            \n        rel=\"stylesheet\" type=\"text/css\" />\n    <link 
href=\"/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.11.2\"\
-            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/theme.css?version=5.11.2\"\
+            \ type=\"image/vnd.microsoft.icon\"\n        
href=\"/theme/static/favicon.ico?version=5.13.3\"\
+            />\n    <link 
href=\"/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.3\"\
+            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/fonts/fonts.css?version=5.13.3\"\
+            \n        rel=\"stylesheet\" type=\"text/css\" />\n    <link 
href=\"/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.3\"\
+            \n        type=\"text/css\" rel=\"stylesheet\" />\n    <link 
href=\"/theme/static/theme.css?version=5.13.3\"\
             \n        type=\"text/css\" rel=\"stylesheet\" />\n\n    <link 
type=\"\
-            text/css\" rel=\"stylesheet\" nonce=\"ZE4PZ7yQMT7GEChJtq85sl4nk\" 
href=\"\
-            /static/vendor/font-awesome/font-awesome.css?version=5.11.2\"/>\n  
  <link\
-            \ type=\"text/css\" rel=\"stylesheet\" 
nonce=\"ZE4PZ7yQMT7GEChJtq85sl4nk\"\
-            \ href=\"/static/pagure.css?version=5.11.2\"/>\n  </head>\n  <body 
id=\"\
+            text/css\" rel=\"stylesheet\" nonce=\"2iQgLu1f236bPNWpzit5mN8sh\" 
href=\"\
+            /static/vendor/font-awesome/font-awesome.css?version=5.13.3\"/>\n  
  <link\
+            \ type=\"text/css\" rel=\"stylesheet\" 
nonce=\"2iQgLu1f236bPNWpzit5mN8sh\"\
+            \ href=\"/static/pagure.css?version=5.13.3\"/>\n  </head>\n  <body 
id=\"\
             error\">\n    \n    <!-- start masthead -->\n    <nav 
class=\"navbar navbar-light\
             \ masthead p-0 navbar-expand\">\n      <div class=\"container\">\n 
  \
-            \     <a href=\"/\" class=\"navbar-brand\">\n        <img 
height=40px\
-            \ src=\"/theme/static/pagure-logo.png?version=5.11.2\"\n           
  alt=\"\
+            \     <a href=\"/\" class=\"navbar-brand\">\n        <img 
height=\"40\"\
+            \ src=\"/theme/static/pagure-logo.png?version=5.13.3\"\n           
  alt=\"\
             pagure Logo\" id=\"pagureLogo\"/>\n        </a>\n        <ul 
class=\"\
             navbar-nav ml-auto\">\n\n          \n\n          <li 
class=\"nav-item\"\
             >\n            <a class=\"btn btn-primary\" 
href=\"/login/?next=https://pagure.io/ogr-tests/raw/master/f/.blablabla_nonexisting_file\"\
@@ -52,7 +114,7 @@
             </div>\n    </div>\n\n        <div class=\"footer pt-4 
text-white\">\n\
             \        <div class=\"container\">\n            <div 
class=\"d-flex align-items-center\"\
             >\n                <div>\n                    <div>Powered by <a 
href=\"\
-            https://pagure.io/pagure\"; class=\"notblue\">Pagure</a> 
5.11.2</div>\n\
+            https://pagure.io/pagure\"; class=\"notblue\">Pagure</a> 
5.13.3</div>\n\
             \                    <div>\n                        <a 
href=\"https://docs.pagure.org/pagure/usage/index.html\"\
             \ class=\"notblue\">Documentation</a> &bull;\n                     
  \
             \ <a href=\"https://pagure.io/pagure/new_issue\"; 
class=\"notblue\">File\
@@ -62,30 +124,31 @@
             \     </div>\n                <div class=\"ml-auto text-right\">\n 
  \
             \                 <div>&copy; Red Hat, Inc. and others.</div>\n    
  \
             \          </div>\n            </div>\n        </div>\n    
</div>\n\n\n\
-            \    <script type=\"text/javascript\" 
nonce=\"ZE4PZ7yQMT7GEChJtq85sl4nk\"\
-            \ 
src=\"/static/vendor/jquery/jquery.min.js?version=5.11.2\"></script>\n\
-            \n    <script 
src=\"/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.11.2\"\
-            ></script>\n\n    <script type=\"text/javascript\" 
nonce=\"ZE4PZ7yQMT7GEChJtq85sl4nk\"\
+            \    <script type=\"text/javascript\" 
nonce=\"2iQgLu1f236bPNWpzit5mN8sh\"\
+            \ 
src=\"/static/vendor/jquery/jquery.min.js?version=5.13.3\"></script>\n\
+            \n    <script 
src=\"/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.13.3\"\
+            ></script>\n\n    <script type=\"text/javascript\" 
nonce=\"2iQgLu1f236bPNWpzit5mN8sh\"\
             >\n      $('[data-toggle=\"tooltip\"]').tooltip({placement : 
'bottom'});\n\
             \      $(\".cancel_btn\").click(function() {\n        
history.back();\n\
             \      });\n    </script>\n\n</body>\n</html>"
           _next: null
-          elapsed: 0.2
+          elapsed: 0.225941
           encoding: utf-8
           headers:
             Connection: Keep-Alive
             Content-Length: '3518'
-            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-YqLDC0BS8d7iY8mKO7VtBbIne'
-              https://apps.fedoraproject.org; style-src 'self' 
'nonce-YqLDC0BS8d7iY8mKO7VtBbIne';
-              object-src 'none';base-uri 'self';img-src 'self' https:;
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-2iQgLu1f236bPNWpzit5mN8sh';
+              style-src 'self' 'nonce-2iQgLu1f236bPNWpzit5mN8sh'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
             Content-Type: text/html; charset=utf-8
-            Date: Fri, 01 Nov 2019 13-36-03 GMT
-            Keep-Alive: timeout=5, max=99
+            Date: Tue, 04 Oct 2022 08:18:38 GMT
+            Keep-Alive: timeout=5, max=98
             Referrer-Policy: same-origin
-            Server: Apache/2.4.6 (Red Hat Enterprise Linux) 
OpenSSL/1.0.2k-fips mod_wsgi/3.4
-              Python/2.7.5
-            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmIjp7IiBiIjoiTldFMU9UQXlOMlE0TlRoall6QTBNVE14TkdVeFpEQXlNamhsTkdVeE1UQTNNR1E0TXpNMFlRPT0ifX0.EikagQ.dyhL04iOExXYHSaZuZEnzoCe21g;
-              Expires=Sun, 27-Sep-2020 10:20:49 GMT; Secure; HttpOnly; Path=/
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiMmEzMTFjMjgxYjA5YzRiNGY4OGMyNGIxOWI1OTAyMzUwZDIzYmVkYSJ9.Fh193g.jFXLJdJaxa6zcG3iz9WdSOR2cOo;
+              Expires=Fri, 04-Nov-2022 08:18:38 GMT; Secure; HttpOnly; Path=/
             Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
             X-Content-Type-Options: nosniff
             X-Frame-Options: ALLOW-FROM https://pagure.io/
@@ -96,14 +159,21 @@
     POST:
       https://pagure.io/api/0/-/whoami:
       - metadata:
-          latency: 0.8269674777984619
+          latency: 0.5508966445922852
           module_call_list:
           - unittest.case
-          - requre.online_replacing
+          - requre.record_and_replace
           - tests.integration.pagure.test_generic_commands
           - tests.integration.pagure.base
+          - ogr.abstract
           - ogr.services.pagure.service
+          - ogr.abstract
           - ogr.services.pagure.user
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
+          - ogr.services.pagure.service
+          - ogr.abstract
           - ogr.services.pagure.service
           - requests.sessions
           - requre.objects
@@ -113,25 +183,27 @@
         output:
           __store_indicator: 2
           _content:
-            username: mfocko
+            username: mmassari
           _next: null
-          elapsed: 0.2
-          encoding: null
+          elapsed: 0.550539
+          encoding: utf-8
           headers:
-            Connection: Keep-Alive
-            Content-Length: '26'
-            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-YqLDC0BS8d7iY8mKO7VtBbIne'
-              https://apps.fedoraproject.org; style-src 'self' 
'nonce-YqLDC0BS8d7iY8mKO7VtBbIne';
-              object-src 'none';base-uri 'self';img-src 'self' https:;
+            Connection: Upgrade, Keep-Alive
+            Content-Length: '29'
+            Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-Ppl2QK8ztoQwgg7dgbgWnZ9kt';
+              style-src 'self' 'nonce-Ppl2QK8ztoQwgg7dgbgWnZ9kt'; object-src 
'none';base-uri
+              'self';img-src 'self' https:;connect-src 'self' 
https://pagure.io:8088;frame-src
+              https://docs.pagure.org;frame-ancestors https://pagure.io;
             Content-Type: application/json
-            Date: Fri, 01 Nov 2019 13-36-03 GMT
+            Date: Tue, 04 Oct 2022 08:18:37 GMT
             Keep-Alive: timeout=5, max=100
             Referrer-Policy: same-origin
-            Server: Apache/2.4.6 (Red Hat Enterprise Linux) 
OpenSSL/1.0.2k-fips mod_wsgi/3.4
-              Python/2.7.5
-            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmIjp7IiBiIjoiTldFMU9UQXlOMlE0TlRoall6QTBNVE14TkdVeFpEQXlNamhsTkdVeE1UQTNNR1E0TXpNMFlRPT0ifX0.EikagQ.dyhL04iOExXYHSaZuZEnzoCe21g;
-              Expires=Sun, 27-Sep-2020 10:20:49 GMT; Secure; HttpOnly; Path=/
+            Server: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k 
mod_wsgi/4.6.4
+              Python/3.6
+            Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiMmEzMTFjMjgxYjA5YzRiNGY4OGMyNGIxOWI1OTAyMzUwZDIzYmVkYSJ9.Fh193Q.FfHC8BLgrtrd9UspYLTVy9GPhIM;
+              Expires=Fri, 04-Nov-2022 08:18:37 GMT; Secure; HttpOnly; Path=/
             Strict-Transport-Security: max-age=31536000; includeSubDomains; 
preload
+            Upgrade: h2,h2c
             X-Content-Type-Options: nosniff
             X-Frame-Options: ALLOW-FROM https://pagure.io/
             X-Xss-Protection: 1; mode=block
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ogr-0.40.0/tests/integration/pagure/test_generic_commands.py 
new/ogr-0.41.0/tests/integration/pagure/test_generic_commands.py
--- old/ogr-0.40.0/tests/integration/pagure/test_generic_commands.py    
2022-09-16 13:42:04.000000000 +0200
+++ new/ogr-0.41.0/tests/integration/pagure/test_generic_commands.py    
2022-10-27 12:53:49.000000000 +0200
@@ -1,6 +1,9 @@
 # Copyright Contributors to the Packit project.
 # SPDX-License-Identifier: MIT
 
+import pytest
+from ogr.exceptions import PagureAPIException
+
 from requre.online_replacing import record_requests_for_all_methods
 
 from tests.integration.pagure.base import PagureTests
@@ -85,9 +88,14 @@
         assert {"a/b/lib.c", "a/b/main.c", 
"a/b/some_other_lib.c"}.issubset(files)
 
     def test_nonexisting_file(self):
-        with self.assertRaises(Exception) as _:
+        with self.assertRaises(FileNotFoundError) as _:
             self.ogr_project.get_file_content(".blablabla_nonexisting_file")
 
+    def test_no_file_server_error(self):
+        with pytest.raises(PagureAPIException) as ex:
+            self.ogr_project.get_file_content(".blablabla_no_file")
+        assert "INTERNAL SERVER ERROR" in str(ex)
+
     def test_parent_project(self):
         assert self.ogr_fork.parent.namespace is None
         assert self.ogr_fork.parent.repo == "ogr-tests"

Reply via email to