From 16a769ce4cf7ee04da75566a3411a9cc6e835b26 Mon Sep 17 00:00:00 2001 From: p0tat0chip Date: Thu, 8 May 2025 01:13:44 +0530 Subject: [PATCH 01/41] Update issue.py --- ogr/services/forgejo/issue.py | 166 +++++++++++++++++++++-- tests/integration/forgejo/base.py | 45 ++++++ tests/integration/forgejo/test_issues.py | 82 +++++++++++ 3 files changed, 285 insertions(+), 8 deletions(-) create mode 100644 tests/integration/forgejo/base.py create mode 100644 tests/integration/forgejo/test_issues.py diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 534de88cc..b2b1bfd14 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -1,18 +1,101 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +from datetime import datetime +from functools import partial +from typing import Optional, Union -from typing import Optional - -from pyforgejo.types import Issue as PyforgejoIssue +import pyforgejo.types.issue as _issue +from pyforgejo import NotFoundError from ogr.abstract import Issue, IssueStatus +from ogr.exceptions import IssueTrackerDisabled, OperationNotSupported from ogr.services import forgejo from ogr.services.base import BaseIssue +from ogr.services.forgejo.utils import paginate class ForgejoIssue(BaseIssue): - def __init__(self, raw_issue: PyforgejoIssue, project: "forgejo.ForgejoProject"): + project: "forgejo.ForgejoProject" + + def __init__(self, raw_issue: _issue, project: "forgejo.ForgejoProject"): super().__init__(raw_issue, project) + self._raw_issue = raw_issue + + @property + def _index(self): + return self._raw_issue.number + + @property + def api(self): + """Returns the issue API client from pyforgejo.""" + return self.project.service.api.issue + + def partial_api(self, method, /, *args, **kwargs): + """Returns a partial API call for ForgejoIssue. + + Injects owner, repo, and index parameters for the calls to issue API endpoints. + + Args: + method: Specific method on the Pyforgejo API that is to be wrapped. + *args: Positional arguments that get injected into every call. + **kwargs: Keyword-arguments that get injected into every call. + + Returns: + Callable with pre-injected parameters. + """ + params = {"owner": self.project.namespace, "repo": self.project.repo} + + # Include the issue index only for methods that need it + if "get_issue" in str(method) or "edit_issue" in str(method): + params["index"] = self._index + + return partial(method, *args, **kwargs, **params) + + def __update_info(self) -> None: + """Refresh the local issue object with the latest data from the server.""" + self._raw_issue = self.partial_api(self.api.get_issue)() + + @property + def title(self) -> str: + return self._raw_issue.title + + @title.setter + def title(self, new_title: str) -> None: + self.partial_api(self.api.edit_issue)(title=new_title) + self.__update_info() + + @property + def id(self) -> int: + return self._raw_issue.number + + @property + def url(self) -> str: + return self._raw_issue.url + + @property + def description(self) -> str: + return self._raw_issue.body + + @description.setter + def description(self, text: str): + self.partial_api(self.api.edit_issue)(body=text) + self.__update_info() + + @property + def author(self) -> str: + return self._raw_issue.user.login + + @property + def created(self) -> datetime: + return self._raw_issue.created_at + + @property + def status(self) -> IssueStatus: + return IssueStatus[self._raw_issue.state] + + @property + def assignees(self) -> list: + return getattr(self._raw_issue, "assignees", []) or [] @staticmethod def create( @@ -21,13 +104,38 @@ def create( body: str, private: Optional[bool] = None, labels: Optional[list[str]] = None, - assignees: Optional[list] = None, + assignees: Optional[list[str]] = None, ) -> "Issue": - raise NotImplementedError("TBD") + + if private: + raise NotImplementedError() + if not project.has_issues: + raise IssueTrackerDisabled() + + issue = project.service.api.issue.create_issue( + owner=project.namespace, + repo=project.repo, + title=title, + body=body, + labels=labels, + assignees=assignees, + ) + return ForgejoIssue(issue, project) @staticmethod def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": - raise NotImplementedError("TBD") + if not project.has_issues: + raise IssueTrackerDisabled() + + try: + issue = project.service.api.issue.get_issue( + owner=project.namespace, + repo=project.repo, + index=issue_id, + ) + except Exception as ex: + raise OperationNotSupported(f"Issue {issue_id} not found") from ex + return ForgejoIssue(issue, project) @staticmethod def get_list( @@ -37,4 +145,46 @@ def get_list( assignee: Optional[str] = None, labels: Optional[list[str]] = None, ) -> list["Issue"]: - raise NotImplementedError("TBD") + if not project.has_issues: + raise IssueTrackerDisabled() + + parameters: dict[str, Union[str, list[str], bool]] = { + "state": status.name, + "type": "issues", + } + if author: + parameters["created_by"] = author + if assignee: + parameters["assigned_by"] = assignee + if labels: + parameters["labels"] = labels + try: + issues_paginator = paginate( + project.service.api.issue.list_issues, + owner=project.namespace, + repo=project.repo, + **parameters, + ) + return [ForgejoIssue(issue, project) for issue in issues_paginator] + except NotFoundError as ex: + if "user does not exist" in str(ex): + return [] + raise OperationNotSupported(f"Failed to list issues {ex}") from ex + + def close(self) -> "Issue": + self.partial_api(self.api.edit_issue)(state="closed") + self.__update_info() + return self + + def add_assignee(self, *assignees: str) -> None: + current_assignees = [ + assignee.login if hasattr(assignee, "login") else assignee + for assignee in self.assignees + ] + updated_assignees = list(set(current_assignees + list(assignees))) + self.partial_api(self.api.edit_issue)(assignees=updated_assignees) + self.__update_info() + + def add_label(self, *labels: str) -> None: + self.partial_api(self.api.add_label)(labels=labels, index=self._index) + self.__update_info() diff --git a/tests/integration/forgejo/base.py b/tests/integration/forgejo/base.py new file mode 100644 index 000000000..6c533f7d1 --- /dev/null +++ b/tests/integration/forgejo/base.py @@ -0,0 +1,45 @@ +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT + +import os +import unittest +from pathlib import Path + +from requre.utils import get_datafile_filename + +from ogr import ForgejoService + + +class ForgejoTests(unittest.TestCase): + def setUp(self): + super().setUp() + self.api_key = os.environ.get("FORGEJO_TOKEN") + + if not Path(get_datafile_filename(obj=self)).exists() and not self.api_key: + raise OSError( + "You are in Requre write mode, please set FORGEJO_TOKEN env variables", + ) + + if not self.api_key: + self.api_key = "some_token" + + self._service = None + self._project = None + + @property + def service(self): + if not self._service: + self._service = ForgejoService( + api_key=self.api_key, + instance_url="https://v10.next.forgejo.org", + ) + return self._service + + @property + def project(self): + if not self._project: + self._project = self.service.get_project( + repo="ogr-tests", + namespace="manky201", + ) + return self._project diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py new file mode 100644 index 000000000..b5ba68234 --- /dev/null +++ b/tests/integration/forgejo/test_issues.py @@ -0,0 +1,82 @@ +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT +from requre.online_replacing import record_requests_for_all_methods + +from ogr.abstract import IssueStatus +from tests.integration.forgejo.base import ForgejoTests + + +@record_requests_for_all_methods() +class Issues(ForgejoTests): + + random_str = "abcdedfgh" + title = "Issue title" + description = "Issue body" + + def test_get_issue_list(self): + issue_list = self.project.get_issue_list() + assert issue_list + assert len(issue_list) >= 1 + + def test_get_issue_list_author(self): + issue_list = self.project.get_issue_list( + status=IssueStatus.all, + author="manky201", + ) + assert issue_list + assert len(issue_list) >= 3 + + def test_get_issue_list_nonexisting_author(self): + issue_list = self.project.get_issue_list( + status=IssueStatus.all, + author="xyzidontexist", + ) + assert len(issue_list) == 0 + + def test_get_issue_list_assignee(self): + issue_list = self.project.get_issue_list( + status=IssueStatus.all, + assignee="manky201", + ) + assert issue_list + assert len(issue_list) >= 2 + + def test_issue_info(self): + title = "test Title ABC" + description = "This is a test issue for checking title prefix" + issue = self.project.create_issue(title=title, body=description) + fetched = self.project.get_issue(issue.id) + assert fetched.title.startswith("test Title") + + def test_create_issue_with_assignee(self): + issue_title = "This is a example issue" + issue_desc = "Description for issue" + assign = ["manky201"] + project = self.project + issue = project.create_issue( + title=issue_title, + body=issue_desc, + assignees=assign, + ) + assert issue.title == issue_title + assert issue.assignees[0].login == assign[0] + assert issue.description == issue_desc + + def test_close_issue(self): + issue = self.project.create_issue( + title=f"Close issue {self.random_str}", + body=f"Description for issue for closing {self.random_str}", + ) + issue_for_closing = self.project.get_issue(issue_id=issue.id) + assert issue_for_closing.status == IssueStatus.open + + issue.close() + assert issue.status == IssueStatus.closed + + def test_issue_assignees(self): + project = self.project + issue = project.get_issue(1) + assignees = issue.assignees + assignees = project.get_issue(1).assignees + assert len(assignees) == 1 + assert assignees[0].login == "manky201" From 0f7574b47965ca1af18ca20183bbed8022b8b14b Mon Sep 17 00:00:00 2001 From: Mayank Singh <166798988+mynk8@users.noreply.github.com> Date: Fri, 30 May 2025 08:44:54 +0530 Subject: [PATCH 02/41] Update ogr/services/forgejo/issue.py Co-authored-by: Matej Focko --- ogr/services/forgejo/issue.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index b2b1bfd14..cf5569adc 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -159,13 +159,15 @@ def get_list( if labels: parameters["labels"] = labels try: - issues_paginator = paginate( - project.service.api.issue.list_issues, - owner=project.namespace, - repo=project.repo, - **parameters, + return ( + ForgejoIssue(issue, project) + for issue in paginate( + project.service.api.issue.list_issues, + owner=project.namespace, + repo=project.repo, + **parameters, + ) ) - return [ForgejoIssue(issue, project) for issue in issues_paginator] except NotFoundError as ex: if "user does not exist" in str(ex): return [] From 867f3cf6923ee165fe8803d2914d2d63fc185c12 Mon Sep 17 00:00:00 2001 From: mynk8 Date: Sun, 20 Jul 2025 13:54:34 +0530 Subject: [PATCH 03/41] WIP: comments and reactions --- ogr/services/forgejo/comments.py | 79 ++++++++++++++++++++++++++++ ogr/services/forgejo/issue.py | 33 +++++++++--- ogr/services/forgejo/pull_request.py | 41 +++++++++++++-- ogr/services/forgejo/service.py | 5 +- 4 files changed, 145 insertions(+), 13 deletions(-) create mode 100644 ogr/services/forgejo/comments.py diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py new file mode 100644 index 000000000..14dd258dd --- /dev/null +++ b/ogr/services/forgejo/comments.py @@ -0,0 +1,79 @@ +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT + +import datetime +import logging +from urllib.parse import urlparse + +import pyforgejo +from pyforgejo.types import Comment as _ForgejoComment +from pyforgejo.types.reaction import Reaction as _ForgejoReaction + +from ogr.abstract import Comment, IssueComment, PRComment, Reaction +from ogr.exceptions import OperationNotSupported + +logger = logging.getLogger(__name__) + + +class ForgejoReaction(Reaction): + _raw_reaction: _ForgejoReaction + + def __str__(self): + return "Forgejo" + super().__str__() + + def delete(self): + self._raw_reaction.delete() + + +class ForgejoComment(Comment): + def _from_raw_comment(self, raw_comment: _ForgejoComment) -> None: + self._raw_comment = raw_comment + self._id = raw_comment.id + self._author = raw_comment.original_author + self._created = raw_comment.created_at + self._edited = raw_comment.updated_at + + @property + def body(self) -> str: + return self._raw_comment.body + + @body.setter + def body(self, new_body: str) -> None: + raise OperationNotSupported + + def _get_owner_and_repo(self): + issue_url = self._raw_comment.issue_url + parts = urlparse(issue_url).path.strip("/").split("/") + namespace, repo = parts[0], parts[1] + return (namespace, repo) + + @property + def edited(self) -> datetime.datetime: + return self._edited + + @property + def _client(self): + return self._parent.project.service.api + + def get_reactions(self) -> list[Reaction]: + client = self._client + reactions = client.issue.get_comment_reactions(owner=self._parent.project.namespace, repo=self._parent.project.repo, id=self._id) + return ( + ForgejoReaction(raw_reaction=reaction) + for reaction in reactions + ) + + def add_reaction(self, reaction: str) -> Reaction: + client = self._client + client.issue.post_comment_reaction(owner=self._parent.project.namespace, repo=self._parent.project.repo, id=self._id, content=reaction) + return ForgejoReaction(raw_reaction=reaction) + + +class ForgejoIssueComment(ForgejoComment, IssueComment): + def __str__(self) -> str: + return "Forgejo" + super().__str__() + + +class ForgejoPRComment(ForgejoComment, PRComment): + def __str__(self) -> str: + return "Forgejo" + super().__str__() diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index cf5569adc..42b0097e7 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -11,6 +11,7 @@ from ogr.exceptions import IssueTrackerDisabled, OperationNotSupported from ogr.services import forgejo from ogr.services.base import BaseIssue +from ogr.services.forgejo.comments import ForgejoIssueComment from ogr.services.forgejo.utils import paginate @@ -33,6 +34,7 @@ def api(self): def partial_api(self, method, /, *args, **kwargs): """Returns a partial API call for ForgejoIssue. + Injects owner, repo, and index parameters for the calls to issue API endpoints. Args: @@ -51,10 +53,6 @@ def partial_api(self, method, /, *args, **kwargs): return partial(method, *args, **kwargs, **params) - def __update_info(self) -> None: - """Refresh the local issue object with the latest data from the server.""" - self._raw_issue = self.partial_api(self.api.get_issue)() - @property def title(self) -> str: return self._raw_issue.title @@ -62,6 +60,7 @@ def title(self) -> str: @title.setter def title(self, new_title: str) -> None: self.partial_api(self.api.edit_issue)(title=new_title) + self.__update_info() @property @@ -106,7 +105,6 @@ def create( labels: Optional[list[str]] = None, assignees: Optional[list[str]] = None, ) -> "Issue": - if private: raise NotImplementedError() if not project.has_issues: @@ -133,6 +131,7 @@ def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": repo=project.repo, index=issue_id, ) + except Exception as ex: raise OperationNotSupported(f"Issue {issue_id} not found") from ex return ForgejoIssue(issue, project) @@ -156,6 +155,7 @@ def get_list( parameters["created_by"] = author if assignee: parameters["assigned_by"] = assignee + if labels: parameters["labels"] = labels try: @@ -175,9 +175,28 @@ def get_list( def close(self) -> "Issue": self.partial_api(self.api.edit_issue)(state="closed") - self.__update_info() + return self + def get_comments(self): + return [ + ForgejoIssueComment(comment, parent=self) + for comment in self.api.get_comments( + owner=self.project.namespace, + repo=self.project.repo, + index=self._index, + ) + ] or [] + + def get_comment(self, comment_id: int): + return ForgejoIssueComment( + self.api.get_comment( + owner=self.project.namespace, + repo=self.project.repo, + id=comment_id, + ), parent=self + ) + def add_assignee(self, *assignees: str) -> None: current_assignees = [ assignee.login if hasattr(assignee, "login") else assignee @@ -185,8 +204,6 @@ def add_assignee(self, *assignees: str) -> None: ] updated_assignees = list(set(current_assignees + list(assignees))) self.partial_api(self.api.edit_issue)(assignees=updated_assignees) - self.__update_info() def add_label(self, *labels: str) -> None: self.partial_api(self.api.add_label)(labels=labels, index=self._index) - self.__update_info() diff --git a/ogr/services/forgejo/pull_request.py b/ogr/services/forgejo/pull_request.py index d75315010..ec15dcb7f 100644 --- a/ogr/services/forgejo/pull_request.py +++ b/ogr/services/forgejo/pull_request.py @@ -21,6 +21,7 @@ from ogr.exceptions import ForgejoAPIException, OgrNetworkError from ogr.services import forgejo from ogr.services.base import BasePullRequest +from ogr.services.forgejo.comments import ForgejoPRComment from ogr.services.forgejo.label import ForgejoPRLabel from ogr.services.forgejo.utils import paginate @@ -38,10 +39,16 @@ def __init__( project: "forgejo.ForgejoProject", ): super().__init__(raw_pr, project) + self.project = project def __str__(self) -> str: return "Forgejo" + super().__str__() + @property + def api(self): + """Returns the issue API client from pyforgejo.""" + return self.project.service.api.issue + @property def title(self) -> str: return self._raw_pr.title @@ -313,7 +320,23 @@ def get_comments( Returns: List of pull request comments. """ - raise NotImplementedError() + if filter_regex: + raise NotImplementedError + if reverse: + raise NotImplementedError + if author: + raise NotImplementedError + try: + return ( + ForgejoPRComment(raw_comment=comment, parent=self) + for comment in self.api.get_comments( + owner=self.project.namespace, + repo=self.project.repo, + index=self.id, + ) + ) + except NotFoundError as ex: + raise NotFoundError(f"{ex}") from ex def comment( self, @@ -340,7 +363,14 @@ def comment( Returns: Newly created comment. """ - raise NotImplementedError() + if commit: + raise NotImplementedError + + if filename: + raise NotImplementedError + + if row: + raise NotImplementedError def get_comment(self, comment_id: int) -> PRComment: """ @@ -352,7 +382,12 @@ def get_comment(self, comment_id: int) -> PRComment: Returns: Object representing a PR comment. """ - raise NotImplementedError() + comment = self.project.service.api.issue.get_comment( + owner=self.project.namespace, + repo=self.project.repo, + id=comment_id, + ) + return ForgejoPRComment(parent=self,raw_comment=comment) def get_statuses(self) -> Union[list[CommitFlag], Iterable[CommitFlag]]: """ diff --git a/ogr/services/forgejo/service.py b/ogr/services/forgejo/service.py index 4039b11f2..5d80b4059 100644 --- a/ogr/services/forgejo/service.py +++ b/ogr/services/forgejo/service.py @@ -1,6 +1,7 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +import os from functools import cached_property from typing import Optional from urllib.parse import urlparse @@ -23,12 +24,12 @@ class ForgejoService(BaseGitService): def __init__( self, instance_url: str = "https://codeberg.org", - api_key: Optional[str] = None, + token: Optional[str] = None, **kwargs, ): super().__init__() self.instance_url = instance_url + self.version - self._token = f"token {api_key}" + self._token = f"token {token}" self._api = None @cached_property From be5e3c890f771530e1b5806c53cf4b4f91fbecfb Mon Sep 17 00:00:00 2001 From: mynk8 <166798988+mynk8@users.noreply.github.com> Date: Thu, 31 Jul 2025 21:12:46 +0530 Subject: [PATCH 04/41] comments and reactions --- ogr/services/forgejo/comments.py | 17 +++++++++++------ ogr/services/forgejo/issue.py | 10 ++++------ ogr/services/forgejo/pull_request.py | 6 +++--- ogr/services/forgejo/service.py | 1 - 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index 14dd258dd..7e27e0c81 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -5,7 +5,6 @@ import logging from urllib.parse import urlparse -import pyforgejo from pyforgejo.types import Comment as _ForgejoComment from pyforgejo.types.reaction import Reaction as _ForgejoReaction @@ -57,15 +56,21 @@ def _client(self): def get_reactions(self) -> list[Reaction]: client = self._client - reactions = client.issue.get_comment_reactions(owner=self._parent.project.namespace, repo=self._parent.project.repo, id=self._id) - return ( - ForgejoReaction(raw_reaction=reaction) - for reaction in reactions + reactions = client.issue.get_comment_reactions( + owner=self._parent.project.namespace, + repo=self._parent.project.repo, + id=self._id, ) + return [ForgejoReaction(raw_reaction=reaction) for reaction in reactions] def add_reaction(self, reaction: str) -> Reaction: client = self._client - client.issue.post_comment_reaction(owner=self._parent.project.namespace, repo=self._parent.project.repo, id=self._id, content=reaction) + client.issue.post_comment_reaction( + owner=self._parent.project.namespace, + repo=self._parent.project.repo, + id=self._id, + content=reaction, + ) return ForgejoReaction(raw_reaction=reaction) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 42b0097e7..ae45406cc 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -61,8 +61,6 @@ def title(self) -> str: def title(self, new_title: str) -> None: self.partial_api(self.api.edit_issue)(title=new_title) - self.__update_info() - @property def id(self) -> int: return self._raw_issue.number @@ -78,7 +76,6 @@ def description(self) -> str: @description.setter def description(self, text: str): self.partial_api(self.api.edit_issue)(body=text) - self.__update_info() @property def author(self) -> str: @@ -159,7 +156,7 @@ def get_list( if labels: parameters["labels"] = labels try: - return ( + return [ ForgejoIssue(issue, project) for issue in paginate( project.service.api.issue.list_issues, @@ -167,7 +164,7 @@ def get_list( repo=project.repo, **parameters, ) - ) + ] except NotFoundError as ex: if "user does not exist" in str(ex): return [] @@ -194,7 +191,8 @@ def get_comment(self, comment_id: int): owner=self.project.namespace, repo=self.project.repo, id=comment_id, - ), parent=self + ), + parent=self, ) def add_assignee(self, *assignees: str) -> None: diff --git a/ogr/services/forgejo/pull_request.py b/ogr/services/forgejo/pull_request.py index ec15dcb7f..b99aa58c9 100644 --- a/ogr/services/forgejo/pull_request.py +++ b/ogr/services/forgejo/pull_request.py @@ -330,7 +330,7 @@ def get_comments( return ( ForgejoPRComment(raw_comment=comment, parent=self) for comment in self.api.get_comments( - owner=self.project.namespace, + owner=self.project.namespace, repo=self.project.repo, index=self.id, ) @@ -344,7 +344,7 @@ def comment( commit: Optional[str] = None, filename: Optional[str] = None, row: Optional[int] = None, - ) -> "PRComment": + ): """ Add new comment to the pull request. @@ -387,7 +387,7 @@ def get_comment(self, comment_id: int) -> PRComment: repo=self.project.repo, id=comment_id, ) - return ForgejoPRComment(parent=self,raw_comment=comment) + return ForgejoPRComment(parent=self, raw_comment=comment) def get_statuses(self) -> Union[list[CommitFlag], Iterable[CommitFlag]]: """ diff --git a/ogr/services/forgejo/service.py b/ogr/services/forgejo/service.py index 5d80b4059..58321896e 100644 --- a/ogr/services/forgejo/service.py +++ b/ogr/services/forgejo/service.py @@ -1,7 +1,6 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT -import os from functools import cached_property from typing import Optional from urllib.parse import urlparse From 47a055e58df2eb4dd3acae0fe2aacc9da55e0ceb Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 16 Dec 2025 11:43:59 +0100 Subject: [PATCH 05/41] Use Packit team's testing repo and fix most failing tests In order to be able to record tests and make changes to the testing repo (in order to add more tests), the Packit team's testing repo is now in use. Most failing tests have been fixed and tests were edited to reflect the current state of the testing repo. --- tests/integration/forgejo/base.py | 12 ++++++------ tests/integration/forgejo/test_issues.py | 14 ++++++-------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/tests/integration/forgejo/base.py b/tests/integration/forgejo/base.py index 6c533f7d1..c3b064186 100644 --- a/tests/integration/forgejo/base.py +++ b/tests/integration/forgejo/base.py @@ -13,15 +13,15 @@ class ForgejoTests(unittest.TestCase): def setUp(self): super().setUp() - self.api_key = os.environ.get("FORGEJO_TOKEN") + self.token = os.environ.get("FORGEJO_TOKEN") - if not Path(get_datafile_filename(obj=self)).exists() and not self.api_key: + if not Path(get_datafile_filename(obj=self)).exists() and not self.token: raise OSError( "You are in Requre write mode, please set FORGEJO_TOKEN env variables", ) - if not self.api_key: - self.api_key = "some_token" + if not self.token: + self.token = "some_token" self._service = None self._project = None @@ -30,7 +30,7 @@ def setUp(self): def service(self): if not self._service: self._service = ForgejoService( - api_key=self.api_key, + token=self.token, instance_url="https://v10.next.forgejo.org", ) return self._service @@ -40,6 +40,6 @@ def project(self): if not self._project: self._project = self.service.get_project( repo="ogr-tests", - namespace="manky201", + namespace="packit-validator", ) return self._project diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index b5ba68234..d2ea50a8c 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -21,7 +21,7 @@ def test_get_issue_list(self): def test_get_issue_list_author(self): issue_list = self.project.get_issue_list( status=IssueStatus.all, - author="manky201", + author="packit-validator", ) assert issue_list assert len(issue_list) >= 3 @@ -36,10 +36,10 @@ def test_get_issue_list_nonexisting_author(self): def test_get_issue_list_assignee(self): issue_list = self.project.get_issue_list( status=IssueStatus.all, - assignee="manky201", + assignee="packit-validator", ) assert issue_list - assert len(issue_list) >= 2 + assert len(issue_list) >= 1 def test_issue_info(self): title = "test Title ABC" @@ -51,7 +51,7 @@ def test_issue_info(self): def test_create_issue_with_assignee(self): issue_title = "This is a example issue" issue_desc = "Description for issue" - assign = ["manky201"] + assign = ["packit-validator"] project = self.project issue = project.create_issue( title=issue_title, @@ -75,8 +75,6 @@ def test_close_issue(self): def test_issue_assignees(self): project = self.project - issue = project.get_issue(1) - assignees = issue.assignees - assignees = project.get_issue(1).assignees + assignees = project.get_issue(223).assignees assert len(assignees) == 1 - assert assignees[0].login == "manky201" + assert assignees[0].login == "packit-validator" From 3f3cd13b479ea2ab87a83b0e679673d868045a34 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 16 Dec 2025 12:21:24 +0100 Subject: [PATCH 06/41] Make it possible to record tests and add current responses --- .../test_issues/Issues.test_close_issue.yaml | 396 + ...ssues.test_create_issue_with_assignee.yaml | 271 + .../Issues.test_get_issue_list.yaml | 7319 +++++++++++++++++ .../Issues.test_get_issue_list_assignee.yaml | 1118 +++ .../Issues.test_get_issue_list_author.yaml | 1807 ++++ ...est_get_issue_list_nonexisting_author.yaml | 174 + .../Issues.test_issue_assignees.yaml | 270 + .../test_issues/Issues.test_issue_info.yaml | 310 + tests/integration/forgejo/test_issues.py | 3 + 9 files changed, 11668 insertions(+) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_close_issue.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_assignee.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_assignee.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_author.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_nonexisting_author.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_assignees.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_info.yaml diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_close_issue.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_close_issue.yaml new file mode 100644 index 000000000..267a90024 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_close_issue.yaml @@ -0,0 +1,396 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.4828934669494629 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 106 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.482529 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:12 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242: + - metadata: + latency: 0.7514865398406982 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/242 + id: 1144 + is_locked: false + labels: [] + milestone: null + number: 242 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:08:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.751373 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1308' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:14 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242: + - metadata: + latency: 1.3635904788970947 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:08:15Z' + comments: 0 + created_at: '2025-12-16T11:08:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/242 + id: 1144 + is_locked: false + labels: [] + milestone: null + number: 242 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:08:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 1.36342 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1328' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:16 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 1.2219476699829102 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/242 + id: 1144 + is_locked: false + labels: [] + milestone: null + number: 242 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:08:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 1.221658 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1308' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:14 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_assignee.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_assignee.yaml new file mode 100644 index 000000000..1d295a45e --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_assignee.yaml @@ -0,0 +1,271 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3159935474395752 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 106 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.315756 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:16 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 0.9553773403167725 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/243 + id: 1145 + is_locked: false + labels: [] + milestone: null + number: 243 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:08:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/243 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.955198 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:17 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list.yaml new file mode 100644 index 000000000..b3c4f3f5e --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list.yaml @@ -0,0 +1,7319 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.2938401699066162 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.293711 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:17 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=open&type=issues&page=1: + - metadata: + latency: 0.34563469886779785 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/243 + id: 1145 + is_locked: false + labels: [] + milestone: null + number: 243 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:08:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/243 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:57Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/241 + id: 1143 + is_locked: false + labels: [] + milestone: null + number: 241 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:05:57Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/241 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/240 + id: 1142 + is_locked: false + labels: [] + milestone: null + number: 240 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:05:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/240 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/239 + id: 1141 + is_locked: false + labels: [] + milestone: null + number: 239 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:02:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/239 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:32Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/238 + id: 1140 + is_locked: false + labels: [] + milestone: null + number: 238 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:02:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/238 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:36Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/236 + id: 1138 + is_locked: false + labels: [] + milestone: null + number: 236 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:01:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/236 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/235 + id: 1137 + is_locked: false + labels: [] + milestone: null + number: 235 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:01:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/235 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:22Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/233 + id: 1135 + is_locked: false + labels: [] + milestone: null + number: 233 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T10:58:22Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/233 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/232 + id: 1134 + is_locked: false + labels: [] + milestone: null + number: 232 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T10:58:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/232 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/230 + id: 1132 + is_locked: false + labels: [] + milestone: null + number: 230 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:27:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/230 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/229 + id: 1131 + is_locked: false + labels: [] + milestone: null + number: 229 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:27:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/229 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:52Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/227 + id: 1129 + is_locked: false + labels: [] + milestone: null + number: 227 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:25:52Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/227 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/226 + id: 1128 + is_locked: false + labels: [] + milestone: null + number: 226 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:25:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/226 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: [] + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:23:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/223 + id: 1125 + is_locked: false + labels: [] + milestone: null + number: 223 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:23:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:06Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/118 + id: 931 + is_locked: false + labels: [] + milestone: null + number: 118 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-08-21T21:47:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/118 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-08-21T21:47:05Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/117 + id: 930 + is_locked: false + labels: [] + milestone: null + number: 117 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-08-21T21:47:05Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/117 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:03Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/116 + id: 929 + is_locked: false + labels: [] + milestone: null + number: 116 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-08-21T21:47:03Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/116 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/115 + id: 928 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 115 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-08-21T21:47:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/115 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/113 + id: 926 + is_locked: false + labels: [] + milestone: null + number: 113 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-04-22T09:31:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/113 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-04-22T09:31:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/112 + id: 925 + is_locked: false + labels: [] + milestone: null + number: 112 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-04-22T09:31:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/112 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:56Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/111 + id: 924 + is_locked: false + labels: [] + milestone: null + number: 111 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-04-22T09:31:56Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/111 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/110 + id: 923 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 110 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-04-22T09:31:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/110 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/108 + id: 921 + is_locked: false + labels: [] + milestone: null + number: 108 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-01-05T18:41:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/108 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-01-05T18:41:19Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/107 + id: 920 + is_locked: false + labels: [] + milestone: null + number: 107 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-01-05T18:41:19Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/107 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/106 + id: 919 + is_locked: false + labels: [] + milestone: null + number: 106 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-01-05T18:41:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/106 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/105 + id: 918 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 105 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-01-05T18:41:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/105 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:17Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/103 + id: 916 + is_locked: false + labels: [] + milestone: null + number: 103 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2021-04-12T21:11:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/103 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2021-04-12T21:11:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/102 + id: 915 + is_locked: false + labels: [] + milestone: null + number: 102 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2021-09-24T09:39:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/102 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/101 + id: 914 + is_locked: false + labels: [] + milestone: null + number: 101 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2021-04-12T21:11:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/101 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.345369 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:18 GMT + link: ; + rel="next",; + rel="last" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '107' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=open&type=issues&page=2: + - metadata: + latency: 0.33574748039245605 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:14Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/100 + id: 913 + is_locked: false + labels: [] + milestone: null + number: 100 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2021-04-12T21:11:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/100 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T15:10:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/98 + id: 911 + is_locked: false + labels: [] + milestone: null + number: 98 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-19T15:10:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/98 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T15:10:14Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/97 + id: 910 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 97 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-19T15:10:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/97 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2020-10-19T13:16:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/96 + id: 909 + is_locked: false + labels: [] + milestone: null + number: 96 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2020-10-19T13:16:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/96 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2020-10-19T13:08:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/95 + id: 908 + is_locked: false + labels: [] + milestone: null + number: 95 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2020-10-19T13:08:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/95 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue spam issue + closed_at: null + comments: 0 + created_at: '2020-10-19T12:33:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/94 + id: 907 + is_locked: false + labels: [] + milestone: null + number: 94 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is not a spam + updated_at: '2020-10-19T12:33:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/94 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue spam issue + closed_at: null + comments: 2 + created_at: '2020-10-19T12:30:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/93 + id: 906 + is_locked: false + labels: [] + milestone: null + number: 93 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is not a spam + updated_at: '2020-10-19T12:33:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/93 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T12:27:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/92 + id: 905 + is_locked: false + labels: [] + milestone: null + number: 92 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue example + updated_at: '2020-10-19T12:27:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/92 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T12:25:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/91 + id: 904 + is_locked: false + labels: [] + milestone: null + number: 91 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue example + updated_at: '2020-10-19T12:25:43Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/91 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-12T10:27:35Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/90 + id: 903 + is_locked: false + labels: [] + milestone: null + number: 90 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-10-12T10:27:35Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/90 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-12T10:27:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/89 + id: 902 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 89 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-12T10:27:34Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/89 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:21Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/87 + id: 900 + is_locked: false + labels: [] + milestone: null + number: 87 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-08-31T08:33:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/87 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/86 + id: 899 + is_locked: false + labels: [] + milestone: null + number: 86 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-31T08:33:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/86 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/85 + id: 898 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 85 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-31T08:33:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/85 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:30:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/83 + id: 896 + is_locked: false + labels: [] + milestone: null + number: 83 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:30:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/83 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:30:54Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/82 + id: 895 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 82 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:30:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/82 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:29:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/81 + id: 894 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 81 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:29:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/81 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:29:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/80 + id: 893 + is_locked: false + labels: [] + milestone: null + number: 80 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-08-27T09:29:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/80 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefg + closed_at: null + comments: 0 + created_at: '2020-08-24T13:14:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/78 + id: 891 + is_locked: false + labels: [] + milestone: null + number: 78 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefg + updated_at: '2020-08-24T13:14:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/78 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefg + closed_at: null + comments: 0 + created_at: '2020-08-24T13:10:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/77 + id: 890 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 77 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefg + updated_at: '2020-08-24T13:10:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/77 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdef + closed_at: null + comments: 0 + created_at: '2020-08-24T13:05:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/76 + id: 889 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 76 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdef + updated_at: '2020-08-24T13:05:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/76 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:43:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/75 + id: 888 + is_locked: false + labels: [] + milestone: null + number: 75 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-24T08:43:40Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/75 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:43:38Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/74 + id: 887 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 74 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-24T08:43:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/74 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:17:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/72 + id: 885 + is_locked: false + labels: [] + milestone: null + number: 72 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-24T08:17:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/72 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:17:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/71 + id: 884 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 71 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-24T08:17:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/71 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T10:58:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/69 + id: 882 + is_locked: false + labels: [] + milestone: null + number: 69 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-21T10:58:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/69 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T10:58:25Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/68 + id: 881 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 68 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-21T10:58:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/68 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T09:25:11Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/66 + id: 879 + is_locked: false + labels: [] + milestone: null + number: 66 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-21T09:25:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/66 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T09:25:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/65 + id: 878 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 65 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-21T09:25:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/65 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-12T20:36:51Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/63 + id: 876 + is_locked: false + labels: [] + milestone: null + number: 63 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-12T20:36:51Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/63 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.335596 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:18 GMT + link: ; + rel="next",; + rel="last",; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '107' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=open&type=issues&page=3: + - metadata: + latency: 0.22788739204406738 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-12T20:36:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/62 + id: 875 + is_locked: false + labels: [] + milestone: null + number: 62 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-12T20:36:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/62 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-07-30T21:25:04Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/61 + id: 874 + is_locked: false + labels: [] + milestone: null + number: 61 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-07-30T21:25:04Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/61 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-07-30T12:08:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/60 + id: 873 + is_locked: false + labels: [] + milestone: null + number: 60 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-07-30T12:08:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/60 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Something useful here. + closed_at: null + comments: 0 + created_at: '2020-07-29T10:13:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/59 + id: 872 + is_locked: false + labels: [] + milestone: null + number: 59 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Confidential issue with labels + updated_at: '2020-07-29T10:13:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/59 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Something useful here. + closed_at: null + comments: 0 + created_at: '2020-07-29T10:12:41Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/58 + id: 871 + is_locked: false + labels: [] + milestone: null + number: 58 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Confidential issue with labels + updated_at: '2020-07-29T10:12:41Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/58 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:22:00Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/57 + id: 870 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 57 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 32 + updated_at: '2020-02-27T09:26:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/57 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/56 + id: 869 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 56 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 31 + updated_at: '2020-02-27T09:26:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/56 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/55 + id: 868 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 55 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 30 + updated_at: '2020-02-27T09:26:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/55 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/54 + id: 867 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 54 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 29 + updated_at: '2020-02-27T09:26:34Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/54 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/53 + id: 866 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 53 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 28 + updated_at: '2020-02-27T09:26:32Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/53 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:35Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/52 + id: 865 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 52 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 27 + updated_at: '2020-02-27T09:26:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/52 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:24Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/51 + id: 864 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 51 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 26 + updated_at: '2020-02-27T09:26:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/51 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:13Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/50 + id: 863 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 50 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 25 + updated_at: '2020-02-27T09:26:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/50 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/49 + id: 862 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 49 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 24 + updated_at: '2020-02-27T09:26:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/49 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:51Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/48 + id: 861 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 48 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 23 + updated_at: '2020-02-27T09:26:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/48 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/47 + id: 860 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 47 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 22 + updated_at: '2020-02-27T09:26:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/47 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:28Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/46 + id: 859 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 46 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 21 + updated_at: '2020-02-27T09:26:19Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/46 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:17Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/45 + id: 858 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 45 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 20 + updated_at: '2020-02-27T09:26:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/45 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:06Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/44 + id: 857 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 44 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 19 + updated_at: '2020-02-27T09:26:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/44 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/43 + id: 856 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 43 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 18 + updated_at: '2020-02-27T09:26:13Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/43 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/42 + id: 855 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 42 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 17 + updated_at: '2020-02-27T09:26:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/42 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcd' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/41 + id: 854 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 41 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 16 + updated_at: '2020-02-27T09:26:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/41 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcd' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:21Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/40 + id: 853 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 40 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 15 + updated_at: '2020-02-27T09:26:07Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/40 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abc' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/39 + id: 852 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 39 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 14 + updated_at: '2020-02-27T09:26:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/39 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:14:07Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/38 + id: 851 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 38 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 13 + updated_at: '2020-02-27T09:26:04Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/38 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:56Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/37 + id: 850 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 37 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 12 + updated_at: '2020-02-27T09:26:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/37 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:45Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/36 + id: 849 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 36 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 11 + updated_at: '2020-02-27T09:26:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/36 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/35 + id: 848 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 35 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 10 + updated_at: '2020-02-27T09:25:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/35 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/33 + id: 846 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 33 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 8 + updated_at: '2020-02-27T09:25:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/33 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/32 + id: 845 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 32 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 7 + updated_at: '2020-02-27T09:25:51Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/32 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.227654 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:18 GMT + link: ; + rel="next",; + rel="last",; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '107' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=open&type=issues&page=4: + - metadata: + latency: 0.2327268123626709 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/31 + id: 844 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 31 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 6 + updated_at: '2020-02-27T09:25:49Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/31 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:28Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/30 + id: 843 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 30 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 5 + updated_at: '2020-02-27T09:25:47Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/30 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:45Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/28 + id: 842 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 28 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 4 + updated_at: '2020-02-27T09:25:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/28 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/27 + id: 841 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 27 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 3 + updated_at: '2020-02-27T09:25:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/27 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/26 + id: 840 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 26 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 2 + updated_at: '2020-02-27T09:25:18Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/26 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:42Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/25 + id: 839 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 25 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 1 + updated_at: '2020-02-27T09:25:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/25 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:41Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/24 + id: 838 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 24 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 0 + updated_at: '2020-02-27T11:01:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/24 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 1 + created_at: '2019-11-20T19:36:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/23 + id: 837 + is_locked: false + labels: [] + milestone: null + number: 23 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-01-17T13:59:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/23 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2019-10-08T16:16:08Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/20 + id: 834 + is_locked: false + labels: [] + milestone: null + number: 20 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2019-10-08T16:16:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/20 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2019-09-27T08:39:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/18 + id: 832 + is_locked: false + labels: [] + milestone: null + number: 18 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2019-09-27T08:39:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/18 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcd + closed_at: null + comments: 0 + created_at: '2019-09-26T14:20:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/16 + id: 830 + is_locked: false + labels: [] + milestone: null + number: 16 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcd + updated_at: '2019-09-26T14:20:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/16 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abc + closed_at: null + comments: 0 + created_at: '2019-09-26T10:22:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/14 + id: 828 + is_locked: false + labels: [] + milestone: null + number: 14 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abc + updated_at: '2019-09-26T10:22:40Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/14 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 1 + created_at: '2019-09-26T10:14:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/11 + id: 825 + is_locked: false + labels: [] + milestone: null + number: 11 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2020-01-17T13:59:57Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/11 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:13:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/9 + id: 823 + is_locked: false + labels: [] + milestone: null + number: 9 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:13:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/9 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:12:11Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/7 + id: 821 + is_locked: false + labels: [] + milestone: null + number: 7 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:12:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/7 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:11:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/5 + id: 819 + is_locked: false + labels: [] + milestone: null + number: 5 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:11:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/5 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 1 + created_at: '2019-09-26T09:58:57Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/3 + id: 817 + is_locked: false + labels: [] + milestone: null + number: 3 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2022-08-21T21:47:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/3 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.2325 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:19 GMT + link: ; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '107' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=open&type=issues&page=5: + - metadata: + latency: 0.28662991523742676 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.286444 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:19 GMT + link: ; + rel="first",; + rel="prev" + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '107' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_assignee.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_assignee.yaml new file mode 100644 index 000000000..976b97f49 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_assignee.yaml @@ -0,0 +1,1118 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.318406343460083 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.318097 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:20 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + ? https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&assigned_by=packit-validator&page=1 + : - metadata: + latency: 0.2823455333709717 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/243 + id: 1145 + is_locked: false + labels: [] + milestone: null + number: 243 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:08:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/243 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/240 + id: 1142 + is_locked: false + labels: [] + milestone: null + number: 240 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:05:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/240 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:32Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/238 + id: 1140 + is_locked: false + labels: [] + milestone: null + number: 238 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:02:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/238 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/235 + id: 1137 + is_locked: false + labels: [] + milestone: null + number: 235 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:01:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/235 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/232 + id: 1134 + is_locked: false + labels: [] + milestone: null + number: 232 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T10:58:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/232 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/229 + id: 1131 + is_locked: false + labels: [] + milestone: null + number: 229 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:27:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/229 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/226 + id: 1128 + is_locked: false + labels: [] + milestone: null + number: 226 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:25:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/226 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: [] + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:23:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/223 + id: 1125 + is_locked: false + labels: [] + milestone: null + number: 223 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:23:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.282097 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:20 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '9' + next_request: null + status_code: 200 + ? https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&assigned_by=packit-validator&page=2 + : - metadata: + latency: 0.2015700340270996 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.20143 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:20 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '9' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_author.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_author.yaml new file mode 100644 index 000000000..4394853ed --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_author.yaml @@ -0,0 +1,1807 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3115267753601074 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.311281 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:21 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + ? https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&created_by=packit-validator&page=1 + : - metadata: + latency: 0.35083937644958496 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/243 + id: 1145 + is_locked: false + labels: [] + milestone: null + number: 243 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:08:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/243 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:08:15Z' + comments: 0 + created_at: '2025-12-16T11:08:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/242 + id: 1144 + is_locked: false + labels: [] + milestone: null + number: 242 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:08:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:57Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/241 + id: 1143 + is_locked: false + labels: [] + milestone: null + number: 241 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:05:57Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/241 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/240 + id: 1142 + is_locked: false + labels: [] + milestone: null + number: 240 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:05:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/240 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/239 + id: 1141 + is_locked: false + labels: [] + milestone: null + number: 239 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:02:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/239 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:32Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/238 + id: 1140 + is_locked: false + labels: [] + milestone: null + number: 238 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:02:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/238 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:02:31Z' + comments: 0 + created_at: '2025-12-16T11:02:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/237 + id: 1139 + is_locked: false + labels: [] + milestone: null + number: 237 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:02:31Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/237 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:36Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/236 + id: 1138 + is_locked: false + labels: [] + milestone: null + number: 236 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:01:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/236 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/235 + id: 1137 + is_locked: false + labels: [] + milestone: null + number: 235 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:01:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/235 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:01:28Z' + comments: 0 + created_at: '2025-12-16T11:01:27Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/234 + id: 1136 + is_locked: false + labels: [] + milestone: null + number: 234 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:01:29Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/234 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:22Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/233 + id: 1135 + is_locked: false + labels: [] + milestone: null + number: 233 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T10:58:22Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/233 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/232 + id: 1134 + is_locked: false + labels: [] + milestone: null + number: 232 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T10:58:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/232 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T10:58:14Z' + comments: 0 + created_at: '2025-12-16T10:58:13Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/231 + id: 1133 + is_locked: false + labels: [] + milestone: null + number: 231 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T10:58:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/231 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/230 + id: 1132 + is_locked: false + labels: [] + milestone: null + number: 230 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:27:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/230 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/229 + id: 1131 + is_locked: false + labels: [] + milestone: null + number: 229 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:27:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/229 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:26:59Z' + comments: 0 + created_at: '2025-12-16T09:26:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/228 + id: 1130 + is_locked: false + labels: [] + milestone: null + number: 228 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:27:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/228 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:52Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/227 + id: 1129 + is_locked: false + labels: [] + milestone: null + number: 227 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:25:52Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/227 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/226 + id: 1128 + is_locked: false + labels: [] + milestone: null + number: 226 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:25:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/226 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:25:44Z' + comments: 0 + created_at: '2025-12-16T09:25:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/225 + id: 1127 + is_locked: false + labels: [] + milestone: null + number: 225 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:25:45Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/225 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: [] + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:23:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/223 + id: 1125 + is_locked: false + labels: [] + milestone: null + number: 223 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:23:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:15:10Z' + comments: 0 + created_at: '2025-12-16T09:15:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/222 + id: 1124 + is_locked: false + labels: [] + milestone: null + number: 222 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:15:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/222 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.350641 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:21 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '22' + next_request: null + status_code: 200 + ? https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&created_by=packit-validator&page=2 + : - metadata: + latency: 0.3078272342681885 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.307712 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:21 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '22' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_nonexisting_author.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_nonexisting_author.yaml new file mode 100644 index 000000000..f739ec993 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_issue_list_nonexisting_author.yaml @@ -0,0 +1,174 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.28606224060058594 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.285804 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:22 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + ? https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&created_by=xyzidontexist&page=1 + : - metadata: + latency: 0.2011263370513916 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + errors: + - 'user does not exist [uid: 0, name: xyzidontexist]' + message: The target couldn't be found. + url: https://v10.next.forgejo.org/api/swagger + _elapsed: 0.201044 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '156' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:22 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 404 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_assignees.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_assignees.yaml new file mode 100644 index 000000000..d8dc2ad88 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_assignees.yaml @@ -0,0 +1,270 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.25827455520629883 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.258059 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:22 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223: + - metadata: + latency: 0.2662513256072998 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/223 + id: 1125 + is_locked: false + labels: [] + milestone: null + number: 223 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:23:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.266067 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:23 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_info.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_info.yaml new file mode 100644 index 000000000..4e5f82bfc --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_info.yaml @@ -0,0 +1,310 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3664693832397461 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 107 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.366257 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:23 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.29583168029785156 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:08:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.295701 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:24 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 0.7273988723754883 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:08:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.7273 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Tue, 16 Dec 2025 11:08:24 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index d2ea50a8c..3b3e0383b 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -1,11 +1,14 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT + +from requre.helpers import record_httpx from requre.online_replacing import record_requests_for_all_methods from ogr.abstract import IssueStatus from tests.integration.forgejo.base import ForgejoTests +@record_httpx() @record_requests_for_all_methods() class Issues(ForgejoTests): From 83a0354bc898d1bdf7f9718762a5f6e7f25acd05 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 10:08:00 +0100 Subject: [PATCH 07/41] Add method to comment on issues, fix retrieval of comments Added a method for commenting on issues and fixed the retrieval of comments for compatibility with existing code. Added one test to ensure functionality of these edits. --- ogr/services/forgejo/issue.py | 25 +- .../Issues.test_issue_updates.yaml | 444 ++++++++++++++++++ tests/integration/forgejo/test_issues.py | 7 + 3 files changed, 469 insertions(+), 7 deletions(-) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_updates.yaml diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index ae45406cc..44d5f26d5 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -1,13 +1,14 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +from collections.abc import Iterable from datetime import datetime from functools import partial from typing import Optional, Union -import pyforgejo.types.issue as _issue from pyforgejo import NotFoundError +from pyforgejo.types.issue import Issue as _issue -from ogr.abstract import Issue, IssueStatus +from ogr.abstract import Issue, IssueComment, IssueStatus from ogr.exceptions import IssueTrackerDisabled, OperationNotSupported from ogr.services import forgejo from ogr.services.base import BaseIssue @@ -170,20 +171,30 @@ def get_list( return [] raise OperationNotSupported(f"Failed to list issues {ex}") from ex + def comment(self, body: str) -> IssueComment: + comment = self.partial_api(self.api.create_comment)( + body=body, + index=self._index, + ) + return ForgejoIssueComment(parent=self, raw_comment=comment) + def close(self) -> "Issue": self.partial_api(self.api.edit_issue)(state="closed") return self - def get_comments(self): - return [ - ForgejoIssueComment(comment, parent=self) - for comment in self.api.get_comments( + def _get_all_comments(self, reverse: bool = False) -> Iterable[IssueComment]: + # TODO API doesnt suppport ordering + # ordering = "desc" if reverse else "asc" + + return ( + ForgejoIssueComment(parent=self, raw_comment=raw_comment) + for raw_comment in self.api.get_comments( owner=self.project.namespace, repo=self.project.repo, index=self._index, ) - ] or [] + ) def get_comment(self, comment_id: int): return ForgejoIssueComment( diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_updates.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_updates.yaml new file mode 100644 index 000000000..f00af1045 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_updates.yaml @@ -0,0 +1,444 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.5080265998840332 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.507712 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 08:58:44 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224: + - metadata: + latency: 0.37835049629211426 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: [] + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:23:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.377987 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 08:58:44 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/comments: + - metadata: + latency: 0.3619394302368164 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.361712 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 08:58:44 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '0' + next_request: null + status_code: 200 + - metadata: + latency: 0.3604886531829834 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: test comment + created_at: '2025-12-17T08:58:45Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224#issuecomment-3168 + id: 3168 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-17T08:58:45Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.360252 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '986' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 08:58:46 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '1' + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/comments: + - metadata: + latency: 1.1290419101715088 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: test comment + created_at: '2025-12-17T08:58:45Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224#issuecomment-3168 + id: 3168 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-17T08:58:45Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 1.128852 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '984' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 08:58:45 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index 3b3e0383b..e7927c979 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -81,3 +81,10 @@ def test_issue_assignees(self): assignees = project.get_issue(223).assignees assert len(assignees) == 1 assert assignees[0].login == "packit-validator" + + def test_issue_updates(self): + issue = self.project.get_issue(issue_id=224) + old_comments = list(issue.get_comments()) + issue.comment("test comment") + new_comments = list(issue.get_comments()) + assert len(new_comments) > len(old_comments) From 81326b1ef193a873932b0a8ed4546ab0332fac93 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 10:26:23 +0100 Subject: [PATCH 08/41] Fix test regarding closing issues failing Previously, the raw issue returned by the Forgejo API wasn't assigned inside the close method, meaning the ForgejoIssue instance wasn't updated and accessing the status property led to receiving the outdated "open" value rather than the expected "closed" value. --- ogr/services/forgejo/issue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 44d5f26d5..5e2261081 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -178,8 +178,8 @@ def comment(self, body: str) -> IssueComment: ) return ForgejoIssueComment(parent=self, raw_comment=comment) - def close(self) -> "Issue": - self.partial_api(self.api.edit_issue)(state="closed") + def close(self) -> Issue: + self._raw_issue = self.partial_api(self.api.edit_issue)(state="closed") return self From 29d0194e55c28c9bc37e0691c51822f27a6cd3af Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 11:06:06 +0100 Subject: [PATCH 09/41] Add support for Forgejo issue labels --- ogr/services/forgejo/issue.py | 14 +- .../test_issues/Issues.test_issue_labels.yaml | 540 ++++++++++++++++++ tests/integration/forgejo/test_issues.py | 14 + 3 files changed, 567 insertions(+), 1 deletion(-) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 5e2261081..c5636d7f9 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -8,11 +8,12 @@ from pyforgejo import NotFoundError from pyforgejo.types.issue import Issue as _issue -from ogr.abstract import Issue, IssueComment, IssueStatus +from ogr.abstract import Issue, IssueComment, IssueLabel, IssueStatus from ogr.exceptions import IssueTrackerDisabled, OperationNotSupported from ogr.services import forgejo from ogr.services.base import BaseIssue from ogr.services.forgejo.comments import ForgejoIssueComment +from ogr.services.forgejo.label import ForgejoIssueLabel from ogr.services.forgejo.utils import paginate @@ -94,6 +95,17 @@ def status(self) -> IssueStatus: def assignees(self) -> list: return getattr(self._raw_issue, "assignees", []) or [] + @property + def labels(self) -> list[IssueLabel]: + return [ + ForgejoIssueLabel(raw_label, self) + for raw_label in self.api.get_labels( + owner=self.project.namespace, + repo=self.project.repo, + index=self._index, + ) + ] + @staticmethod def create( project: "forgejo.ForgejoProject", diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml new file mode 100644 index 000000000..5028e19e1 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml @@ -0,0 +1,540 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.47893762588500977 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.478582 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:02:59 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224: + - metadata: + latency: 0.4462742805480957 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 1 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: [] + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-17T08:58:45Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.446034 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:03:00 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.3800036907196045 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 1 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-17T10:03:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.379837 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:03:01 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/labels: + - metadata: + latency: 0.35914039611816406 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.358967 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:03:00 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.4208855628967285 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + _elapsed: 0.420663 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '380' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:03:02 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/labels: + - metadata: + latency: 0.6386585235595703 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + _elapsed: 0.63842 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '380' + content-type: application/json;charset=utf-8 + date: Wed, 17 Dec 2025 10:03:01 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index e7927c979..18f6f1ff8 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -88,3 +88,17 @@ def test_issue_updates(self): issue.comment("test comment") new_comments = list(issue.get_comments()) assert len(new_comments) > len(old_comments) + + def test_issue_labels(self): + """ + Remove the labels from this issue before regenerating the response files: + https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + """ + issue = self.project.get_issue(224) + labels = issue.labels + + assert not labels + issue.add_label("test_lb1", "test_lb2") + labels = self.project.get_issue(224).labels + assert labels + assert next(iter(labels)).name == "test_lb1" From 8380c0b22e38f90fdc276afcd60b35198456c1e9 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 11:23:09 +0100 Subject: [PATCH 10/41] Use partial API where possible --- ogr/services/forgejo/issue.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index c5636d7f9..265128728 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -99,9 +99,7 @@ def assignees(self) -> list: def labels(self) -> list[IssueLabel]: return [ ForgejoIssueLabel(raw_label, self) - for raw_label in self.api.get_labels( - owner=self.project.namespace, - repo=self.project.repo, + for raw_label in self.partial_api(self.api.get_labels)( index=self._index, ) ] @@ -201,20 +199,14 @@ def _get_all_comments(self, reverse: bool = False) -> Iterable[IssueComment]: return ( ForgejoIssueComment(parent=self, raw_comment=raw_comment) - for raw_comment in self.api.get_comments( - owner=self.project.namespace, - repo=self.project.repo, + for raw_comment in self.partial_api(self.api.get_comments)( index=self._index, ) ) def get_comment(self, comment_id: int): return ForgejoIssueComment( - self.api.get_comment( - owner=self.project.namespace, - repo=self.project.repo, - id=comment_id, - ), + self.partial_api(self.api.get_comment)(id=comment_id), parent=self, ) From a9896f02c54bcfa8f7c2fdf71d284ebd182fe58e Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 11:27:28 +0100 Subject: [PATCH 11/41] Remove unnecessary API call --- ogr/services/forgejo/issue.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 265128728..a694d7f29 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -98,10 +98,7 @@ def assignees(self) -> list: @property def labels(self) -> list[IssueLabel]: return [ - ForgejoIssueLabel(raw_label, self) - for raw_label in self.partial_api(self.api.get_labels)( - index=self._index, - ) + ForgejoIssueLabel(raw_label, self) for raw_label in self._raw_issue.labels ] @staticmethod From fd5022d953c90ef43e963b59843792244652d933 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 17 Dec 2025 11:45:12 +0100 Subject: [PATCH 12/41] Add __str__ method to ForgejoIssue --- ogr/services/forgejo/issue.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index a694d7f29..e6f1d0761 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -101,6 +101,9 @@ def labels(self) -> list[IssueLabel]: ForgejoIssueLabel(raw_label, self) for raw_label in self._raw_issue.labels ] + def __str__(self) -> str: + return "Forgejo" + super().__str__() + @staticmethod def create( project: "forgejo.ForgejoProject", From 34a429e2aafd7ee58212a9c88b4fe5c88810671b Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Thu, 18 Dec 2025 11:17:40 +0100 Subject: [PATCH 13/41] Raise ForgejoAPIException instead of OperationNotSupported --- ogr/services/forgejo/issue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index e6f1d0761..bc10e40f7 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -9,7 +9,7 @@ from pyforgejo.types.issue import Issue as _issue from ogr.abstract import Issue, IssueComment, IssueLabel, IssueStatus -from ogr.exceptions import IssueTrackerDisabled, OperationNotSupported +from ogr.exceptions import ForgejoAPIException, IssueTrackerDisabled from ogr.services import forgejo from ogr.services.base import BaseIssue from ogr.services.forgejo.comments import ForgejoIssueComment @@ -140,8 +140,8 @@ def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": index=issue_id, ) - except Exception as ex: - raise OperationNotSupported(f"Issue {issue_id} not found") from ex + except NotFoundError as ex: + raise ForgejoAPIException(f"Issue {issue_id} not found") from ex return ForgejoIssue(issue, project) @staticmethod @@ -179,7 +179,7 @@ def get_list( except NotFoundError as ex: if "user does not exist" in str(ex): return [] - raise OperationNotSupported(f"Failed to list issues {ex}") from ex + raise ForgejoAPIException(f"Failed to list issues {ex}") from ex def comment(self, body: str) -> IssueComment: comment = self.partial_api(self.api.create_comment)( From 6eb7e3f4c311cd28f843450fb632bea88c0fa4f1 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 10:33:50 +0100 Subject: [PATCH 14/41] Fix implementation of PR commenting and retrieval of PR comments --- ogr/services/forgejo/pull_request.py | 65 ++++++++++------------------ 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/ogr/services/forgejo/pull_request.py b/ogr/services/forgejo/pull_request.py index b99aa58c9..3f89a4958 100644 --- a/ogr/services/forgejo/pull_request.py +++ b/ogr/services/forgejo/pull_request.py @@ -296,55 +296,31 @@ def get_all_commits(self) -> Iterable[str]: ) ) - def get_comments( - self, - filter_regex: Optional[str] = None, - reverse: bool = False, - author: Optional[str] = None, - ) -> Union[list["PRComment"], Iterable["PRComment"]]: - """ - Get list of pull request comments. - - Args: - filter_regex: Filter the comments' content with `re.search`. - - Defaults to `None`, which means no filtering. - reverse: Whether the comments are to be returned in - reversed order. - - Defaults to `False`. - author: Filter the comments by author. - - Defaults to `None`, which means no filtering. - - Returns: - List of pull request comments. - """ - if filter_regex: - raise NotImplementedError - if reverse: - raise NotImplementedError - if author: - raise NotImplementedError + def _get_all_comments(self, reverse: bool = False) -> Iterable[PRComment]: try: - return ( - ForgejoPRComment(raw_comment=comment, parent=self) - for comment in self.api.get_comments( - owner=self.project.namespace, - repo=self.project.repo, - index=self.id, - ) + comments = self.api.get_comments( + owner=self.project.namespace, + repo=self.project.repo, + index=self.id, ) + except NotFoundError as ex: raise NotFoundError(f"{ex}") from ex + if reverse: + comments = list(reversed(comments)) + + return ( + ForgejoPRComment(raw_comment=comment, parent=self) for comment in comments + ) + def comment( self, body: str, commit: Optional[str] = None, filename: Optional[str] = None, row: Optional[int] = None, - ): + ) -> PRComment: """ Add new comment to the pull request. @@ -363,14 +339,17 @@ def comment( Returns: Newly created comment. """ - if commit: + if commit or filename or row: raise NotImplementedError - if filename: - raise NotImplementedError + comment = self.api.create_comment( + owner=self.project.namespace, + repo=self.project.repo, + index=self.id, + body=body, + ) - if row: - raise NotImplementedError + return ForgejoPRComment(raw_comment=comment, parent=self) def get_comment(self, comment_id: int) -> PRComment: """ From 5efcec5ef370e4f0ada822779e84ab4bcd18a173 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 10:35:36 +0100 Subject: [PATCH 15/41] Fix assignment of author in ForgejoComment --- ogr/services/forgejo/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index 7e27e0c81..832220fea 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -28,7 +28,7 @@ class ForgejoComment(Comment): def _from_raw_comment(self, raw_comment: _ForgejoComment) -> None: self._raw_comment = raw_comment self._id = raw_comment.id - self._author = raw_comment.original_author + self._author = raw_comment.user.login self._created = raw_comment.created_at self._edited = raw_comment.updated_at From cfcf4a8acf43b5b6255bee79cd47073b78e8e2c2 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 10:37:04 +0100 Subject: [PATCH 16/41] Add ordering of issue comments --- ogr/services/forgejo/issue.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index bc10e40f7..d0029ab09 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -194,14 +194,16 @@ def close(self) -> Issue: return self def _get_all_comments(self, reverse: bool = False) -> Iterable[IssueComment]: - # TODO API doesnt suppport ordering - # ordering = "desc" if reverse else "asc" + comments = self.partial_api(self.api.get_comments)( + index=self._index, + ) + + if reverse: + comments = list(reversed(comments)) return ( ForgejoIssueComment(parent=self, raw_comment=raw_comment) - for raw_comment in self.partial_api(self.api.get_comments)( - index=self._index, - ) + for raw_comment in comments ) def get_comment(self, comment_id: int): From 5d5092fd06ef070321c2a7cea40079aa40d03d92 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 10:39:27 +0100 Subject: [PATCH 17/41] Add tests regarding commenting and comment retrieval --- tests/integration/forgejo/test_comments.py | 123 +++ .../Comments.test_issue_comments.yaml | 363 +++++++ .../Comments.test_issue_comments_author.yaml | 589 ++++++++++++ ...ents.test_issue_comments_author_regex.yaml | 363 +++++++ .../Comments.test_issue_comments_regex.yaml | 363 +++++++ ...ts.test_issue_comments_regex_reversed.yaml | 363 +++++++ ...Comments.test_issue_comments_reversed.yaml | 363 +++++++ .../Comments.test_issue_comments_updates.yaml | 363 +++++++ .../Comments.test_pr_comments.yaml | 449 +++++++++ .../Comments.test_pr_comments_author.yaml | 449 +++++++++ ...omments.test_pr_comments_author_regex.yaml | 449 +++++++++ .../Comments.test_pr_comments_filter.yaml | 889 +++++++++++++++++ .../Comments.test_pr_comments_reversed.yaml | 449 +++++++++ .../Comments.test_pr_comments_search.yaml | 893 ++++++++++++++++++ 14 files changed, 6468 insertions(+) create mode 100644 tests/integration/forgejo/test_comments.py create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author_regex.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex_reversed.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_reversed.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author_regex.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_filter.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_reversed.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_search.yaml diff --git a/tests/integration/forgejo/test_comments.py b/tests/integration/forgejo/test_comments.py new file mode 100644 index 000000000..2cce0c6ac --- /dev/null +++ b/tests/integration/forgejo/test_comments.py @@ -0,0 +1,123 @@ +# Copyright Contributors to the Packit project. +# SPDX-License-Identifier: MIT + + +from requre.helpers import record_httpx +from requre.online_replacing import record_requests_for_all_methods + +from tests.integration.forgejo.base import ForgejoTests + + +@record_httpx() +@record_requests_for_all_methods() +class Comments(ForgejoTests): + def test_pr_comments(self): + pr_comments = list(self.project.get_pr(209).get_comments()) + assert pr_comments + assert len(pr_comments) == 3 + + assert pr_comments[0].body.startswith("LGTM") + assert pr_comments[1].body.startswith("second comment") + + def test_pr_comments_reversed(self): + pr_comments = list(self.project.get_pr(209).get_comments(reverse=True)) + assert pr_comments + assert len(pr_comments) == 3 + + assert pr_comments[0].body.startswith("LGTM, nicely done") + + def test_pr_comments_filter(self): + pr_comments = list( + self.project.get_pr(209).get_comments(filter_regex="comment"), + ) + assert pr_comments + assert len(pr_comments) == 1 + assert pr_comments[0].body.startswith("second") + + pr_comments = list( + self.project.get_pr(209).get_comments( + filter_regex="nicely ([a-z]*)", + ), + ) + assert pr_comments + assert len(pr_comments) == 1 + assert pr_comments[0].body.endswith("done") + + def test_pr_comments_search(self): + comment_match = self.project.get_pr(209).search(filter_regex="LGTM") + assert comment_match + assert comment_match[0] == "LGTM" + + comment_match = self.project.get_pr(209).search( + filter_regex="LGTM, nicely ([a-z]*)", + ) + assert comment_match + assert comment_match[0] == "LGTM, nicely done" + + def test_issue_comments(self): + comments = list(self.project.get_issue(244).get_comments()) + assert len(comments) == 3 + assert comments[0].body.startswith("/packit") + + def test_issue_comments_reversed(self): + comments = list(self.project.get_issue(244).get_comments(reverse=True)) + assert len(comments) == 3 + assert comments[0].body.startswith("This ") + + def test_issue_comments_regex(self): + comments = list( + self.project.get_issue(244).get_comments( + filter_regex=".*random *", + ), + ) + assert len(comments) == 2 + assert "other" in comments[0].body + + def test_issue_comments_regex_reversed(self): + comments = list( + self.project.get_issue(244).get_comments( + reverse=True, + filter_regex=".*random *", + ), + ) + assert len(comments) == 2 + assert "indeed" in comments[0].body + + def test_pr_comments_author_regex(self): + comments = list( + self.project.get_pr(209).get_comments( + filter_regex=".*nic*", + author="packit-validator", + ), + ) + assert len(comments) == 1 + assert "nicely" in comments[0].body + + def test_pr_comments_author(self): + comments = list( + self.project.get_pr(209).get_comments(author="packit-validator"), + ) + assert len(comments) == 3 + assert comments[0].body.endswith("TM") + + def test_issue_comments_author_regex(self): + comments = list( + self.project.get_issue(244).get_comments( + filter_regex=".*test-*", + author="packit-validator", + ), + ) + assert len(comments) == 1 + assert comments[0].body.startswith("/packit") + + def test_issue_comments_author(self): + comments = list( + self.project.get_issue(244).get_comments(author="packit-validator"), + ) + new_comments = list(self.project.get_issue(244).get_comments()) + + assert new_comments[0].author == "packit-validator" + + assert len(comments) == 3 + assert comments[0].body.startswith("/packit") + assert comments[2].body.endswith("indeed") diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments.yaml new file mode 100644 index 000000000..8dc67a4d9 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.39267945289611816 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.392292 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:34 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.3290369510650635 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.328691 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:35 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.26753950119018555 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.267259 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:35 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author.yaml new file mode 100644 index 000000000..b60155391 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author.yaml @@ -0,0 +1,589 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.8443491458892822 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.843983 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:18:07 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.24195599555969238 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.241339 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:18:07 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.2910494804382324 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.290819 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:18:08 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.7494368553161621 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.749189 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:18:08 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + - metadata: + latency: 0.7269887924194336 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.726788 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:18:09 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author_regex.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author_regex.yaml new file mode 100644 index 000000000..0befdb7bc --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_author_regex.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.676872730255127 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.67666 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:53 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.3312366008758545 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.330949 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:53 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.5299761295318604 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.529704 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:53 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex.yaml new file mode 100644 index 000000000..3b123a925 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.37729430198669434 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.377119 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:36 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.38070225715637207 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.380502 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:36 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.2885141372680664 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.288307 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:36 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex_reversed.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex_reversed.yaml new file mode 100644 index 000000000..80270dfcf --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_regex_reversed.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.4043543338775635 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.403889 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:37 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.3349621295928955 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.33472 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:37 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.3961625099182129 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.395941 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:37 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_reversed.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_reversed.yaml new file mode 100644 index 000000000..450441d65 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_reversed.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3886284828186035 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.388396 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:38 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.2181401252746582 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.217907 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:38 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.26976466178894043 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.269539 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 08:53:38 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml new file mode 100644 index 000000000..6c76dc0fc --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml @@ -0,0 +1,363 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.4129958152770996 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.412772 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:54 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.2186586856842041 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 3 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T08:51:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.218467 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:55 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.27525877952575684 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:22Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: Some other random comment + created_at: '2025-12-19T08:48:40Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3175 + id: 3175 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:48:40Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: This conversation is very random indeed + created_at: '2025-12-19T08:51:46Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3176 + id: 3176 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T08:51:46Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.275061 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:55 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments.yaml new file mode 100644 index 000000000..496659468 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments.yaml @@ -0,0 +1,449 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.3705441951751709 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.370403 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:07 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.47196435928344727 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.471497 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:06 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author.yaml new file mode 100644 index 000000000..3a7ffa0da --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author.yaml @@ -0,0 +1,449 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.29886317253112793 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.29866 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:56 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.4896233081817627 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.489372 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:56 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author_regex.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author_regex.yaml new file mode 100644 index 000000000..3eea1514f --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_author_regex.yaml @@ -0,0 +1,449 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.38039565086364746 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.380146 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:57 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.4574730396270752 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.457243 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 09:09:56 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_filter.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_filter.yaml new file mode 100644 index 000000000..1832ffde3 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_filter.yaml @@ -0,0 +1,889 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.29181838035583496 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.291697 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:07 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + - metadata: + latency: 0.23814749717712402 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.238028 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:08 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.348588228225708 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.348482 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:07 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.44852495193481445 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.448381 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:08 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_reversed.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_reversed.yaml new file mode 100644 index 000000000..90a92edf5 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_reversed.yaml @@ -0,0 +1,449 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.43832874298095703 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.438141 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:09 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.43338918685913086 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.433125 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:09 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_search.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_search.yaml new file mode 100644 index 000000000..83649ba3c --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_search.yaml @@ -0,0 +1,893 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.22711491584777832 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.226882 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:10 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + - metadata: + latency: 0.3100605010986328 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:40:12Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.309838 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:10 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.40263962745666504 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.402384 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:10 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.31899547576904297 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.318683 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Thu, 18 Dec 2025 11:19:10 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 From 2944f13cbe1416afe91e5af59cbc491ed5ce0c73 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 11:12:23 +0100 Subject: [PATCH 18/41] Implement support for editing comments, add relevant tests --- ogr/services/forgejo/comments.py | 8 +- tests/integration/forgejo/test_comments.py | 38 ++ .../Comments.test_issue_comments_updates.yaml | 152 ++++- .../Comments.test_pr_comments_updates.yaml | 581 ++++++++++++++++++ 4 files changed, 767 insertions(+), 12 deletions(-) create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_updates.yaml diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index 832220fea..3295b42a3 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -9,7 +9,6 @@ from pyforgejo.types.reaction import Reaction as _ForgejoReaction from ogr.abstract import Comment, IssueComment, PRComment, Reaction -from ogr.exceptions import OperationNotSupported logger = logging.getLogger(__name__) @@ -38,7 +37,12 @@ def body(self) -> str: @body.setter def body(self, new_body: str) -> None: - raise OperationNotSupported + self._raw_comment = self._client.issue.edit_comment( + owner=self._parent.project.namespace, + repo=self._parent.project.repo, + id=self._id, + body=new_body, + ) def _get_owner_and_repo(self): issue_url = self._raw_comment.issue_url diff --git a/tests/integration/forgejo/test_comments.py b/tests/integration/forgejo/test_comments.py index 2cce0c6ac..0728ffe66 100644 --- a/tests/integration/forgejo/test_comments.py +++ b/tests/integration/forgejo/test_comments.py @@ -121,3 +121,41 @@ def test_issue_comments_author(self): assert len(comments) == 3 assert comments[0].body.startswith("/packit") assert comments[2].body.endswith("indeed") + + def test_issue_comments_updates(self): + comments = list( + self.project.get_issue(244).get_comments( + filter_regex="test-comment", + ), + ) + assert len(comments) == 1 + before_comment = comments[0].body + before_edited = comments[0].edited + + comments[0].body = "here comes the update" + assert comments[0].body == "here comes the update" + + # using >= because the time difference is so small that the datetime values are the same + assert comments[0].edited >= before_edited + + comments[0].body = before_comment + assert comments[0].body == before_comment + + def test_pr_comments_updates(self): + comments = list( + self.project.get_pr(209).get_comments( + filter_regex="nd comment", + ), + ) + assert len(comments) == 1 + before_comment = comments[0].body + before_edited = comments[0].edited + + comments[0].body = "this wont hurt a bit" + assert comments[0].body == "this wont hurt a bit" + + # using >= because the time difference is so small that the datetime values are the same + assert comments[0].edited >= before_edited + + comments[0].body = before_comment + assert comments[0].body == before_comment diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml index 6c76dc0fc..bb638f6ac 100644 --- a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_comments_updates.yaml @@ -7,7 +7,7 @@ httpx._client: GET: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: - metadata: - latency: 0.4129958152770996 + latency: 0.46506667137145996 module_call_list: - unittest.case - requre.record_and_replace @@ -121,12 +121,12 @@ httpx._client: watchers_count: 1 website: '' wiki_branch: master - _elapsed: 0.412772 + _elapsed: 0.464709 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Fri, 19 Dec 2025 09:09:54 GMT + date: Fri, 19 Dec 2025 10:06:01 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff @@ -135,7 +135,7 @@ httpx._client: status_code: 200 https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: - metadata: - latency: 0.2186586856842041 + latency: 0.3891327381134033 module_call_list: - unittest.case - requre.record_and_replace @@ -208,13 +208,13 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.218467 + _elapsed: 0.388892 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-length: '1304' content-type: application/json;charset=utf-8 - date: Fri, 19 Dec 2025 09:09:55 GMT + date: Fri, 19 Dec 2025 10:06:01 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN @@ -222,7 +222,7 @@ httpx._client: status_code: 200 https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: - metadata: - latency: 0.27525877952575684 + latency: 0.7042844295501709 module_call_list: - unittest.case - requre.record_and_replace @@ -251,7 +251,7 @@ httpx._client: original_author: '' original_author_id: 0 pull_request_url: '' - updated_at: '2025-12-19T08:48:22Z' + updated_at: '2025-12-19T10:04:38Z' user: active: false avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 @@ -347,13 +347,13 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.275061 + _elapsed: 0.704054 encoding: utf-8 headers: access-control-expose-headers: X-Total-Count cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Fri, 19 Dec 2025 09:09:55 GMT + date: Fri, 19 Dec 2025 10:06:02 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff @@ -361,3 +361,135 @@ httpx._client: x-total-count: '3' next_request: null status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3174: + - metadata: + latency: 0.8062975406646729 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: here comes the update + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T10:06:02Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.806066 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '993' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:06:03 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.7090544700622559 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T10:06:03Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.708846 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '992' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:06:03 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_updates.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_updates.yaml new file mode 100644 index 000000000..5d0bbfa3e --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_comments_updates.yaml @@ -0,0 +1,581 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.294588565826416 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.base + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + body: LGTM + created_at: '2025-12-18T10:37:09Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3171 + id: 3171 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T10:37:09Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-19T10:09:10Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + body: LGTM, nicely done + created_at: '2025-12-18T11:17:04Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3173 + id: 3173 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-18T11:17:04Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.294275 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:09:24 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '3' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.4145340919494629 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 3 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-18T11:17:04Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.41415 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:09:24 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3172: + - metadata: + latency: 0.8559329509735107 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: this wont hurt a bit + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-19T10:09:25Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.855675 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '990' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:09:25 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.7859258651733398 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: second comment + created_at: '2025-12-18T10:40:12Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3172 + id: 3172 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-19T10:09:26Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.785635 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '984' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:09:26 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 From 011d66ac1cfcb5f9fc12eb8075e6c7e0afa3c764 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 12:36:04 +0100 Subject: [PATCH 19/41] Update the __all__ variable of the forgejo module --- ogr/services/forgejo/__init__.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ogr/services/forgejo/__init__.py b/ogr/services/forgejo/__init__.py index a0e745ed3..14c3a8b82 100644 --- a/ogr/services/forgejo/__init__.py +++ b/ogr/services/forgejo/__init__.py @@ -1,14 +1,26 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +from ogr.services.forgejo.comments import ( + ForgejoComment, + ForgejoIssueComment, + ForgejoPRComment, +) from ogr.services.forgejo.issue import ForgejoIssue from ogr.services.forgejo.project import ForgejoProject from ogr.services.forgejo.pull_request import ForgejoPullRequest +from ogr.services.forgejo.release import ForgejoRelease from ogr.services.forgejo.service import ForgejoService +from ogr.services.forgejo.user import ForgejoUser __all__ = [ ForgejoPullRequest.__name__, + ForgejoComment.__name__, + ForgejoIssueComment.__name__, + ForgejoPRComment.__name__, ForgejoIssue.__name__, ForgejoProject.__name__, + ForgejoRelease.__name__, ForgejoService.__name__, + ForgejoUser.__name__, ] From a072d8758c9cbb6dab53e409fa43bd65f5c94459 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Fri, 19 Dec 2025 12:39:59 +0100 Subject: [PATCH 20/41] Make it possible to delete reactions, catch ApiError from pyforgejo It is now possible to delete reactions on comments. During testing, it has been discovered that whenever the get_reactions method is called on a comment with no reactions, pyforgejo raises ApiError. It has also been discovered that re-recording tests results in ValidationError from pydantic, though this error isn't raised again when re-running tests. Further investigation is required. --- ogr/services/forgejo/comments.py | 41 +- tests/integration/forgejo/test_comments.py | 52 ++ .../Comments.test_issue_get_reactions.yaml | 578 +++++++++++++++ ...est_issue_react_to_comment_and_delete.yaml | 471 +++++++++++++ .../Comments.test_pr_get_reactions.yaml | 664 ++++++++++++++++++ ...s.test_pr_react_to_comment_and_delete.yaml | 557 +++++++++++++++ 6 files changed, 2353 insertions(+), 10 deletions(-) create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_get_reactions.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_issue_react_to_comment_and_delete.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_get_reactions.yaml create mode 100644 tests/integration/forgejo/test_data/test_comments/Comments.test_pr_react_to_comment_and_delete.yaml diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index 3295b42a3..a3d3321dd 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -5,22 +5,34 @@ import logging from urllib.parse import urlparse +from pyforgejo.core.api_error import ApiError from pyforgejo.types import Comment as _ForgejoComment from pyforgejo.types.reaction import Reaction as _ForgejoReaction from ogr.abstract import Comment, IssueComment, PRComment, Reaction +from ogr.services import forgejo logger = logging.getLogger(__name__) class ForgejoReaction(Reaction): - _raw_reaction: _ForgejoReaction + def __init__( + self, + raw_reaction: _ForgejoReaction, + parent: "forgejo.ForgejoComment", + ) -> None: + super().__init__(raw_reaction) + self._parent = parent def __str__(self): return "Forgejo" + super().__str__() def delete(self): - self._raw_reaction.delete() + self._parent._client.issue.delete_comment_reaction( + owner=self._parent._parent.project.namespace, + repo=self._parent._parent.project.repo, + id=self._parent._id, + ) class ForgejoComment(Comment): @@ -60,22 +72,31 @@ def _client(self): def get_reactions(self) -> list[Reaction]: client = self._client - reactions = client.issue.get_comment_reactions( - owner=self._parent.project.namespace, - repo=self._parent.project.repo, - id=self._id, - ) - return [ForgejoReaction(raw_reaction=reaction) for reaction in reactions] + try: + reactions = client.issue.get_comment_reactions( + owner=self._parent.project.namespace, + repo=self._parent.project.repo, + id=self._id, + ) + + # pyforgejo raises ApiError when no reactions are found + except ApiError: + return [] + + return [ + ForgejoReaction(raw_reaction=reaction, parent=self) + for reaction in reactions + ] def add_reaction(self, reaction: str) -> Reaction: client = self._client - client.issue.post_comment_reaction( + raw_reaction = client.issue.post_comment_reaction( owner=self._parent.project.namespace, repo=self._parent.project.repo, id=self._id, content=reaction, ) - return ForgejoReaction(raw_reaction=reaction) + return ForgejoReaction(raw_reaction=raw_reaction, parent=self) class ForgejoIssueComment(ForgejoComment, IssueComment): diff --git a/tests/integration/forgejo/test_comments.py b/tests/integration/forgejo/test_comments.py index 0728ffe66..3a6f8a5d6 100644 --- a/tests/integration/forgejo/test_comments.py +++ b/tests/integration/forgejo/test_comments.py @@ -159,3 +159,55 @@ def test_pr_comments_updates(self): comments[0].body = before_comment assert comments[0].body == before_comment + + def test_pr_react_to_comment_and_delete(self): + pr = self.project.get_pr(209) + pr_comment = pr.comment("React to this comment") + + reaction = pr_comment.add_reaction("+1") + assert len(pr_comment.get_reactions()) == 1 + + reaction.delete() + + # re-recording causes test to fail with ValidationError by pydantic + # validation error for list[Reaction] + # when re-running, the test passes + # could be somehow related to pyforgejo raising ApiError when no reactions + # are found ?? + # TODO: check + assert len(pr_comment.get_reactions()) == 0 + + def test_issue_react_to_comment_and_delete(self): + issue = self.project.get_issue(244) + issue_comment = issue.comment("This is a nice comment to react to") + + reaction = issue_comment.add_reaction("confused") + assert len(issue_comment.get_reactions()) == 1 + + reaction.delete() + + # re-recording causes test to fail with ValidationError by pydantic + # validation error for list[Reaction] + # when re-running, the test passes + # could be somehow related to pyforgejo raising ApiError when no reactions + # are found ?? + # TODO: check + assert len(issue_comment.get_reactions()) == 0 + + def test_pr_get_reactions(self): + pr = self.project.get_pr(209) + pr_comment = pr.comment("Such nice weather") + + pr_comment.add_reaction("+1") + pr_comment.add_reaction("-1") + pr_comment.add_reaction("confused") + assert len(pr_comment.get_reactions()) == 3 + + def test_issue_get_reactions(self): + issue = self.project.get_issue(244) + issue_comment = issue.comment("Nice weather indeed") + + issue_comment.add_reaction("+1") + issue_comment.add_reaction("-1") + issue_comment.add_reaction("confused") + assert len(issue_comment.get_reactions()) == 3 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_get_reactions.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_get_reactions.yaml new file mode 100644 index 000000000..9db62982c --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_get_reactions.yaml @@ -0,0 +1,578 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.399432897567749 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.399028 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:31:58 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.287949800491333 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 9 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T11:27:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.287661 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:31:58 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3187/reactions: + - metadata: + latency: 0.26166749000549316 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - content: '+1' + created_at: '2025-12-19T11:31:59Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - content: '-1' + created_at: '2025-12-19T11:32:00Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - content: confused + created_at: '2025-12-19T11:32:01Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.261397 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1988' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:01 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.7824645042419434 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: Nice weather indeed + created_at: '2025-12-19T11:31:59Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3187 + id: 3187 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T11:31:59Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.782245 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '991' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:31:59 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3187/reactions: + - metadata: + latency: 0.4586946964263916 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: '+1' + created_at: '2025-12-19T11:31:59Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.458429 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '660' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:00 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.6515114307403564 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: '-1' + created_at: '2025-12-19T11:32:00Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.651177 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '660' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:00 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.5217623710632324 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: confused + created_at: '2025-12-19T11:32:01Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.521502 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '666' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:01 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_react_to_comment_and_delete.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_react_to_comment_and_delete.yaml new file mode 100644 index 000000000..d5cabfc9c --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_issue_react_to_comment_and_delete.yaml @@ -0,0 +1,471 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + DELETE: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3186/reactions: + - metadata: + latency: 0.6104428768157959 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 1 + _content: '' + _elapsed: 0.610291 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '0' + date: Fri, 19 Dec 2025 11:27:03 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.38741040229797363 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.387046 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:00 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.3947324752807617 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 8 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T11:25:22Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.394481 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:00 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3186/reactions: + - metadata: + latency: 0.2956514358520508 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - content: confused + created_at: '2025-12-19T11:27:01Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.295582 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '668' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:02 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.40915775299072266 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: null + _elapsed: 0.408914 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '5' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:03 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244/comments: + - metadata: + latency: 0.9060966968536377 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: This is a nice comment to react to + created_at: '2025-12-19T11:27:00Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3186 + id: 3186 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T11:27:00Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.905876 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1006' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:01 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3186/reactions: + - metadata: + latency: 0.6119327545166016 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: confused + created_at: '2025-12-19T11:27:01Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.611795 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '666' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:27:02 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_get_reactions.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_get_reactions.yaml new file mode 100644 index 000000000..ec88cba67 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_get_reactions.yaml @@ -0,0 +1,664 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3188/reactions: + - metadata: + latency: 0.33031439781188965 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - content: '+1' + created_at: '2025-12-19T11:32:04Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - content: '-1' + created_at: '2025-12-19T11:32:05Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - content: confused + created_at: '2025-12-19T11:32:05Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.330132 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1988' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:06 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.3206052780151367 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 7 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-19T10:51:25Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.320373 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:03 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.8459622859954834 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: Such nice weather + created_at: '2025-12-19T11:32:03Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3188 + id: 3188 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-19T11:32:03Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.845681 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '987' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:04 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3188/reactions: + - metadata: + latency: 0.6093828678131104 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: '+1' + created_at: '2025-12-19T11:32:04Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.609066 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '660' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:04 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.5554606914520264 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: '-1' + created_at: '2025-12-19T11:32:05Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.555248 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '660' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:05 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.6420056819915771 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: confused + created_at: '2025-12-19T11:32:05Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.641838 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '666' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 11:32:06 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_react_to_comment_and_delete.yaml b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_react_to_comment_and_delete.yaml new file mode 100644 index 000000000..e9bc33a8b --- /dev/null +++ b/tests/integration/forgejo/test_data/test_comments/Comments.test_pr_react_to_comment_and_delete.yaml @@ -0,0 +1,557 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + DELETE: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3180/reactions: + - metadata: + latency: 0.5573270320892334 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 1 + _content: '' + _elapsed: 0.557099 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '0' + date: Fri, 19 Dec 2025 10:51:27 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3180/reactions: + - metadata: + latency: 0.4508235454559326 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - content: '+1' + created_at: '2025-12-19T10:51:26Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.450604 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '662' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:51:27 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.3028378486633301 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: null + _elapsed: 0.302542 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '5' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:51:27 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/pulls/209: + - metadata: + latency: 0.3572690486907959 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + additions: 2 + allow_maintainer_edit: false + assignee: null + assignees: null + base: + label: test_branch + ref: test_branch + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: 59b1a9bab5b5198c619270646410867788685c16 + body: '' + changed_files: 1 + closed_at: null + comments: 6 + created_at: '2025-04-24T15:11:43Z' + deletions: 0 + diff_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.diff + draft: false + due_date: null + head: + label: test-branch1 + ref: test-branch1 + repo: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + repo_id: 531 + sha: af1ec13d0e232ff1d5f4cc042381da19ffa6f892 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + id: 487 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + merge_base: 59b1a9bab5b5198c619270646410867788685c16 + merge_commit_sha: null + mergeable: true + merged: false + merged_at: null + merged_by: null + milestone: null + number: 209 + patch_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209.patch + pin_order: 0 + requested_reviewers: null + requested_reviewers_teams: null + review_comments: 0 + state: open + title: testing + updated_at: '2025-12-19T10:38:25Z' + url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + _elapsed: 0.35687 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:51:25 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/209/comments: + - metadata: + latency: 0.7479591369628906 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.pull_request + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: React to this comment + created_at: '2025-12-19T10:51:25Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209#issuecomment-3180 + id: 3180 + issue_url: '' + original_author: '' + original_author_id: 0 + pull_request_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/209 + updated_at: '2025-12-19T10:51:25Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.74766 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '991' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:51:25 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3180/reactions: + - metadata: + latency: 0.7541162967681885 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_comments + - ogr.abstract.exception + - ogr.services.forgejo.comments + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + content: '+1' + created_at: '2025-12-19T10:51:26Z' + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.753891 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '660' + content-type: application/json;charset=utf-8 + date: Fri, 19 Dec 2025 10:51:26 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 From 88d779912862f81a0290fcf4d0775e4f46ca0c5d Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Mon, 5 Jan 2026 13:12:05 +0100 Subject: [PATCH 21/41] Fix setters Previously, the title and description setters called the API properly when editing the title / description. However, the returned raw issue was discarded, which is no longer the case. --- ogr/services/forgejo/issue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index d0029ab09..e9d2e4d4f 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -61,7 +61,7 @@ def title(self) -> str: @title.setter def title(self, new_title: str) -> None: - self.partial_api(self.api.edit_issue)(title=new_title) + self._raw_issue = self.partial_api(self.api.edit_issue)(title=new_title) @property def id(self) -> int: @@ -77,7 +77,7 @@ def description(self) -> str: @description.setter def description(self, text: str): - self.partial_api(self.api.edit_issue)(body=text) + self._raw_issue = self.partial_api(self.api.edit_issue)(body=text) @property def author(self) -> str: From 9d4480a0d12f9e181253d7400a71f91f835741e8 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Mon, 5 Jan 2026 13:21:35 +0100 Subject: [PATCH 22/41] Filter out PRs in the get_issue function --- ogr/services/forgejo/issue.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index e9d2e4d4f..dfe2caafc 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -140,6 +140,11 @@ def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": index=issue_id, ) + # Forgejo API returns pull requests as well (not just issues) + # in case of issues, the pull_request field should be null + if issue.pull_request: + raise NotFoundError("") + except NotFoundError as ex: raise ForgejoAPIException(f"Issue {issue_id} not found") from ex return ForgejoIssue(issue, project) From b878e6582af4d47f187e3fe9e0583748312a6ff8 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Mon, 5 Jan 2026 13:24:22 +0100 Subject: [PATCH 23/41] Raise an error when attempting to assign nonexistent user --- ogr/services/forgejo/issue.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index dfe2caafc..3744d306f 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -6,6 +6,7 @@ from typing import Optional, Union from pyforgejo import NotFoundError +from pyforgejo.core.api_error import ApiError from pyforgejo.types.issue import Issue as _issue from ogr.abstract import Issue, IssueComment, IssueLabel, IssueStatus @@ -223,7 +224,11 @@ def add_assignee(self, *assignees: str) -> None: for assignee in self.assignees ] updated_assignees = list(set(current_assignees + list(assignees))) - self.partial_api(self.api.edit_issue)(assignees=updated_assignees) + + try: + self.partial_api(self.api.edit_issue)(assignees=updated_assignees) + except ApiError as ex: + raise ForgejoAPIException("Failed to assign issue, unknown user") from ex def add_label(self, *labels: str) -> None: self.partial_api(self.api.add_label)(labels=labels, index=self._index) From 9baf7b977c21ab8b347e952157ddd79c27ca03ea Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Mon, 5 Jan 2026 13:58:04 +0100 Subject: [PATCH 24/41] Add more tests regarding issue support --- ...sues.test_create_with_disabled_issues.yaml | 284 + .../Issues.test_functions_fail_for_pr.yaml | 586 + .../test_issues/Issues.test_get_comment.yaml | 289 + .../Issues.test_issue_add_assignee.yaml | 548 + .../Issues.test_issue_doesnt_exist.yaml | 172 + .../Issues.test_issue_no_such_assignee.yaml | 305 + ...Issues.test_list_contains_only_issues.yaml | 9413 +++++++++++++++++ .../test_issues/Issues.test_setters.yaml | 796 ++ tests/integration/forgejo/test_issues.py | 74 + 9 files changed, 12467 insertions(+) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_functions_fail_for_pr.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_comment.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_doesnt_exist.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_no_such_assignee.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_list_contains_only_issues.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_setters.yaml diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml new file mode 100644 index 000000000..8cab20bbc --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml @@ -0,0 +1,284 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.20584607124328613 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.project + - ogr.abstract.exception + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.205703 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:36:49 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/user: + - metadata: + latency: 0.3092920780181885 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.project + - ogr.abstract.exception + - ogr.services.forgejo.project + - ogr.abstract.exception + - ogr.services.forgejo.user + - functools + - ogr.services.forgejo.user + - pyforgejo.user.client + - pyforgejo.user.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.308908 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '600' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:36:48 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 0.7177448272705078 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: shouldn't be created + closed_at: null + comments: 0 + created_at: '2026-01-05T12:36:49Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/249 + id: 1151 + is_locked: false + labels: [] + milestone: null + number: 249 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Testing issue + updated_at: '2026-01-05T12:36:49Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/249 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.717538 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1277' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:36:49 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_functions_fail_for_pr.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_functions_fail_for_pr.yaml new file mode 100644 index 000000000..21fa8d686 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_functions_fail_for_pr.yaml @@ -0,0 +1,586 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.34663867950439453 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.346267 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:30 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221: + - metadata: + latency: 0.25919103622436523 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: pull request body + closed_at: null + comments: 0 + created_at: '2025-08-01T08:13:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + id: 1116 + is_locked: false + labels: [] + milestone: null + number: 221 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: + draft: false + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + merged: false + merged_at: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: 'test: upstream <- fork_username:source_branch' + updated_at: '2025-08-01T08:13:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.258913 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1432' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:30 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.2661747932434082 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: pull request body + closed_at: null + comments: 0 + created_at: '2025-08-01T08:13:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + id: 1116 + is_locked: false + labels: [] + milestone: null + number: 221 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: + draft: false + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + merged: false + merged_at: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: 'test: upstream <- fork_username:source_branch' + updated_at: '2025-08-01T08:13:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.265907 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1432' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:30 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.2567138671875 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: pull request body + closed_at: null + comments: 0 + created_at: '2025-08-01T08:13:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + id: 1116 + is_locked: false + labels: [] + milestone: null + number: 221 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: + draft: false + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + merged: false + merged_at: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: 'test: upstream <- fork_username:source_branch' + updated_at: '2025-08-01T08:13:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.256478 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1432' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:31 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.1956648826599121 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: pull request body + closed_at: null + comments: 0 + created_at: '2025-08-01T08:13:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + id: 1116 + is_locked: false + labels: [] + milestone: null + number: 221 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: + draft: false + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + merged: false + merged_at: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: 'test: upstream <- fork_username:source_branch' + updated_at: '2025-08-01T08:13:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.195522 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1432' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:31 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.2592198848724365 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: pull request body + closed_at: null + comments: 0 + created_at: '2025-08-01T08:13:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + id: 1116 + is_locked: false + labels: [] + milestone: null + number: 221 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: + draft: false + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/pulls/221 + merged: false + merged_at: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: 'test: upstream <- fork_username:source_branch' + updated_at: '2025-08-01T08:13:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/221 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.258997 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1432' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:54:31 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_comment.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_comment.yaml new file mode 100644 index 000000000..5a8df7887 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_comment.yaml @@ -0,0 +1,289 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3009297847747803 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.300604 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:32:49 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244: + - metadata: + latency: 0.3386242389678955 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 10 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T11:31:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.338393 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1305' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:32:50 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/comments/3174: + - metadata: + latency: 0.2943551540374756 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + body: /packit test-comment + created_at: '2025-12-19T08:48:22Z' + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244#issuecomment-3174 + id: 3174 + issue_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + original_author: '' + original_author_id: 0 + pull_request_url: '' + updated_at: '2025-12-19T10:06:03Z' + user: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.294114 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '992' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:32:50 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee.yaml new file mode 100644 index 000000000..fd1e1bfce --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee.yaml @@ -0,0 +1,548 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3351922035217285 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 110 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.334806 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:57:11 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.2834327220916748 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:56:32Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.283152 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:57:11 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + - metadata: + latency: 0.2642707824707031 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:57:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.264063 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:57:12 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/user: + - metadata: + latency: 0.32126808166503906 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.user + - functools + - ogr.services.forgejo.user + - pyforgejo.user.client + - pyforgejo.user.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.321047 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '600' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:57:12 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.5042848587036133 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:57:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.504092 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:57:12 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_doesnt_exist.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_doesnt_exist.yaml new file mode 100644 index 000000000..901e856d0 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_doesnt_exist.yaml @@ -0,0 +1,172 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3082880973815918 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.307907 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:35:42 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/100000000000000000000: + - metadata: + latency: 0.19314861297607422 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + errors: [] + message: The target couldn't be found. + url: https://v10.next.forgejo.org/api/swagger + _elapsed: 0.1929 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '105' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:35:42 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 404 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_no_such_assignee.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_no_such_assignee.yaml new file mode 100644 index 000000000..8051b8f13 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_no_such_assignee.yaml @@ -0,0 +1,305 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.25591206550598145 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.255537 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:20:34 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.26884961128234863 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Close issue abcdedfgh + updated_at: '2026-01-05T11:01:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.268605 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:20:34 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.2674534320831299 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + message: '' + url: https://v10.next.forgejo.org/api/swagger + _elapsed: 0.267228 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '64' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:20:35 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 500 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_list_contains_only_issues.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_list_contains_only_issues.yaml new file mode 100644 index 000000000..c08d959f1 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_list_contains_only_issues.yaml @@ -0,0 +1,9413 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3165137767791748 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.316178 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:38 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=1: + - metadata: + latency: 0.3066556453704834 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:56:37Z' + comments: 0 + created_at: '2025-12-16T11:56:36Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/248 + id: 1150 + is_locked: false + labels: [] + milestone: null + number: 248 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:56:37Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/248 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:53:16Z' + comments: 0 + created_at: '2025-12-16T11:53:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/247 + id: 1149 + is_locked: false + labels: [] + milestone: null + number: 247 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:53:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/247 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:42:00Z' + comments: 0 + created_at: '2025-12-16T11:41:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/246 + id: 1148 + is_locked: false + labels: [] + milestone: null + number: 246 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:42:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/246 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Close issue abcdedfgh + updated_at: '2026-01-05T11:01:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 10 + created_at: '2025-12-16T11:08:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/244 + id: 1146 + is_locked: false + labels: [] + milestone: null + number: 244 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-19T11:31:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/244 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:08:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/243 + id: 1145 + is_locked: false + labels: [] + milestone: null + number: 243 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:08:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/243 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:08:15Z' + comments: 0 + created_at: '2025-12-16T11:08:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/242 + id: 1144 + is_locked: false + labels: [] + milestone: null + number: 242 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:08:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/242 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:57Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/241 + id: 1143 + is_locked: false + labels: [] + milestone: null + number: 241 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:05:57Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/241 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:05:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/240 + id: 1142 + is_locked: false + labels: [] + milestone: null + number: 240 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:05:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/240 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/239 + id: 1141 + is_locked: false + labels: [] + milestone: null + number: 239 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:02:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/239 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:02:32Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/238 + id: 1140 + is_locked: false + labels: [] + milestone: null + number: 238 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:02:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/238 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:02:31Z' + comments: 0 + created_at: '2025-12-16T11:02:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/237 + id: 1139 + is_locked: false + labels: [] + milestone: null + number: 237 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:02:31Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/237 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:36Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/236 + id: 1138 + is_locked: false + labels: [] + milestone: null + number: 236 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T11:01:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/236 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T11:01:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/235 + id: 1137 + is_locked: false + labels: [] + milestone: null + number: 235 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T11:01:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/235 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T11:01:28Z' + comments: 0 + created_at: '2025-12-16T11:01:27Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/234 + id: 1136 + is_locked: false + labels: [] + milestone: null + number: 234 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T11:01:29Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/234 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:22Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/233 + id: 1135 + is_locked: false + labels: [] + milestone: null + number: 233 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T10:58:22Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/233 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T10:58:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/232 + id: 1134 + is_locked: false + labels: [] + milestone: null + number: 232 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T10:58:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/232 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T10:58:14Z' + comments: 0 + created_at: '2025-12-16T10:58:13Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/231 + id: 1133 + is_locked: false + labels: [] + milestone: null + number: 231 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T10:58:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/231 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/230 + id: 1132 + is_locked: false + labels: [] + milestone: null + number: 230 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:27:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/230 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:27:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/229 + id: 1131 + is_locked: false + labels: [] + milestone: null + number: 229 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:27:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/229 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:26:59Z' + comments: 0 + created_at: '2025-12-16T09:26:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/228 + id: 1130 + is_locked: false + labels: [] + milestone: null + number: 228 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:27:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/228 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is a test issue for checking title prefix + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:52Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/227 + id: 1129 + is_locked: false + labels: [] + milestone: null + number: 227 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-16T09:25:52Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/227 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:25:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/226 + id: 1128 + is_locked: false + labels: [] + milestone: null + number: 226 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:25:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/226 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:25:44Z' + comments: 0 + created_at: '2025-12-16T09:25:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/225 + id: 1127 + is_locked: false + labels: [] + milestone: null + number: 225 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:25:45Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/225 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 1 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2025-12-17T10:03:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue + closed_at: null + comments: 0 + created_at: '2025-12-16T09:15:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/223 + id: 1125 + is_locked: false + labels: [] + milestone: null + number: 223 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue + updated_at: '2025-12-16T09:23:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/223 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: '2025-12-16T09:15:10Z' + comments: 0 + created_at: '2025-12-16T09:15:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/222 + id: 1124 + is_locked: false + labels: [] + milestone: null + number: 222 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdedfgh + updated_at: '2025-12-16T09:15:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/222 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2025-12-16T08:43:04Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:06Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/118 + id: 931 + is_locked: false + labels: [] + milestone: null + number: 118 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-08-21T21:47:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/118 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-08-21T21:47:05Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/117 + id: 930 + is_locked: false + labels: [] + milestone: null + number: 117 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-08-21T21:47:05Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/117 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:03Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/116 + id: 929 + is_locked: false + labels: [] + milestone: null + number: 116 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-08-21T21:47:03Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/116 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.306278 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:39 GMT + link: ; + rel="next",; + rel="last" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=2: + - metadata: + latency: 0.294708251953125 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-08-21T21:47:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/115 + id: 928 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 115 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-08-21T21:47:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/115 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2022-08-21T21:47:00Z' + comments: 0 + created_at: '2022-08-21T21:46:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/114 + id: 927 + is_locked: false + labels: [] + milestone: null + number: 114 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2022-08-21T21:47:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/114 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/113 + id: 926 + is_locked: false + labels: [] + milestone: null + number: 113 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-04-22T09:31:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/113 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-04-22T09:31:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/112 + id: 925 + is_locked: false + labels: [] + milestone: null + number: 112 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-04-22T09:31:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/112 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:56Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/111 + id: 924 + is_locked: false + labels: [] + milestone: null + number: 111 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-04-22T09:31:56Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/111 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-04-22T09:31:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/110 + id: 923 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 110 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-04-22T09:31:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/110 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2022-04-22T09:31:53Z' + comments: 0 + created_at: '2022-04-22T09:31:52Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/109 + id: 922 + is_locked: false + labels: [] + milestone: null + number: 109 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2022-04-22T09:31:53Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/109 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/108 + id: 921 + is_locked: false + labels: [] + milestone: null + number: 108 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2022-01-05T18:41:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/108 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2022-01-05T18:41:19Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/107 + id: 920 + is_locked: false + labels: [] + milestone: null + number: 107 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2022-01-05T18:41:19Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/107 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/106 + id: 919 + is_locked: false + labels: [] + milestone: null + number: 106 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-01-05T18:41:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/106 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2022-01-05T18:41:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/105 + id: 918 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 105 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2022-01-05T18:41:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/105 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2022-01-05T18:41:13Z' + comments: 0 + created_at: '2022-01-05T18:41:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/104 + id: 917 + is_locked: false + labels: [] + milestone: null + number: 104 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2022-01-05T18:41:13Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/104 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:17Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/103 + id: 916 + is_locked: false + labels: [] + milestone: null + number: 103 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2021-04-12T21:11:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/103 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 1 + created_at: '2021-04-12T21:11:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/102 + id: 915 + is_locked: false + labels: [] + milestone: null + number: 102 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2021-09-24T09:39:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/102 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/101 + id: 914 + is_locked: false + labels: [] + milestone: null + number: 101 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2021-04-12T21:11:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/101 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2021-04-12T21:11:14Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/100 + id: 913 + is_locked: false + labels: [] + milestone: null + number: 100 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2021-04-12T21:11:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/100 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2021-04-12T21:11:13Z' + comments: 0 + created_at: '2021-04-12T21:11:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/99 + id: 912 + is_locked: false + labels: [] + milestone: null + number: 99 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2021-04-12T21:11:13Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/99 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T15:10:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/98 + id: 911 + is_locked: false + labels: [] + milestone: null + number: 98 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-19T15:10:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/98 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T15:10:14Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/97 + id: 910 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 97 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-19T15:10:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/97 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2020-10-19T13:16:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/96 + id: 909 + is_locked: false + labels: [] + milestone: null + number: 96 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2020-10-19T13:16:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/96 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2020-10-19T13:08:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/95 + id: 908 + is_locked: false + labels: [] + milestone: null + number: 95 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is a example issue on gitlab + updated_at: '2020-10-19T13:08:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/95 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue spam issue + closed_at: null + comments: 0 + created_at: '2020-10-19T12:33:01Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/94 + id: 907 + is_locked: false + labels: [] + milestone: null + number: 94 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is not a spam + updated_at: '2020-10-19T12:33:01Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/94 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue spam issue + closed_at: null + comments: 2 + created_at: '2020-10-19T12:30:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/93 + id: 906 + is_locked: false + labels: [] + milestone: null + number: 93 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: This is not a spam + updated_at: '2020-10-19T12:33:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/93 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T12:27:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/92 + id: 905 + is_locked: false + labels: [] + milestone: null + number: 92 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue example + updated_at: '2020-10-19T12:27:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/92 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-19T12:25:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/91 + id: 904 + is_locked: false + labels: [] + milestone: null + number: 91 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue example + updated_at: '2020-10-19T12:25:43Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/91 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-12T10:27:35Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/90 + id: 903 + is_locked: false + labels: [] + milestone: null + number: 90 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-10-12T10:27:35Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/90 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-10-12T10:27:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/89 + id: 902 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 89 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-10-12T10:27:34Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/89 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2020-10-12T10:27:32Z' + comments: 0 + created_at: '2020-10-12T10:27:31Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/88 + id: 901 + is_locked: false + labels: [] + milestone: null + number: 88 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2020-10-12T10:27:32Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/88 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:21Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/87 + id: 900 + is_locked: false + labels: [] + milestone: null + number: 87 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-08-31T08:33:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/87 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/86 + id: 899 + is_locked: false + labels: [] + milestone: null + number: 86 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-31T08:33:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/86 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.29446 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:39 GMT + link: ; + rel="next",; + rel="last",; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=3: + - metadata: + latency: 0.30577969551086426 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-31T08:33:20Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/85 + id: 898 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 85 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-31T08:33:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/85 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2020-08-31T08:33:18Z' + comments: 0 + created_at: '2020-08-31T08:33:17Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/84 + id: 897 + is_locked: false + labels: [] + milestone: null + number: 84 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2020-08-31T08:33:18Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/84 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:30:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/83 + id: 896 + is_locked: false + labels: [] + milestone: null + number: 83 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:30:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/83 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:30:54Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/82 + id: 895 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 82 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:30:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/82 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:29:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/81 + id: 894 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 81 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefghi + updated_at: '2020-08-27T09:29:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/81 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefghi + closed_at: null + comments: 0 + created_at: '2020-08-27T09:29:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/80 + id: 893 + is_locked: false + labels: [] + milestone: null + number: 80 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefghi + updated_at: '2020-08-27T09:29:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/80 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdefghi + closed_at: '2020-08-27T09:29:09Z' + comments: 0 + created_at: '2020-08-27T09:29:08Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/79 + id: 892 + is_locked: false + labels: [] + milestone: null + number: 79 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcdefghi + updated_at: '2020-08-27T09:29:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/79 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefg + closed_at: null + comments: 0 + created_at: '2020-08-24T13:14:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/78 + id: 891 + is_locked: false + labels: [] + milestone: null + number: 78 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcdefg + updated_at: '2020-08-24T13:14:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/78 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdefg + closed_at: null + comments: 0 + created_at: '2020-08-24T13:10:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/77 + id: 890 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 77 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdefg + updated_at: '2020-08-24T13:10:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/77 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcdef + closed_at: null + comments: 0 + created_at: '2020-08-24T13:05:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/76 + id: 889 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 76 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcdef + updated_at: '2020-08-24T13:05:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/76 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:43:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/75 + id: 888 + is_locked: false + labels: [] + milestone: null + number: 75 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-24T08:43:40Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/75 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:43:38Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/74 + id: 887 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 74 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-24T08:43:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/74 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2020-08-24T08:43:37Z' + comments: 0 + created_at: '2020-08-24T08:43:36Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/73 + id: 886 + is_locked: false + labels: [] + milestone: null + number: 73 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2020-08-24T08:43:37Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/73 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:17:59Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/72 + id: 885 + is_locked: false + labels: [] + milestone: null + number: 72 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-24T08:17:59Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/72 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-24T08:17:58Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/71 + id: 884 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 71 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-24T08:17:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/71 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2020-08-24T08:17:55Z' + comments: 0 + created_at: '2020-08-24T08:17:54Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/70 + id: 883 + is_locked: false + labels: [] + milestone: null + number: 70 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2020-08-24T08:17:55Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/70 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T10:58:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/69 + id: 882 + is_locked: false + labels: [] + milestone: null + number: 69 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-21T10:58:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/69 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T10:58:25Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/68 + id: 881 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 68 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-21T10:58:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/68 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2020-08-21T10:58:24Z' + comments: 0 + created_at: '2020-08-21T10:58:22Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/67 + id: 880 + is_locked: false + labels: [] + milestone: null + number: 67 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2020-08-21T10:58:24Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/67 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T09:25:11Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/66 + id: 879 + is_locked: false + labels: [] + milestone: null + number: 66 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-08-21T09:25:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/66 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-21T09:25:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/65 + id: 878 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + milestone: null + number: 65 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-21T09:25:09Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/65 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2020-08-21T09:25:07Z' + comments: 0 + created_at: '2020-08-21T09:25:06Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/64 + id: 877 + is_locked: false + labels: [] + milestone: null + number: 64 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2020-08-21T09:25:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/64 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-12T20:36:51Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/63 + id: 876 + is_locked: false + labels: [] + milestone: null + number: 63 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-12T20:36:51Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/63 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-08-12T20:36:50Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/62 + id: 875 + is_locked: false + labels: [] + milestone: null + number: 62 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-08-12T20:36:50Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/62 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-07-30T21:25:04Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/61 + id: 874 + is_locked: false + labels: [] + milestone: null + number: 61 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-07-30T21:25:04Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/61 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2020-07-30T12:08:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/60 + id: 873 + is_locked: false + labels: [] + milestone: null + number: 60 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Confidential Issue abcde + updated_at: '2020-07-30T12:08:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/60 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Something useful here. + closed_at: null + comments: 0 + created_at: '2020-07-29T10:13:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/59 + id: 872 + is_locked: false + labels: [] + milestone: null + number: 59 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Confidential issue with labels + updated_at: '2020-07-29T10:13:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/59 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Something useful here. + closed_at: null + comments: 0 + created_at: '2020-07-29T10:12:41Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/58 + id: 871 + is_locked: false + labels: [] + milestone: null + number: 58 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Confidential issue with labels + updated_at: '2020-07-29T10:12:41Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/58 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:22:00Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/57 + id: 870 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 57 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 32 + updated_at: '2020-02-27T09:26:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/57 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/56 + id: 869 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 56 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 31 + updated_at: '2020-02-27T09:26:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/56 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.305545 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:39 GMT + link: ; + rel="next",; + rel="last",; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=4: + - metadata: + latency: 0.2671639919281006 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/55 + id: 868 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 55 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 30 + updated_at: '2020-02-27T09:26:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/55 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some different text to not be detected as a + spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:21:12Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/54 + id: 867 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 54 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 29 + updated_at: '2020-02-27T09:26:34Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/54 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/53 + id: 866 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 53 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 28 + updated_at: '2020-02-27T09:26:32Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/53 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:35Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/52 + id: 865 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 52 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 27 + updated_at: '2020-02-27T09:26:30Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/52 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:24Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/51 + id: 864 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 51 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 26 + updated_at: '2020-02-27T09:26:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/51 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:13Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/50 + id: 863 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 50 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 25 + updated_at: '2020-02-27T09:26:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/50 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:19:02Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/49 + id: 862 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 49 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 24 + updated_at: '2020-02-27T09:26:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/49 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:51Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/48 + id: 861 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 48 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 23 + updated_at: '2020-02-27T09:26:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/48 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:39Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/47 + id: 860 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 47 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 22 + updated_at: '2020-02-27T09:26:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/47 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:28Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/46 + id: 859 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 46 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 21 + updated_at: '2020-02-27T09:26:19Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/46 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:17Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/45 + id: 858 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 45 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 20 + updated_at: '2020-02-27T09:26:17Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/45 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:18:06Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/44 + id: 857 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 44 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 19 + updated_at: '2020-02-27T09:26:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/44 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:55Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/43 + id: 856 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 43 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 18 + updated_at: '2020-02-27T09:26:13Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/43 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcde' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/42 + id: 855 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 42 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 17 + updated_at: '2020-02-27T09:26:12Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/42 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abcd' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/41 + id: 854 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 41 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 16 + updated_at: '2020-02-27T09:26:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/41 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue for closing abcd' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:21Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/40 + id: 853 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 40 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 15 + updated_at: '2020-02-27T09:26:07Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/40 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + + Description for issue abc' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:17:10Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/39 + id: 852 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 39 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 14 + updated_at: '2020-02-27T09:26:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/39 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:14:07Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/38 + id: 851 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 38 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 13 + updated_at: '2020-02-27T09:26:04Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/38 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:56Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/37 + id: 850 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 37 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 12 + updated_at: '2020-02-27T09:26:02Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/37 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:45Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/36 + id: 849 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 36 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 11 + updated_at: '2020-02-27T09:26:00Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/36 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:13:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/35 + id: 848 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 35 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 10 + updated_at: '2020-02-27T09:25:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/35 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer: + + {repo.get_issue(id=i).description}' + closed_at: '2020-02-27T11:02:16Z' + comments: 1 + created_at: '2020-02-27T09:13:23Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/34 + id: 847 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 34 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: test-issue 9 + updated_at: '2020-02-27T11:02:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/34 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:46Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/33 + id: 846 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 33 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 8 + updated_at: '2020-02-27T09:25:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/33 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/32 + id: 845 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 32 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 7 + updated_at: '2020-02-27T09:25:51Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/32 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/31 + id: 844 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 31 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 6 + updated_at: '2020-02-27T09:25:49Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/31 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340 + + + And here, we need to add some text to not be detected as a spammer.' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:10:28Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/30 + id: 843 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 30 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 5 + updated_at: '2020-02-27T09:25:47Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/30 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:45Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/28 + id: 842 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 28 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 4 + updated_at: '2020-02-27T09:25:21Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/28 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/27 + id: 841 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 27 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 3 + updated_at: '2020-02-27T09:25:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/27 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:43Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/26 + id: 840 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 26 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 2 + updated_at: '2020-02-27T09:25:18Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/26 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:42Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/25 + id: 839 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 25 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 1 + updated_at: '2020-02-27T09:25:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/25 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.266873 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:40 GMT + link: ; + rel="next",; + rel="last",; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=5: + - metadata: + latency: 0.27751636505126953 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - assets: [] + assignee: null + assignees: null + body: 'We need to test project with bigger number of issues. + + + Relevant ogr PR: https://github.com/packit-service/ogr/pull/340' + closed_at: null + comments: 0 + created_at: '2020-02-27T09:07:41Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/24 + id: 838 + is_locked: false + labels: + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + milestone: null + number: 24 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test-issue 0 + updated_at: '2020-02-27T11:01:23Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/24 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 1 + created_at: '2019-11-20T19:36:34Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/23 + id: 837 + is_locked: false + labels: [] + milestone: null + number: 23 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2020-01-17T13:59:46Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/23 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2019-11-20T19:36:31Z' + comments: 1 + created_at: '2019-11-20T19:36:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/22 + id: 836 + is_locked: false + labels: [] + milestone: null + number: 22 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2019-11-20T19:36:31Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/22 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2019-11-13T10:00:20Z' + comments: 1 + created_at: '2019-11-13T10:00:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/21 + id: 835 + is_locked: false + labels: [] + milestone: null + number: 21 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2019-11-13T10:00:20Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/21 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2019-10-08T16:16:08Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/20 + id: 834 + is_locked: false + labels: [] + milestone: null + number: 20 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2019-10-08T16:16:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/20 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2019-10-08T16:16:06Z' + comments: 1 + created_at: '2019-10-08T16:16:05Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/19 + id: 833 + is_locked: false + labels: [] + milestone: null + number: 19 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2019-10-08T16:16:06Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/19 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcde + closed_at: null + comments: 0 + created_at: '2019-09-27T08:39:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/18 + id: 832 + is_locked: false + labels: [] + milestone: null + number: 18 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcde + updated_at: '2019-09-27T08:39:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/18 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcde + closed_at: '2019-09-27T08:39:25Z' + comments: 1 + created_at: '2019-09-27T08:39:24Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/17 + id: 831 + is_locked: false + labels: [] + milestone: null + number: 17 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcde + updated_at: '2019-09-27T08:39:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/17 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abcd + closed_at: null + comments: 0 + created_at: '2019-09-26T14:20:16Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/16 + id: 830 + is_locked: false + labels: [] + milestone: null + number: 16 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abcd + updated_at: '2019-09-26T14:20:16Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/16 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcd + closed_at: '2019-09-26T14:20:15Z' + comments: 2 + created_at: '2019-09-26T14:20:14Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/15 + id: 829 + is_locked: false + labels: [] + milestone: null + number: 15 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abcd + updated_at: '2020-01-17T14:00:08Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/15 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue abc + closed_at: null + comments: 0 + created_at: '2019-09-26T10:22:40Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/14 + id: 828 + is_locked: false + labels: [] + milestone: null + number: 14 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: New Issue abc + updated_at: '2019-09-26T10:22:40Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/14 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing abc + closed_at: '2019-09-26T10:22:37Z' + comments: 1 + created_at: '2019-09-26T10:22:35Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/13 + id: 827 + is_locked: false + labels: [] + milestone: null + number: 13 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue abc + updated_at: '2019-09-26T10:22:37Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/13 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing + closed_at: '2019-09-26T10:15:27Z' + comments: 1 + created_at: '2019-09-26T10:15:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/12 + id: 826 + is_locked: false + labels: [] + milestone: null + number: 12 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue + updated_at: '2019-09-26T10:15:27Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/12 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 1 + created_at: '2019-09-26T10:14:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/11 + id: 825 + is_locked: false + labels: [] + milestone: null + number: 11 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2020-01-17T13:59:57Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/11 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing + closed_at: '2019-09-26T10:14:28Z' + comments: 1 + created_at: '2019-09-26T10:14:26Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/10 + id: 824 + is_locked: false + labels: [] + milestone: null + number: 10 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue + updated_at: '2019-09-26T10:14:28Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/10 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:13:15Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/9 + id: 823 + is_locked: false + labels: [] + milestone: null + number: 9 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:13:15Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/9 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing + closed_at: '2019-09-26T10:13:14Z' + comments: 1 + created_at: '2019-09-26T10:13:13Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/8 + id: 822 + is_locked: false + labels: [] + milestone: null + number: 8 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue + updated_at: '2019-09-26T10:13:14Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/8 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:12:11Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/7 + id: 821 + is_locked: false + labels: [] + milestone: null + number: 7 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:12:11Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/7 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing + closed_at: '2019-09-26T10:12:10Z' + comments: 1 + created_at: '2019-09-26T10:12:09Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/6 + id: 820 + is_locked: false + labels: [] + milestone: null + number: 6 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue + updated_at: '2019-09-26T10:12:10Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/6 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 0 + created_at: '2019-09-26T10:11:33Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/5 + id: 819 + is_locked: false + labels: [] + milestone: null + number: 5 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2019-09-26T10:11:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/5 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue for closing + closed_at: '2019-09-26T10:11:31Z' + comments: 1 + created_at: '2019-09-26T10:11:30Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/4 + id: 818 + is_locked: false + labels: [] + milestone: null + number: 4 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Close issue + updated_at: '2019-09-26T10:11:31Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/4 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: null + comments: 1 + created_at: '2019-09-26T09:58:57Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/3 + id: 817 + is_locked: false + labels: [] + milestone: null + number: 3 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Issue 2 + updated_at: '2022-08-21T21:47:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/3 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: Description for issue 2 + closed_at: '2019-09-11T13:05:34Z' + comments: 5 + created_at: '2019-09-10T13:47:00Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/2 + id: 816 + is_locked: false + labels: [] + milestone: null + number: 2 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: Issue 2 + updated_at: '2019-09-28T10:46:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/2 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + - assets: [] + assignee: null + assignees: null + body: This is testing issue + closed_at: '2019-09-10T13:49:26Z' + comments: 63 + created_at: '2019-09-10T13:46:07Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/1 + id: 815 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + milestone: null + number: 1 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: closed + title: My first issue + updated_at: '2022-08-21T21:47:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/1 + user: + active: false + avatar_url: https://v10.next.forgejo.org/assets/img/avatar_default.png + created: '1970-01-01T00:00:00Z' + description: '' + email: '' + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/Ghost + id: -1 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: Ghost + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: Ghost + visibility: public + website: '' + _elapsed: 0.277322 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:40 GMT + link: ; + rel="first",; + rel="prev" + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues?state=all&type=issues&page=6: + - metadata: + latency: 0.28598856925964355 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.utils + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: [] + _elapsed: 0.285782 + encoding: utf-8 + headers: + access-control-expose-headers: Link, X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '3' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 11:34:40 GMT + link: ; + rel="first",; + rel="prev" + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '144' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_setters.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_setters.yaml new file mode 100644 index 000000000..834733e9b --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_setters.yaml @@ -0,0 +1,796 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.24493145942687988 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 109 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.244758 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:24 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.2586343288421631 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:18:58Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.258469 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:24 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.4530494213104248 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test title + updated_at: '2026-01-05T12:19:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.452913 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:25 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.46088266372680664 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:19:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.460755 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:25 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.5857725143432617 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: test description + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:19:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.585692 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:26 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.4367547035217285 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-05T12:19:26Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.436612 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 12:19:26 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index 18f6f1ff8..b5cf6844f 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -1,10 +1,15 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +import pytest from requre.helpers import record_httpx from requre.online_replacing import record_requests_for_all_methods from ogr.abstract import IssueStatus +from ogr.exceptions import ( + ForgejoAPIException, + GitForgeInternalError, +) from tests.integration.forgejo.base import ForgejoTests @@ -102,3 +107,72 @@ def test_issue_labels(self): labels = self.project.get_issue(224).labels assert labels assert next(iter(labels)).name == "test_lb1" + + def test_issue_add_assignee(self): + """ + Remove the assignees from this issue before regenerating the response files: + https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + """ + issue = self.project.get_issue(245) + print(self.service.user.get_username()) + assignees = issue.assignees + + assert not assignees + issue.add_assignee("packit-validator") + assignees = self.project.get_issue(245).assignees + assert len(assignees) == 1 + assert assignees[0].login == "packit-validator" + + def test_issue_no_such_assignee(self): + issue = self.project.get_issue(245) + + # __check_for_internal_failure replaces ForgejoAPIException with GitForgeInternalError + with pytest.raises(GitForgeInternalError): + issue.add_assignee("nonexistentuser") + + def test_list_contains_only_issues(self): + issue_list_all = self.project.get_issue_list(status=IssueStatus.all) + issue_ids = [issue.id for issue in issue_list_all] + + pr_ids = [143, 170, 194, 195, 198, 199, 204, 209, 220, 221] + for id in pr_ids: + assert id not in issue_ids + + def test_issue_doesnt_exist(self): + with pytest.raises(ForgejoAPIException): + self.project.get_issue(10**20) + + def test_functions_fail_for_pr(self): + with pytest.raises(ForgejoAPIException): + self.project.get_issue(221) + with pytest.raises(ForgejoAPIException): + self.project.get_issue(221).comment(body="should fail") + with pytest.raises(ForgejoAPIException): + self.project.get_issue(221).close() + with pytest.raises(ForgejoAPIException): + _ = self.project.get_issue(221).labels + with pytest.raises(ForgejoAPIException): + self.project.get_issue(221).add_label("should fail") + + def test_setters(self): + issue = self.project.get_issue(issue_id=245) + + old_title = issue.title + issue.title = "test title" + assert issue.title != old_title + assert issue.title == "test title" + + issue.title = old_title + assert issue.title == old_title + + old_description = issue.description + issue.description = "test description" + assert issue.description != old_description + assert issue.description == "test description" + + issue.description = old_description + assert issue.description == old_description + + def test_get_comment(self): + comment = self.project.get_issue(244).get_comment(3174) + assert comment.body == "/packit test-comment" From e9dd85514fdced9b11b5b71e3369e351cca7fe50 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Mon, 5 Jan 2026 15:32:56 +0100 Subject: [PATCH 25/41] Fix create_issue with defined labels and add relevant tests The labels parameter is a list of strings. However, Forgejo API expects a list of label ids. The implementation of create_issue has been edited so that when the labels parameter is specified, the ids of these labels are retrieved from the API. If a label, that doesn't yet exist, is specified, then a new label is created via the API and its id is used when creating the issue. --- ogr/services/forgejo/issue.py | 29 +- .../Issues.test_create_issue_with_labels.yaml | 357 ++++++++++++++ ...ues.test_create_issue_with_new_labels.yaml | 445 ++++++++++++++++++ tests/integration/forgejo/test_issues.py | 40 ++ 4 files changed, 870 insertions(+), 1 deletion(-) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 3744d306f..8902853c3 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -119,12 +119,39 @@ def create( if not project.has_issues: raise IssueTrackerDisabled() + label_ids = [] + + if labels: + available_labels = project.service.api.issue.list_labels( + owner=project.namespace, + repo=project.repo, + ) + + for label in labels: + # get id in case label already exists + if matches := [ + old_label + for old_label in available_labels + if old_label.name == label + ]: + label_ids.append(matches[0].id) + + # create new label in case it doesn't exist + else: + new_label = project.service.api.issue.create_label( + owner=project.namespace, + repo=project.repo, + color="428bca", # default label color + name=label, + ) + label_ids.append(new_label.id) + issue = project.service.api.issue.create_issue( owner=project.namespace, repo=project.repo, title=title, body=body, - labels=labels, + labels=label_ids, assignees=assignees, ) return ForgejoIssue(issue, project) diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml new file mode 100644 index 000000000..9f951e38f --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml @@ -0,0 +1,357 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.3342463970184326 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 113 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.333883 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:10:52 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + - metadata: + latency: 0.25612807273864746 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + - color: 428bca + description: '' + exclusive: false + id: 643 + is_archived: false + name: test_lb3 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/643 + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + _elapsed: 0.255917 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:10:52 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '12' + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 0.7652301788330078 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2026-01-05T14:10:53Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/253 + id: 1155 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 253 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: A super duper issue + updated_at: '2026-01-05T14:10:53Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/253 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.765112 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1652' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:10:53 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml new file mode 100644 index 000000000..6af647f27 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml @@ -0,0 +1,445 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.32171106338500977 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 111 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.321318 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:20:21 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + - metadata: + latency: 0.25729942321777344 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - color: 428bca + description: '' + exclusive: false + id: 633 + is_archived: false + name: '1' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 + - color: 428bca + description: '' + exclusive: false + id: 634 + is_archived: false + name: '2' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 + - color: 428bca + description: '' + exclusive: false + id: 635 + is_archived: false + name: a + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 637 + is_archived: false + name: e + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 + - color: 428bca + description: '' + exclusive: false + id: 638 + is_archived: false + name: l + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 + - color: 428bca + description: '' + exclusive: false + id: 639 + is_archived: false + name: label1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + - color: 428bca + description: '' + exclusive: false + id: 643 + is_archived: false + name: test_lb3 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/643 + - color: 428bca + description: There has to be exactly 33 issue labeled. + exclusive: false + id: 644 + is_archived: false + name: testing-label-for-test-issue-list-labels + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 + _elapsed: 0.257103 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:20:21 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '12' + next_request: null + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: + - metadata: + latency: 0.6507313251495361 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2026-01-05T14:20:22Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/254 + id: 1156 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 731 + is_archived: false + name: a new label + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/731 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 732 + is_archived: false + name: the fastest label in the wild west + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/732 + milestone: null + number: 254 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: A super duper issue no one has ever seen before + updated_at: '2026-01-05T14:20:22Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/254 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.650533 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1900' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:20:23 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + - metadata: + latency: 0.43370676040649414 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + color: 428bca + description: '' + exclusive: false + id: 731 + is_archived: false + name: a new label + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/731 + _elapsed: 0.433515 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '192' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:20:21 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 + - metadata: + latency: 0.48743629455566406 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + color: 428bca + description: '' + exclusive: false + id: 732 + is_archived: false + name: the fastest label in the wild west + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/732 + _elapsed: 0.487163 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '215' + content-type: application/json;charset=utf-8 + date: Mon, 05 Jan 2026 14:20:22 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index b5cf6844f..c06aaa9a5 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -70,6 +70,46 @@ def test_create_issue_with_assignee(self): assert issue.assignees[0].login == assign[0] assert issue.description == issue_desc + def test_create_issue_with_labels(self): + issue_title = "A super duper issue" + issue_desc = "Description for issue" + + # labels need to be sorted alphabetically as that is the order + # in which they are returned by the API + labels = ["b", "label2"] + + issue = self.project.create_issue( + title=issue_title, + body=issue_desc, + labels=labels, + ) + assert issue.title == issue_title + assert issue.description == issue_desc + assert issue.labels + + for issue_label, label in zip(issue.labels, labels): + assert issue_label.name == label + + def test_create_issue_with_new_labels(self): + issue_title = "A super duper issue no one has ever seen before" + issue_desc = "Description for issue" + + # labels need to be sorted alphabetically as that is the order + # in which they are returned by the API + labels = ["a new label", "b", "the fastest label in the wild west"] + + issue = self.project.create_issue( + title=issue_title, + body=issue_desc, + labels=labels, + ) + assert issue.title == issue_title + assert issue.description == issue_desc + assert issue.labels + + for issue_label, label in zip(issue.labels, labels): + assert issue_label.name == label + def test_close_issue(self): issue = self.project.create_issue( title=f"Close issue {self.random_str}", From 86b0bebce0225a34c18baaa3c5f08186f85d700f Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 11:03:24 +0100 Subject: [PATCH 26/41] Add test regarding getting an issue in a fork --- ...sues.test_create_with_disabled_issues.yaml | 284 -------- .../Issues.test_get_with_disabled_issues.yaml | 609 ++++++++++++++++++ tests/integration/forgejo/test_issues.py | 9 + 3 files changed, 618 insertions(+), 284 deletions(-) delete mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_get_with_disabled_issues.yaml diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml deleted file mode 100644 index 8cab20bbc..000000000 --- a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_with_disabled_issues.yaml +++ /dev/null @@ -1,284 +0,0 @@ -_requre: - DataTypes: 1 - key_strategy: StorageKeysInspectSimple - version_storage_file: 3 -httpx._client: - send: - GET: - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: - - metadata: - latency: 0.20584607124328613 - module_call_list: - - unittest.case - - requre.record_and_replace - - tests.integration.forgejo.test_issues - - ogr.abstract.exception - - ogr.services.forgejo.project - - ogr.abstract.exception - - ogr.services.forgejo.project - - functools - - ogr.services.forgejo.project - - pyforgejo.repository.client - - pyforgejo.repository.raw_client - - pyforgejo.core.http_client - - httpx._client - - requre.objects - - requre.cassette - - httpx._client - - send - output: - __store_indicator: 2 - _content: - allow_fast_forward_only_merge: true - allow_merge_commits: true - allow_rebase: true - allow_rebase_explicit: true - allow_rebase_update: true - allow_squash_merge: true - archived: false - archived_at: '1970-01-01T00:00:00Z' - avatar_url: '' - clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git - created_at: '2025-03-20T21:40:15Z' - default_allow_maintainer_edit: false - default_branch: master - default_delete_branch_after_merge: false - default_merge_style: merge - default_update_style: merge - description: Different description - empty: false - fork: false - forks_count: 2 - full_name: packit-validator/ogr-tests - globally_editable_wiki: false - has_actions: true - has_issues: true - has_packages: true - has_projects: true - has_pull_requests: true - has_releases: true - has_wiki: true - html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests - id: 531 - ignore_whitespace_conflicts: false - internal: false - internal_tracker: - allow_only_contributors_to_track_time: true - enable_issue_dependencies: true - enable_time_tracker: true - language: '' - languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages - link: '' - mirror: false - mirror_interval: '' - mirror_updated: '0001-01-01T00:00:00Z' - name: ogr-tests - object_format_name: sha1 - open_issues_count: 109 - open_pr_counter: 10 - original_url: https://gitlab.com/packit-service/ogr-tests.git - owner: - active: false - avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 - created: '2025-02-14T09:34:00Z' - description: '' - email: packit-validator@noreply.v10.next.forgejo.org - followers_count: 0 - following_count: 0 - full_name: '' - html_url: https://v10.next.forgejo.org/packit-validator - id: 618 - is_admin: false - language: '' - last_login: '0001-01-01T00:00:00Z' - location: '' - login: packit-validator - login_name: '' - prohibit_login: false - pronouns: '' - restricted: false - source_id: 0 - starred_repos_count: 0 - username: packit-validator - visibility: public - website: '' - parent: null - permissions: - admin: true - pull: true - push: true - private: false - release_counter: 18 - repo_transfer: null - size: 71 - ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git - stars_count: 0 - template: false - topics: null - updated_at: '2025-08-01T08:11:38Z' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests - watchers_count: 1 - website: '' - wiki_branch: master - _elapsed: 0.205703 - encoding: utf-8 - headers: - cache-control: max-age=0, private, must-revalidate, no-transform - content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 12:36:49 GMT - transfer-encoding: chunked - vary: Origin - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - next_request: null - status_code: 200 - https://v10.next.forgejo.org/api/v1/user: - - metadata: - latency: 0.3092920780181885 - module_call_list: - - unittest.case - - requre.record_and_replace - - tests.integration.forgejo.test_issues - - ogr.abstract.exception - - ogr.services.forgejo.project - - ogr.abstract.exception - - ogr.services.forgejo.project - - ogr.abstract.exception - - ogr.services.forgejo.user - - functools - - ogr.services.forgejo.user - - pyforgejo.user.client - - pyforgejo.user.raw_client - - pyforgejo.core.http_client - - httpx._client - - requre.objects - - requre.cassette - - httpx._client - - send - output: - __store_indicator: 2 - _content: - active: true - avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 - created: '2025-02-14T09:34:00Z' - description: '' - email: public-repos-bot@packit.dev - followers_count: 0 - following_count: 0 - full_name: '' - html_url: https://v10.next.forgejo.org/packit-validator - id: 618 - is_admin: false - language: en-US - last_login: '2026-01-05T12:18:45Z' - location: '' - login: packit-validator - login_name: '' - prohibit_login: false - pronouns: '' - restricted: false - source_id: 0 - starred_repos_count: 0 - username: packit-validator - visibility: public - website: '' - _elapsed: 0.308908 - encoding: utf-8 - headers: - cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '600' - content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 12:36:48 GMT - vary: Origin - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - next_request: null - status_code: 200 - POST: - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: - - metadata: - latency: 0.7177448272705078 - module_call_list: - - unittest.case - - requre.record_and_replace - - tests.integration.forgejo.test_issues - - ogr.abstract.exception - - ogr.utils - - ogr.abstract.exception - - ogr.services.forgejo.issue - - pyforgejo.issue.client - - pyforgejo.issue.raw_client - - pyforgejo.core.http_client - - httpx._client - - requre.objects - - requre.cassette - - httpx._client - - send - output: - __store_indicator: 2 - _content: - assets: [] - assignee: null - assignees: null - body: shouldn't be created - closed_at: null - comments: 0 - created_at: '2026-01-05T12:36:49Z' - due_date: null - html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/249 - id: 1151 - is_locked: false - labels: [] - milestone: null - number: 249 - original_author: '' - original_author_id: 0 - pin_order: 0 - pull_request: null - ref: '' - repository: - full_name: packit-validator/ogr-tests - id: 531 - name: ogr-tests - owner: packit-validator - state: open - title: Testing issue - updated_at: '2026-01-05T12:36:49Z' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/249 - user: - active: true - avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 - created: '2025-02-14T09:34:00Z' - description: '' - email: public-repos-bot@packit.dev - followers_count: 0 - following_count: 0 - full_name: '' - html_url: https://v10.next.forgejo.org/packit-validator - id: 618 - is_admin: false - language: en-US - last_login: '2026-01-05T12:18:45Z' - location: '' - login: packit-validator - login_name: '' - prohibit_login: false - pronouns: '' - restricted: false - source_id: 0 - starred_repos_count: 0 - username: packit-validator - visibility: public - website: '' - _elapsed: 0.717538 - encoding: utf-8 - headers: - cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '1277' - content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 12:36:49 GMT - vary: Origin - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - next_request: null - status_code: 201 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_get_with_disabled_issues.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_with_disabled_issues.yaml new file mode 100644 index 000000000..e969cb8f0 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_get_with_disabled_issues.yaml @@ -0,0 +1,609 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/mfocko/ogr-tests: + - metadata: + latency: 0.26213908195495605 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/mfocko/ogr-tests.git + created_at: '2025-03-20T22:08:05Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Testing repository for python-ogr package. | https://github.com/packit-service/ogr + empty: false + fork: true + forks_count: 0 + full_name: mfocko/ogr-tests + globally_editable_wiki: false + has_actions: false + has_issues: false + has_packages: false + has_projects: false + has_pull_requests: true + has_releases: false + has_wiki: false + html_url: https://v10.next.forgejo.org/mfocko/ogr-tests + id: 534 + ignore_whitespace_conflicts: false + internal: false + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/mfocko/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 0 + open_pr_counter: 0 + original_url: '' + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/ee44221e4bd2b983751872d3cde92cf4 + created: '2025-02-12T13:52:32Z' + description: '' + email: mfocko@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/mfocko + id: 601 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: mfocko + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: mfocko + visibility: public + website: '' + parent: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 111 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 0 + repo_transfer: null + size: 41 + ssh_url: ssh://git@v10.next.forgejo.org:2100/mfocko/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-03-20T22:08:05Z' + url: https://v10.next.forgejo.org/api/v1/repos/mfocko/ogr-tests + watchers_count: 1 + website: '' + _elapsed: 0.261911 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 10:02:08 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/forks?page=1: + - metadata: + latency: 0.41416144371032715 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.services.forgejo.project + - ogr.services.forgejo.utils + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/mfocko/ogr-tests.git + created_at: '2025-03-20T22:08:05Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Testing repository for python-ogr package. | https://github.com/packit-service/ogr + empty: false + fork: true + forks_count: 0 + full_name: mfocko/ogr-tests + globally_editable_wiki: false + has_actions: false + has_issues: false + has_packages: false + has_projects: false + has_pull_requests: true + has_releases: false + has_wiki: false + html_url: https://v10.next.forgejo.org/mfocko/ogr-tests + id: 534 + ignore_whitespace_conflicts: false + internal: false + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/mfocko/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 0 + open_pr_counter: 0 + original_url: '' + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/ee44221e4bd2b983751872d3cde92cf4 + created: '2025-02-12T13:52:32Z' + description: '' + email: mfocko@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/mfocko + id: 601 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: mfocko + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: mfocko + visibility: public + website: '' + parent: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 111 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 0 + repo_transfer: null + size: 41 + ssh_url: ssh://git@v10.next.forgejo.org:2100/mfocko/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-03-20T22:08:05Z' + url: https://v10.next.forgejo.org/api/v1/repos/mfocko/ogr-tests + watchers_count: 1 + website: '' + - allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/lbarcziova/ogr-tests.git + created_at: '2025-04-24T09:04:55Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Testing repository for python-ogr package. | https://github.com/packit-service/ogr + empty: false + fork: true + forks_count: 0 + full_name: lbarcziova/ogr-tests + globally_editable_wiki: false + has_actions: false + has_issues: false + has_packages: false + has_projects: false + has_pull_requests: true + has_releases: false + has_wiki: false + html_url: https://v10.next.forgejo.org/lbarcziova/ogr-tests + id: 644 + ignore_whitespace_conflicts: false + internal: false + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/lbarcziova/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 0 + open_pr_counter: 1 + original_url: '' + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c8d9a288151a8e563547e082c591f2a + created: '2025-04-08T18:33:00Z' + description: '' + email: lbarcziova@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/lbarcziova + id: 1214 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: lbarcziova + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: lbarcziova + visibility: public + website: '' + parent: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 111 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + permissions: + admin: false + pull: true + push: false + private: false + release_counter: 0 + repo_transfer: null + size: 42 + ssh_url: ssh://git@v10.next.forgejo.org:2100/lbarcziova/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-04-25T08:47:36Z' + url: https://v10.next.forgejo.org/api/v1/repos/lbarcziova/ogr-tests + watchers_count: 1 + website: '' + _elapsed: 0.413556 + encoding: utf-8 + headers: + access-control-expose-headers: X-Total-Count + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 10:02:08 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + x-total-count: '2' + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index c06aaa9a5..43ca9546c 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -9,6 +9,7 @@ from ogr.exceptions import ( ForgejoAPIException, GitForgeInternalError, + IssueTrackerDisabled, ) from tests.integration.forgejo.base import ForgejoTests @@ -216,3 +217,11 @@ def test_setters(self): def test_get_comment(self): comment = self.project.get_issue(244).get_comment(3174) assert comment.body == "/packit test-comment" + + def test_get_with_disabled_issues(self): + forks = self.project.get_forks() + fork = next(iter(forks)) + assert fork.namespace == "mfocko" + + with pytest.raises(IssueTrackerDisabled): + fork.get_issue(issue_id=245) From 275d648f8354e8f23bb03e99c11f08563d112373 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 12:14:18 +0100 Subject: [PATCH 27/41] Remove unused method --- ogr/services/forgejo/comments.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index a3d3321dd..8d5ca4be6 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -3,7 +3,6 @@ import datetime import logging -from urllib.parse import urlparse from pyforgejo.core.api_error import ApiError from pyforgejo.types import Comment as _ForgejoComment @@ -56,12 +55,6 @@ def body(self, new_body: str) -> None: body=new_body, ) - def _get_owner_and_repo(self): - issue_url = self._raw_comment.issue_url - parts = urlparse(issue_url).path.strip("/").split("/") - namespace, repo = parts[0], parts[1] - return (namespace, repo) - @property def edited(self) -> datetime.datetime: return self._edited From a03336256cb3623c387b310afe570338028b5b3b Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 12:24:40 +0100 Subject: [PATCH 28/41] Raise ForgejoAPIException upon NotFoundError --- ogr/services/forgejo/pull_request.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ogr/services/forgejo/pull_request.py b/ogr/services/forgejo/pull_request.py index 3f89a4958..d771c15ef 100644 --- a/ogr/services/forgejo/pull_request.py +++ b/ogr/services/forgejo/pull_request.py @@ -305,7 +305,9 @@ def _get_all_comments(self, reverse: bool = False) -> Iterable[PRComment]: ) except NotFoundError as ex: - raise NotFoundError(f"{ex}") from ex + raise ForgejoAPIException( + "There was an error when retrieving PR comments.", + ) from ex if reverse: comments = list(reversed(comments)) From 5a83813a1cd2a0438830d72c59d2bacf16bd0414 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 13:54:30 +0100 Subject: [PATCH 29/41] Simplify partial_api The partial_api would previously add the issue number parameter when making an API call based on what method was being used. This part of implementation has been removed to make the code easier to understand. --- ogr/services/forgejo/issue.py | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 8902853c3..eb6a36974 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -49,11 +49,6 @@ def partial_api(self, method, /, *args, **kwargs): Callable with pre-injected parameters. """ params = {"owner": self.project.namespace, "repo": self.project.repo} - - # Include the issue index only for methods that need it - if "get_issue" in str(method) or "edit_issue" in str(method): - params["index"] = self._index - return partial(method, *args, **kwargs, **params) @property @@ -62,7 +57,10 @@ def title(self) -> str: @title.setter def title(self, new_title: str) -> None: - self._raw_issue = self.partial_api(self.api.edit_issue)(title=new_title) + self._raw_issue = self.partial_api(self.api.edit_issue)( + title=new_title, + index=self._index, + ) @property def id(self) -> int: @@ -78,7 +76,10 @@ def description(self) -> str: @description.setter def description(self, text: str): - self._raw_issue = self.partial_api(self.api.edit_issue)(body=text) + self._raw_issue = self.partial_api(self.api.edit_issue)( + body=text, + index=self._index, + ) @property def author(self) -> str: @@ -222,7 +223,10 @@ def comment(self, body: str) -> IssueComment: return ForgejoIssueComment(parent=self, raw_comment=comment) def close(self) -> Issue: - self._raw_issue = self.partial_api(self.api.edit_issue)(state="closed") + self._raw_issue = self.partial_api(self.api.edit_issue)( + state="closed", + index=self._index, + ) return self @@ -253,7 +257,10 @@ def add_assignee(self, *assignees: str) -> None: updated_assignees = list(set(current_assignees + list(assignees))) try: - self.partial_api(self.api.edit_issue)(assignees=updated_assignees) + self.partial_api(self.api.edit_issue)( + assignees=updated_assignees, + index=self._index, + ) except ApiError as ex: raise ForgejoAPIException("Failed to assign issue, unknown user") from ex From 4387e6e0f7863ca989f46e72fbcd60d233b87ee1 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 14:26:57 +0100 Subject: [PATCH 30/41] Raise error when listing issues of nonexistent author Previously, trying to retrieve issues of a nonexistent author, an empty list was returned. Raising an exception instead makes it more clear that something went wrong. --- ogr/services/forgejo/issue.py | 4 +--- tests/integration/forgejo/test_issues.py | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index eb6a36974..391429e07 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -211,9 +211,7 @@ def get_list( ) ] except NotFoundError as ex: - if "user does not exist" in str(ex): - return [] - raise ForgejoAPIException(f"Failed to list issues {ex}") from ex + raise ForgejoAPIException(f"Failed to list issues: {ex}") from ex def comment(self, body: str) -> IssueComment: comment = self.partial_api(self.api.create_comment)( diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index 43ca9546c..d3e0bdd97 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -36,11 +36,11 @@ def test_get_issue_list_author(self): assert len(issue_list) >= 3 def test_get_issue_list_nonexisting_author(self): - issue_list = self.project.get_issue_list( - status=IssueStatus.all, - author="xyzidontexist", - ) - assert len(issue_list) == 0 + with pytest.raises(ForgejoAPIException): + self.project.get_issue_list( + status=IssueStatus.all, + author="xyzidontexist", + ) def test_get_issue_list_assignee(self): issue_list = self.project.get_issue_list( From 0f9523b2da3092650eee700a0bb1dbc3185ed9c0 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 14:38:21 +0100 Subject: [PATCH 31/41] Remove unnecessary if else branch It is not necessary to check whether the assignee object has the login attribute. --- ogr/services/forgejo/issue.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 391429e07..148ac8134 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -248,10 +248,7 @@ def get_comment(self, comment_id: int): ) def add_assignee(self, *assignees: str) -> None: - current_assignees = [ - assignee.login if hasattr(assignee, "login") else assignee - for assignee in self.assignees - ] + current_assignees = [assignee.login for assignee in self.assignees] updated_assignees = list(set(current_assignees + list(assignees))) try: From d60d211e2494825a6e70efd7db7c4abcc88ce547 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 14:42:10 +0100 Subject: [PATCH 32/41] Simplify statement accessing the assignees attribute --- ogr/services/forgejo/issue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 148ac8134..f2d4a3bf4 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -95,7 +95,7 @@ def status(self) -> IssueStatus: @property def assignees(self) -> list: - return getattr(self._raw_issue, "assignees", []) or [] + return self._raw_issue.assignees or [] @property def labels(self) -> list[IssueLabel]: From 73cc8bf9ed171e49071f4ad87dcd99dee064b3fc Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 14:54:59 +0100 Subject: [PATCH 33/41] Add and improve type hints --- ogr/services/forgejo/comments.py | 4 ++-- ogr/services/forgejo/issue.py | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ogr/services/forgejo/comments.py b/ogr/services/forgejo/comments.py index 8d5ca4be6..6703e80fb 100644 --- a/ogr/services/forgejo/comments.py +++ b/ogr/services/forgejo/comments.py @@ -23,10 +23,10 @@ def __init__( super().__init__(raw_reaction) self._parent = parent - def __str__(self): + def __str__(self) -> str: return "Forgejo" + super().__str__() - def delete(self): + def delete(self) -> None: self._parent._client.issue.delete_comment_reaction( owner=self._parent._parent.project.namespace, repo=self._parent._parent.project.repo, diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index f2d4a3bf4..ca3b95964 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -7,6 +7,7 @@ from pyforgejo import NotFoundError from pyforgejo.core.api_error import ApiError +from pyforgejo.types import User as PyforgejoUser from pyforgejo.types.issue import Issue as _issue from ogr.abstract import Issue, IssueComment, IssueLabel, IssueStatus @@ -94,7 +95,7 @@ def status(self) -> IssueStatus: return IssueStatus[self._raw_issue.state] @property - def assignees(self) -> list: + def assignees(self) -> list[PyforgejoUser]: return self._raw_issue.assignees or [] @property @@ -220,7 +221,7 @@ def comment(self, body: str) -> IssueComment: ) return ForgejoIssueComment(parent=self, raw_comment=comment) - def close(self) -> Issue: + def close(self) -> "Issue": self._raw_issue = self.partial_api(self.api.edit_issue)( state="closed", index=self._index, @@ -241,7 +242,7 @@ def _get_all_comments(self, reverse: bool = False) -> Iterable[IssueComment]: for raw_comment in comments ) - def get_comment(self, comment_id: int): + def get_comment(self, comment_id: int) -> ForgejoIssueComment: return ForgejoIssueComment( self.partial_api(self.api.get_comment)(id=comment_id), parent=self, From d17ba9d06a37b3ce2d80905469d329e48e16a998 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 15:00:56 +0100 Subject: [PATCH 34/41] Make add_assignee update _raw_issue Previously when adding an assignee would not update the raw issue stored inside the Issue object. A test has been added to cover this fix. --- ogr/services/forgejo/issue.py | 2 +- ...d_assignee_without_redundant_api_call.yaml | 414 ++++++++++++++++++ tests/integration/forgejo/test_issues.py | 15 + 3 files changed, 430 insertions(+), 1 deletion(-) create mode 100644 tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee_without_redundant_api_call.yaml diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index ca3b95964..f26766e28 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -253,7 +253,7 @@ def add_assignee(self, *assignees: str) -> None: updated_assignees = list(set(current_assignees + list(assignees))) try: - self.partial_api(self.api.edit_issue)( + self._raw_issue = self.partial_api(self.api.edit_issue)( assignees=updated_assignees, index=self._index, ) diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee_without_redundant_api_call.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee_without_redundant_api_call.yaml new file mode 100644 index 000000000..a2fb64794 --- /dev/null +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_add_assignee_without_redundant_api_call.yaml @@ -0,0 +1,414 @@ +_requre: + DataTypes: 1 + key_strategy: StorageKeysInspectSimple + version_storage_file: 3 +httpx._client: + send: + GET: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: + - metadata: + latency: 0.25444674491882324 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.services.forgejo.project + - functools + - ogr.services.forgejo.project + - pyforgejo.repository.client + - pyforgejo.repository.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + allow_fast_forward_only_merge: true + allow_merge_commits: true + allow_rebase: true + allow_rebase_explicit: true + allow_rebase_update: true + allow_squash_merge: true + archived: false + archived_at: '1970-01-01T00:00:00Z' + avatar_url: '' + clone_url: https://v10.next.forgejo.org/packit-validator/ogr-tests.git + created_at: '2025-03-20T21:40:15Z' + default_allow_maintainer_edit: false + default_branch: master + default_delete_branch_after_merge: false + default_merge_style: merge + default_update_style: merge + description: Different description + empty: false + fork: false + forks_count: 2 + full_name: packit-validator/ogr-tests + globally_editable_wiki: false + has_actions: true + has_issues: true + has_packages: true + has_projects: true + has_pull_requests: true + has_releases: true + has_wiki: true + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests + id: 531 + ignore_whitespace_conflicts: false + internal: false + internal_tracker: + allow_only_contributors_to_track_time: true + enable_issue_dependencies: true + enable_time_tracker: true + language: '' + languages_url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/languages + link: '' + mirror: false + mirror_interval: '' + mirror_updated: '0001-01-01T00:00:00Z' + name: ogr-tests + object_format_name: sha1 + open_issues_count: 111 + open_pr_counter: 10 + original_url: https://gitlab.com/packit-service/ogr-tests.git + owner: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + parent: null + permissions: + admin: true + pull: true + push: true + private: false + release_counter: 18 + repo_transfer: null + size: 71 + ssh_url: ssh://git@v10.next.forgejo.org:2100/packit-validator/ogr-tests.git + stars_count: 0 + template: false + topics: null + updated_at: '2025-08-01T08:11:38Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests + watchers_count: 1 + website: '' + wiki_branch: master + _elapsed: 0.254086 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 13:58:53 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.26209306716918945 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: null + assignees: null + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-06T13:57:39Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.26184 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1304' + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 13:58:53 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + https://v10.next.forgejo.org/api/v1/user: + - metadata: + latency: 0.2963573932647705 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.user + - functools + - ogr.services.forgejo.user + - pyforgejo.user.client + - pyforgejo.user.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.296119 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '600' + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 13:58:54 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 + PATCH: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245: + - metadata: + latency: 0.509467363357544 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: Description for issue for closing abcdedfgh + closed_at: null + comments: 0 + created_at: '2025-12-16T11:40:44Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 + id: 1147 + is_locked: false + labels: [] + milestone: null + number: 245 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: Some random title + updated_at: '2026-01-06T13:58:54Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/245 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.50933 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-type: application/json;charset=utf-8 + date: Tue, 06 Jan 2026 13:58:54 GMT + transfer-encoding: chunked + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 201 diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index d3e0bdd97..498797131 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -164,6 +164,21 @@ def test_issue_add_assignee(self): assert len(assignees) == 1 assert assignees[0].login == "packit-validator" + def test_issue_add_assignee_without_redundant_api_call(self): + """ + Remove the assignees from this issue before regenerating the response files: + https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + """ + issue = self.project.get_issue(245) + print(self.service.user.get_username()) + assignees = issue.assignees + + assert not assignees + issue.add_assignee("packit-validator") + assignees = issue.assignees + assert len(assignees) == 1 + assert assignees[0].login == "packit-validator" + def test_issue_no_such_assignee(self): issue = self.project.get_issue(245) From 7e89f080f845a4febceccac35fca3e21132e1f85 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 15:04:02 +0100 Subject: [PATCH 35/41] Fix url links in test comments --- tests/integration/forgejo/test_issues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/forgejo/test_issues.py b/tests/integration/forgejo/test_issues.py index 498797131..a1e5ade58 100644 --- a/tests/integration/forgejo/test_issues.py +++ b/tests/integration/forgejo/test_issues.py @@ -152,7 +152,7 @@ def test_issue_labels(self): def test_issue_add_assignee(self): """ Remove the assignees from this issue before regenerating the response files: - https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 """ issue = self.project.get_issue(245) print(self.service.user.get_username()) @@ -167,7 +167,7 @@ def test_issue_add_assignee(self): def test_issue_add_assignee_without_redundant_api_call(self): """ Remove the assignees from this issue before regenerating the response files: - https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/245 """ issue = self.project.get_issue(245) print(self.service.user.get_username()) From bc43b1ca71b58178d3027c4c3463acae72bcedd2 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 15:09:46 +0100 Subject: [PATCH 36/41] Add some consistency to exceptions --- ogr/services/forgejo/issue.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index f26766e28..3039949e5 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -176,7 +176,7 @@ def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": raise NotFoundError("") except NotFoundError as ex: - raise ForgejoAPIException(f"Issue {issue_id} not found") from ex + raise ForgejoAPIException(f"Issue {issue_id} not found: {ex}") from ex return ForgejoIssue(issue, project) @staticmethod @@ -258,7 +258,9 @@ def add_assignee(self, *assignees: str) -> None: index=self._index, ) except ApiError as ex: - raise ForgejoAPIException("Failed to assign issue, unknown user") from ex + raise ForgejoAPIException( + "Failed to assign issue, unknown user: {ex}", + ) from ex def add_label(self, *labels: str) -> None: self.partial_api(self.api.add_label)(labels=labels, index=self._index) From d690395073a64e1cfdcacaebd7b29903e2010d77 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 15:26:11 +0100 Subject: [PATCH 37/41] Remove redundant line of code --- ogr/services/forgejo/issue.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 3039949e5..3e2eec023 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -24,7 +24,6 @@ class ForgejoIssue(BaseIssue): def __init__(self, raw_issue: _issue, project: "forgejo.ForgejoProject"): super().__init__(raw_issue, project) - self._raw_issue = raw_issue @property def _index(self): From 783df6ce093e55d1cc3cd8cac83ecc82fca2d4eb Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Tue, 6 Jan 2026 15:30:28 +0100 Subject: [PATCH 38/41] Raise OperationNotSupported when trying to create private issue This is so that the exception is the same as when trying the same via the Github API. --- ogr/services/forgejo/issue.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 3e2eec023..2c3145965 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -11,7 +11,11 @@ from pyforgejo.types.issue import Issue as _issue from ogr.abstract import Issue, IssueComment, IssueLabel, IssueStatus -from ogr.exceptions import ForgejoAPIException, IssueTrackerDisabled +from ogr.exceptions import ( + ForgejoAPIException, + IssueTrackerDisabled, + OperationNotSupported, +) from ogr.services import forgejo from ogr.services.base import BaseIssue from ogr.services.forgejo.comments import ForgejoIssueComment @@ -116,7 +120,7 @@ def create( assignees: Optional[list[str]] = None, ) -> "Issue": if private: - raise NotImplementedError() + raise OperationNotSupported("Private issues are not supported by Forgejo") if not project.has_issues: raise IssueTrackerDisabled() From 0c49f30ab0429d4f6be72bcf26b3d44c29802498 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 7 Jan 2026 09:42:42 +0100 Subject: [PATCH 39/41] Improve operation of joining sets --- ogr/services/forgejo/issue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 2c3145965..a4a423ca2 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -1,5 +1,6 @@ # Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT +import itertools from collections.abc import Iterable from datetime import datetime from functools import partial @@ -253,7 +254,7 @@ def get_comment(self, comment_id: int) -> ForgejoIssueComment: def add_assignee(self, *assignees: str) -> None: current_assignees = [assignee.login for assignee in self.assignees] - updated_assignees = list(set(current_assignees + list(assignees))) + updated_assignees = set(itertools.chain(current_assignees, assignees)) try: self._raw_issue = self.partial_api(self.api.edit_issue)( From 100647ec4c057621b29d6a53db0c21c0b9b02b8e Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 7 Jan 2026 10:31:23 +0100 Subject: [PATCH 40/41] Update raw issue whenever adding labels The __update_info method was brought back for this. The add_label method defined by pyforgejo's API doesn't return the updated issue, so it has to be retrieved separately. --- ogr/services/forgejo/issue.py | 5 + .../test_issues/Issues.test_issue_labels.yaml | 207 ++++++++++++------ 2 files changed, 145 insertions(+), 67 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index a4a423ca2..446ce3cfd 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -56,6 +56,10 @@ def partial_api(self, method, /, *args, **kwargs): params = {"owner": self.project.namespace, "repo": self.project.repo} return partial(method, *args, **kwargs, **params) + def __update_info(self) -> None: + """Refresh the local issue object with the latest data from the server.""" + self._raw_issue = self.partial_api(self.api.get_issue)(index=self._index) + @property def title(self) -> str: return self._raw_issue.title @@ -268,3 +272,4 @@ def add_assignee(self, *assignees: str) -> None: def add_label(self, *labels: str) -> None: self.partial_api(self.api.add_label)(labels=labels, index=self._index) + self.__update_info() diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml index 5028e19e1..ab2fa0e5e 100644 --- a/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_issue_labels.yaml @@ -7,7 +7,7 @@ httpx._client: GET: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: - metadata: - latency: 0.47893762588500977 + latency: 0.28699350357055664 module_call_list: - unittest.case - requre.record_and_replace @@ -75,7 +75,7 @@ httpx._client: mirror_updated: '0001-01-01T00:00:00Z' name: ogr-tests object_format_name: sha1 - open_issues_count: 109 + open_issues_count: 119 open_pr_counter: 10 original_url: https://gitlab.com/packit-service/ogr-tests.git owner: @@ -121,12 +121,12 @@ httpx._client: watchers_count: 1 website: '' wiki_branch: master - _elapsed: 0.478582 + _elapsed: 0.286767 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:02:59 GMT + date: Wed, 07 Jan 2026 09:16:32 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff @@ -135,7 +135,7 @@ httpx._client: status_code: 200 https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224: - metadata: - latency: 0.4462742805480957 + latency: 0.39706921577453613 module_call_list: - unittest.case - requre.record_and_replace @@ -229,7 +229,7 @@ httpx._client: owner: packit-validator state: open title: test Title ABC - updated_at: '2025-12-17T08:58:45Z' + updated_at: '2026-01-07T09:16:00Z' url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 user: active: true @@ -244,7 +244,7 @@ httpx._client: id: 618 is_admin: false language: en-US - last_login: '2025-12-16T08:43:04Z' + last_login: '2026-01-05T12:18:45Z' location: '' login: packit-validator login_name: '' @@ -256,12 +256,12 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.446034 + _elapsed: 0.396866 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:03:00 GMT + date: Wed, 07 Jan 2026 09:16:32 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff @@ -269,13 +269,13 @@ httpx._client: next_request: null status_code: 200 - metadata: - latency: 0.3800036907196045 + latency: 0.29962635040283203 module_call_list: - unittest.case - requre.record_and_replace - tests.integration.forgejo.test_issues - ogr.abstract.exception - - ogr.utils + - ogr.services.forgejo.issue - ogr.abstract.exception - ogr.services.forgejo.issue - pyforgejo.issue.client @@ -377,7 +377,7 @@ httpx._client: owner: packit-validator state: open title: test Title ABC - updated_at: '2025-12-17T10:03:00Z' + updated_at: '2026-01-07T09:16:33Z' url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 user: active: true @@ -392,7 +392,7 @@ httpx._client: id: 618 is_admin: false language: en-US - last_login: '2025-12-16T08:43:04Z' + last_login: '2026-01-05T12:18:45Z' location: '' login: packit-validator login_name: '' @@ -404,55 +404,27 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.379837 + _elapsed: 0.299429 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:03:01 GMT + date: Wed, 07 Jan 2026 09:16:33 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null status_code: 200 - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/labels: - - metadata: - latency: 0.35914039611816406 - module_call_list: - - unittest.case - - requre.record_and_replace - - tests.integration.forgejo.test_issues - - ogr.services.forgejo.issue - - pyforgejo.issue.client - - pyforgejo.issue.raw_client - - pyforgejo.core.http_client - - httpx._client - - requre.objects - - requre.cassette - - httpx._client - - send - output: - __store_indicator: 2 - _content: [] - _elapsed: 0.358967 - encoding: utf-8 - headers: - cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '3' - content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:03:00 GMT - vary: Origin - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - next_request: null - status_code: 200 - metadata: - latency: 0.4208855628967285 + latency: 0.3051774501800537 module_call_list: - unittest.case - requre.record_and_replace - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception - ogr.services.forgejo.issue - pyforgejo.issue.client - pyforgejo.issue.raw_client @@ -465,27 +437,128 @@ httpx._client: output: __store_indicator: 2 _content: - - color: 428bca - description: '' - exclusive: false - id: 641 - is_archived: false - name: test_lb1 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 - - color: 428bca - description: '' - exclusive: false - id: 642 - is_archived: false - name: test_lb2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 - _elapsed: 0.420663 + assets: [] + assignee: + active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + assignees: + - active: false + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: packit-validator@noreply.v10.next.forgejo.org + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: '' + last_login: '0001-01-01T00:00:00Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + body: This is a test issue for checking title prefix + closed_at: null + comments: 1 + created_at: '2025-12-16T09:15:18Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/224 + id: 1126 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 641 + is_archived: false + name: test_lb1 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 + - color: 428bca + description: '' + exclusive: false + id: 642 + is_archived: false + name: test_lb2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 + milestone: null + number: 224 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: test Title ABC + updated_at: '2026-01-07T09:16:33Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.304953 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '380' content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:03:02 GMT + date: Wed, 07 Jan 2026 09:16:34 GMT + transfer-encoding: chunked vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN @@ -494,7 +567,7 @@ httpx._client: POST: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/224/labels: - metadata: - latency: 0.6386585235595703 + latency: 0.6041827201843262 module_call_list: - unittest.case - requre.record_and_replace @@ -526,13 +599,13 @@ httpx._client: is_archived: false name: test_lb2 url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 - _elapsed: 0.63842 + _elapsed: 0.603949 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-length: '380' content-type: application/json;charset=utf-8 - date: Wed, 17 Dec 2025 10:03:01 GMT + date: Wed, 07 Jan 2026 09:16:33 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN From d7a4c3eb1ae40dba0b46b3ff5cfd6047d9487ec2 Mon Sep 17 00:00:00 2001 From: Alzbeta Kucerova Date: Wed, 7 Jan 2026 10:45:01 +0100 Subject: [PATCH 41/41] Simplify creating issue with labels Previously, the list of existing labels had to be retrieved from the API so that ids of labels to be added could be determined. When adding a non-existent label, it had to be created by a separate API call as well, leading to somewhat hard-to-understand code. This code has been removed and instead, an issue is always created without any labels and then the add_label is called instead, leading to two more API calls being made whenever labels are to be added to the issue (regardless of the amount of labels). --- ogr/services/forgejo/issue.py | 44 +-- .../Issues.test_create_issue_with_labels.yaml | 261 ++++++++++-------- ...ues.test_create_issue_with_new_labels.yaml | 249 +++++++---------- 3 files changed, 254 insertions(+), 300 deletions(-) diff --git a/ogr/services/forgejo/issue.py b/ogr/services/forgejo/issue.py index 446ce3cfd..43be6686b 100644 --- a/ogr/services/forgejo/issue.py +++ b/ogr/services/forgejo/issue.py @@ -129,42 +129,28 @@ def create( if not project.has_issues: raise IssueTrackerDisabled() - label_ids = [] - - if labels: - available_labels = project.service.api.issue.list_labels( - owner=project.namespace, - repo=project.repo, - ) - - for label in labels: - # get id in case label already exists - if matches := [ - old_label - for old_label in available_labels - if old_label.name == label - ]: - label_ids.append(matches[0].id) - - # create new label in case it doesn't exist - else: - new_label = project.service.api.issue.create_label( - owner=project.namespace, - repo=project.repo, - color="428bca", # default label color - name=label, - ) - label_ids.append(new_label.id) - + # The API requires ids of labels in the create_issue method + # which would lead to having to retrieve existing labels and + # needing to find the ids of those we need to add to the issue; + # A separate API call would also need to be made to create each + # label that does not yet exist, potentially leading to many + # API calls and unclear code, so labels are instead added seprately + # below after creating a new issue without labels issue = project.service.api.issue.create_issue( owner=project.namespace, repo=project.repo, title=title, body=body, - labels=label_ids, + labels=[], assignees=assignees, ) - return ForgejoIssue(issue, project) + + forgejo_issue = ForgejoIssue(issue, project) + + if labels: + forgejo_issue.add_label(*labels) + + return forgejo_issue @staticmethod def get(project: "forgejo.ForgejoProject", issue_id: int) -> "Issue": diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml index 9f951e38f..95e65e91e 100644 --- a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_labels.yaml @@ -7,7 +7,7 @@ httpx._client: GET: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: - metadata: - latency: 0.3342463970184326 + latency: 0.30669498443603516 module_call_list: - unittest.case - requre.record_and_replace @@ -75,7 +75,7 @@ httpx._client: mirror_updated: '0001-01-01T00:00:00Z' name: ogr-tests object_format_name: sha1 - open_issues_count: 113 + open_issues_count: 117 open_pr_counter: 10 original_url: https://gitlab.com/packit-service/ogr-tests.git owner: @@ -121,21 +121,21 @@ httpx._client: watchers_count: 1 website: '' wiki_branch: master - _elapsed: 0.333883 + _elapsed: 0.306367 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:10:52 GMT + date: Wed, 07 Jan 2026 09:16:24 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null status_code: 200 - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/261: - metadata: - latency: 0.25612807273864746 + latency: 0.3234729766845703 module_call_list: - unittest.case - requre.record_and_replace @@ -144,6 +144,10 @@ httpx._client: - ogr.utils - ogr.abstract.exception - ogr.services.forgejo.issue + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.abstract.exception + - ogr.services.forgejo.issue - pyforgejo.issue.client - pyforgejo.issue.raw_client - pyforgejo.core.http_client @@ -155,108 +159,89 @@ httpx._client: output: __store_indicator: 2 _content: - - color: 428bca - description: '' - exclusive: false - id: 633 - is_archived: false - name: '1' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 - - color: 428bca - description: '' - exclusive: false - id: 634 - is_archived: false - name: '2' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 - - color: 428bca - description: '' - exclusive: false - id: 635 - is_archived: false - name: a - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 - - color: 428bca - description: '' - exclusive: false - id: 636 - is_archived: false - name: b - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 - - color: 428bca - description: '' - exclusive: false - id: 637 - is_archived: false - name: e - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 - - color: 428bca - description: '' - exclusive: false - id: 638 - is_archived: false - name: l - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 - - color: 428bca - description: '' - exclusive: false - id: 639 - is_archived: false - name: label1 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 - - color: 428bca - description: '' - exclusive: false - id: 640 - is_archived: false - name: label2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 - - color: 428bca - description: '' - exclusive: false - id: 641 - is_archived: false - name: test_lb1 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 - - color: 428bca - description: '' - exclusive: false - id: 642 - is_archived: false - name: test_lb2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 - - color: 428bca - description: '' - exclusive: false - id: 643 - is_archived: false - name: test_lb3 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/643 - - color: 428bca - description: There has to be exactly 33 issue labeled. - exclusive: false - id: 644 - is_archived: false - name: testing-label-for-test-issue-list-labels - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 - _elapsed: 0.255917 + assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2026-01-07T09:16:24Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/261 + id: 1163 + is_locked: false + labels: + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + milestone: null + number: 261 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: A super duper issue + updated_at: '2026-01-07T09:16:25Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/261 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.323203 encoding: utf-8 headers: - access-control-expose-headers: X-Total-Count cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '1652' content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:10:52 GMT - transfer-encoding: chunked + date: Wed, 07 Jan 2026 09:16:26 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN - x-total-count: '12' next_request: null status_code: 200 POST: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: - metadata: - latency: 0.7652301788330078 + latency: 0.8008773326873779 module_call_list: - unittest.case - requre.record_and_replace @@ -282,28 +267,14 @@ httpx._client: body: Description for issue closed_at: null comments: 0 - created_at: '2026-01-05T14:10:53Z' + created_at: '2026-01-07T09:16:24Z' due_date: null - html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/253 - id: 1155 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/261 + id: 1163 is_locked: false - labels: - - color: 428bca - description: '' - exclusive: false - id: 636 - is_archived: false - name: b - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 - - color: 428bca - description: '' - exclusive: false - id: 640 - is_archived: false - name: label2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + labels: [] milestone: null - number: 253 + number: 261 original_author: '' original_author_id: 0 pin_order: 0 @@ -316,8 +287,8 @@ httpx._client: owner: packit-validator state: open title: A super duper issue - updated_at: '2026-01-05T14:10:53Z' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/253 + updated_at: '2026-01-07T09:16:24Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/261 user: active: true avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 @@ -343,15 +314,65 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.765112 + _elapsed: 0.800579 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '1652' + content-length: '1284' content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:10:53 GMT + date: Wed, 07 Jan 2026 09:16:25 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/261/labels: + - metadata: + latency: 0.5051589012145996 + module_call_list: + - unittest.case + - requre.record_and_replace + - tests.integration.forgejo.test_issues + - ogr.abstract.exception + - ogr.utils + - ogr.abstract.exception + - ogr.services.forgejo.issue + - ogr.abstract.exception + - ogr.services.forgejo.issue + - pyforgejo.issue.client + - pyforgejo.issue.raw_client + - pyforgejo.core.http_client + - httpx._client + - requre.objects + - requre.cassette + - httpx._client + - send + output: + __store_indicator: 2 + _content: + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca + description: '' + exclusive: false + id: 640 + is_archived: false + name: label2 + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 + _elapsed: 0.504958 + encoding: utf-8 + headers: + cache-control: max-age=0, private, must-revalidate, no-transform + content-length: '371' + content-type: application/json;charset=utf-8 + date: Wed, 07 Jan 2026 09:16:25 GMT + vary: Origin + x-content-type-options: nosniff + x-frame-options: SAMEORIGIN + next_request: null + status_code: 200 diff --git a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml index 6af647f27..34728f2aa 100644 --- a/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml +++ b/tests/integration/forgejo/test_data/test_issues/Issues.test_create_issue_with_new_labels.yaml @@ -7,7 +7,7 @@ httpx._client: GET: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests: - metadata: - latency: 0.32171106338500977 + latency: 0.351287841796875 module_call_list: - unittest.case - requre.record_and_replace @@ -75,7 +75,7 @@ httpx._client: mirror_updated: '0001-01-01T00:00:00Z' name: ogr-tests object_format_name: sha1 - open_issues_count: 111 + open_issues_count: 118 open_pr_counter: 10 original_url: https://gitlab.com/packit-service/ogr-tests.git owner: @@ -121,21 +121,21 @@ httpx._client: watchers_count: 1 website: '' wiki_branch: master - _elapsed: 0.321318 + _elapsed: 0.350954 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:20:21 GMT + date: Wed, 07 Jan 2026 09:16:26 GMT transfer-encoding: chunked vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null status_code: 200 - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/262: - metadata: - latency: 0.25729942321777344 + latency: 0.3048231601715088 module_call_list: - unittest.case - requre.record_and_replace @@ -144,125 +144,8 @@ httpx._client: - ogr.utils - ogr.abstract.exception - ogr.services.forgejo.issue - - pyforgejo.issue.client - - pyforgejo.issue.raw_client - - pyforgejo.core.http_client - - httpx._client - - requre.objects - - requre.cassette - - httpx._client - - send - output: - __store_indicator: 2 - _content: - - color: 428bca - description: '' - exclusive: false - id: 633 - is_archived: false - name: '1' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/633 - - color: 428bca - description: '' - exclusive: false - id: 634 - is_archived: false - name: '2' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/634 - - color: 428bca - description: '' - exclusive: false - id: 635 - is_archived: false - name: a - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/635 - - color: 428bca - description: '' - exclusive: false - id: 636 - is_archived: false - name: b - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 - - color: 428bca - description: '' - exclusive: false - id: 637 - is_archived: false - name: e - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/637 - - color: 428bca - description: '' - exclusive: false - id: 638 - is_archived: false - name: l - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/638 - - color: 428bca - description: '' - exclusive: false - id: 639 - is_archived: false - name: label1 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/639 - - color: 428bca - description: '' - exclusive: false - id: 640 - is_archived: false - name: label2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/640 - - color: 428bca - description: '' - exclusive: false - id: 641 - is_archived: false - name: test_lb1 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/641 - - color: 428bca - description: '' - exclusive: false - id: 642 - is_archived: false - name: test_lb2 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/642 - - color: 428bca - description: '' - exclusive: false - id: 643 - is_archived: false - name: test_lb3 - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/643 - - color: 428bca - description: There has to be exactly 33 issue labeled. - exclusive: false - id: 644 - is_archived: false - name: testing-label-for-test-issue-list-labels - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/644 - _elapsed: 0.257103 - encoding: utf-8 - headers: - access-control-expose-headers: X-Total-Count - cache-control: max-age=0, private, must-revalidate, no-transform - content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:20:21 GMT - transfer-encoding: chunked - vary: Origin - x-content-type-options: nosniff - x-frame-options: SAMEORIGIN - x-total-count: '12' - next_request: null - status_code: 200 - POST: - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: - - metadata: - latency: 0.6507313251495361 - module_call_list: - - unittest.case - - requre.record_and_replace - - tests.integration.forgejo.test_issues - ogr.abstract.exception - - ogr.utils + - ogr.services.forgejo.issue - ogr.abstract.exception - ogr.services.forgejo.issue - pyforgejo.issue.client @@ -282,10 +165,10 @@ httpx._client: body: Description for issue closed_at: null comments: 0 - created_at: '2026-01-05T14:20:22Z' + created_at: '2026-01-07T09:16:27Z' due_date: null - html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/254 - id: 1156 + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/262 + id: 1164 is_locked: false labels: - color: 428bca @@ -310,7 +193,7 @@ httpx._client: name: the fastest label in the wild west url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/732 milestone: null - number: 254 + number: 262 original_author: '' original_author_id: 0 pin_order: 0 @@ -323,8 +206,8 @@ httpx._client: owner: packit-validator state: open title: A super duper issue no one has ever seen before - updated_at: '2026-01-05T14:20:22Z' - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/254 + updated_at: '2026-01-07T09:16:27Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/262 user: active: true avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 @@ -350,21 +233,22 @@ httpx._client: username: packit-validator visibility: public website: '' - _elapsed: 0.650533 + _elapsed: 0.304521 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform content-length: '1900' content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:20:23 GMT + date: Wed, 07 Jan 2026 09:16:28 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null - status_code: 201 - https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels: + status_code: 200 + POST: + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues: - metadata: - latency: 0.43370676040649414 + latency: 0.8665435314178467 module_call_list: - unittest.case - requre.record_and_replace @@ -384,27 +268,74 @@ httpx._client: output: __store_indicator: 2 _content: - color: 428bca - description: '' - exclusive: false - id: 731 - is_archived: false - name: a new label - url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/731 - _elapsed: 0.433515 + assets: [] + assignee: null + assignees: null + body: Description for issue + closed_at: null + comments: 0 + created_at: '2026-01-07T09:16:27Z' + due_date: null + html_url: https://v10.next.forgejo.org/packit-validator/ogr-tests/issues/262 + id: 1164 + is_locked: false + labels: [] + milestone: null + number: 262 + original_author: '' + original_author_id: 0 + pin_order: 0 + pull_request: null + ref: '' + repository: + full_name: packit-validator/ogr-tests + id: 531 + name: ogr-tests + owner: packit-validator + state: open + title: A super duper issue no one has ever seen before + updated_at: '2026-01-07T09:16:27Z' + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/262 + user: + active: true + avatar_url: https://v10.next.forgejo.org/avatars/9c4cb263b7809b180c92b4970f7d0847 + created: '2025-02-14T09:34:00Z' + description: '' + email: public-repos-bot@packit.dev + followers_count: 0 + following_count: 0 + full_name: '' + html_url: https://v10.next.forgejo.org/packit-validator + id: 618 + is_admin: false + language: en-US + last_login: '2026-01-05T12:18:45Z' + location: '' + login: packit-validator + login_name: '' + prohibit_login: false + pronouns: '' + restricted: false + source_id: 0 + starred_repos_count: 0 + username: packit-validator + visibility: public + website: '' + _elapsed: 0.86621 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '192' + content-length: '1312' content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:20:21 GMT + date: Wed, 07 Jan 2026 09:16:27 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null status_code: 201 + https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/issues/262/labels: - metadata: - latency: 0.48743629455566406 + latency: 0.5031483173370361 module_call_list: - unittest.case - requre.record_and_replace @@ -413,6 +344,8 @@ httpx._client: - ogr.utils - ogr.abstract.exception - ogr.services.forgejo.issue + - ogr.abstract.exception + - ogr.services.forgejo.issue - pyforgejo.issue.client - pyforgejo.issue.raw_client - pyforgejo.core.http_client @@ -424,22 +357,36 @@ httpx._client: output: __store_indicator: 2 _content: - color: 428bca + - color: 428bca + description: '' + exclusive: false + id: 731 + is_archived: false + name: a new label + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/731 + - color: 428bca + description: '' + exclusive: false + id: 636 + is_archived: false + name: b + url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/636 + - color: 428bca description: '' exclusive: false id: 732 is_archived: false name: the fastest label in the wild west url: https://v10.next.forgejo.org/api/v1/repos/packit-validator/ogr-tests/labels/732 - _elapsed: 0.487163 + _elapsed: 0.502854 encoding: utf-8 headers: cache-control: max-age=0, private, must-revalidate, no-transform - content-length: '215' + content-length: '591' content-type: application/json;charset=utf-8 - date: Mon, 05 Jan 2026 14:20:22 GMT + date: Wed, 07 Jan 2026 09:16:28 GMT vary: Origin x-content-type-options: nosniff x-frame-options: SAMEORIGIN next_request: null - status_code: 201 + status_code: 200