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

Add 'git-obs pr' command #1694

Merged
merged 8 commits into from
Jan 16, 2025
Merged

Add 'git-obs pr' command #1694

merged 8 commits into from
Jan 16, 2025

Conversation

dmach
Copy link
Contributor

@dmach dmach commented Jan 14, 2025

No description provided.

@pep8speaks
Copy link

pep8speaks commented Jan 14, 2025

Hello @dmach! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 20:121: E501 line too long (161 > 120 characters)
Line 27:121: E501 line too long (141 > 120 characters)

Line 116:121: E501 line too long (131 > 120 characters)
Line 162:121: E501 line too long (141 > 120 characters)
Line 167:121: E501 line too long (145 > 120 characters)

Line 56:121: E501 line too long (131 > 120 characters)

Line 75:121: E501 line too long (121 > 120 characters)
Line 87:121: E501 line too long (139 > 120 characters)

Line 42:121: E501 line too long (147 > 120 characters)
Line 46:121: E501 line too long (121 > 120 characters)
Line 54:121: E501 line too long (138 > 120 characters)

Line 61:121: E501 line too long (136 > 120 characters)

Line 124:121: E501 line too long (168 > 120 characters)

Comment last updated at 2025-01-16 11:54:42 UTC

@@ -17,14 +17,14 @@

def before_scenario(context, scenario):
# truncate the logs before running any commands
proc = context.podman.container.exec(["bash", "-c", "find /srv/www/obs/api/log/ /srv/obs/log/ -name '*.log' -exec truncate --size=0 {} \\;"])
proc = context.podman.container.exec(["bash", "-c", "find /srv/www/obs/api/log/ /srv/obs/log/ /var/log/gitea/ -name '*.log' -exec truncate --size=0 {} \\;"])

Check notice

Code scanning / CodeQL

Unused local variable Note

Variable proc is not used.
osc/gitea_api/pr.py Fixed Show fixed Hide fixed
osc/gitea_api/repo.py Fixed Show fixed Hide fixed
@dmach dmach marked this pull request as draft January 15, 2025 08:32
@dmach dmach marked this pull request as ready for review January 16, 2025 12:16
@dmach dmach merged commit 289bf02 into openSUSE:master Jan 16, 2025
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants