Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete logs #120

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
dockerfiles: ./Dockerfile
image: betka
tags: latest 1 ${{ github.sha }} 0.7.12
tags: latest 1 ${{ github.sha }} 0.7.13

- name: Push betka image to Quay.io
id: push-to-quay
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/fedora/fedora:37

ENV NAME=betka-fedora \
RELEASE=0.7.12 \
RELEASE=0.7.13 \
ARCH=x86_64 \
SUMMARY="Syncs changes from upstream repository to downstream" \
DESCRIPTION="Syncs changes from upstream repository to downstream" \
Expand Down
7 changes: 3 additions & 4 deletions betka/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from tempfile import TemporaryDirectory
from pprint import pformat
from pathlib import Path
from typing import Dict, List
from typing import Dict, List, Any

from betka.bot import Bot
from betka.emails import BetkaEmails
Expand Down Expand Up @@ -223,7 +223,7 @@ def mandatory_variables_set(self):
return False
return True

def _get_image_url(self):
def _get_image_url(self) -> Any:
image_url = self.betka_config.get("generator_url", None)
self.debug(f"Image generator url from betka_config: {image_url}")
if not image_url:
Expand Down Expand Up @@ -430,7 +430,7 @@ def get_master_fedmsg_info(self, message):
"issuer": head_commit["author"]["name"],
"upstream_portal": "github.com",
}
self.debug(f"Message artifacts {self.msg_artifact}")
#self.debug(f"Message artifacts {self.msg_artifact}")
return True

def prepare(self):
Expand Down Expand Up @@ -615,7 +615,6 @@ def _sync_valid_branches(self, valid_branches):
self.repo = Git.strip_dot_git(self.msg_upstream_url)
self.info("SYNCING UPSTREAM TO DOWNSTREAM.")
if not self.config.get("master_checker"):
self.info("Syncing upstream repo to downstream repo is not allowed.")
continue
self.create_and_copy_timestamp_dir()
self.sync_to_downstream_branches(self.downstream_git_branch)
Expand Down
2 changes: 1 addition & 1 deletion betka/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def list_dir_content(dir_name: Path):
def load_config_json():
with open(f"{HOME}/config.json") as config_file:
data = json.load(config_file)
logger.info(data)
#logger.info(data)
return data


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_requirements():

setup(
name="betka",
version="0.7.12",
version="0.7.13",
packages=find_packages(exclude=["examples", "tests"]),
url="https://github.com/sclorg/betka",
license="GPLv3+",
Expand Down
Loading