commit e86eaef88ce476ab67edfc3bb94294500397f17d
parent 248d6dc376de4a413f6639f8fc08a2e2cb0d20dd
Author: arjoonn <arjoonn@noreply.localhost>
Date: Thu, 23 Mar 2023 13:52:43 +0000
Fix logging bug (!74)
Reviewed-on: https://gitea.midpathsoftware.com/midpath/jaypore_ci/pulls/74
╔ 🟡 : JayporeCI [sha 01731f0b13]
┏━ build-and-test
┃
┃ 🟢 : JciEnv [09687c00] 0:45
┃ 🟢 : Jci [b9a5fcd5] 0:18 ❮-- ['JciEnv']
┃ 🟢 : black [9a3adf1b] 0: 0 ❮-- ['JciEnv']
┃ 🟢 : install-test [66775cff] 0: 0 ❮-- ['JciEnv']
┃ 🟢 : pylint [09d27c5d] 0: 8 ❮-- ['JciEnv']
┃ 🟢 : pytest [f7f11e15] 0:26 Cov: 89% ❮-- ['JciEnv']
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━ Publish
┃
┃ 🟢 : DockerHubJci [f395633e] 1:55
┃ 🔵 : DockerHubJcienv [0829a46b] 2:55
┃ 🟢 : PublishDocs [0d4ac04e] 1:28
┃ 🟢 : PublishPypi [3cf8acae] 0: 6 v0.2.29
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Diffstat:
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/jaypore_ci/changelog.py b/jaypore_ci/changelog.py
@@ -2,6 +2,15 @@ from jaypore_ci.config import Version
V = Version.parse
version_map = {
+ V("0.2.29"): {
+ "changes": [
+ (
+ "Bugfix: When gitea token does not have enough scope log"
+ " correctly and exit"
+ )
+ ],
+ "instructions": [],
+ },
V("0.2.28"): {
"changes": [
(
diff --git a/jaypore_ci/remotes/gitea.py b/jaypore_ci/remotes/gitea.py
@@ -93,7 +93,7 @@ class Gitea(Remote): # pylint: disable=too-many-instance-attributes
):
self.base_branch = "main"
return self.get_pr_id()
- self.logging().debug()(
+ self.logging().debug(
"Failed gitea api",
api=self.api,
owner=self.owner,
diff --git a/pyproject.toml b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "jaypore_ci"
-version = "0.2.28"
+version = "0.2.29"
description = ""
authors = ["arjoonn sharma <arjoonn.94@gmail.com>"]
homepage = "https://www.jayporeci.in/"