Skip to content

Infinite loop on git push when using git-obs credential helper #2027

@skrech

Description

@skrech

Describe the bug
I've noticed that git push using !git-obs -G srcOBS login gitcredentials-helper as cred helper would enter an infinite loop if the user does not have write permissions to the repo he's pushing to. Auth method for git should be HTTP, not SSH.
When debugging with GIT_TRACE=1 it seems that it's related somehow to Git LFS. I'm not sure if this is git-obs fault but decided to report just in case.

srcOBS is src.opensuse.org

I'm really sorry that I can't provide the trace logs currently.

Versions

  • Operating system: openSUSE Leap 15.6
  • Packages: osc-1.23.0-bp160.469.1.noarch

Expected behavior
Return an error that the user doesn't have permissions to push to the repo. Instead, it is stuck in an infinite loop.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🚫 Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions