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

passing service logger to bitbucket server client factory to address logger is required issue #2893

Merged
merged 1 commit into from
May 25, 2023

Conversation

enekofb
Copy link
Contributor

@enekofb enekofb commented May 25, 2023

Passing logger server to bitbucket client as quick fix for https://github.com/weaveworks/weave-gitops-interlock/issues/425

Part of https://github.com/weaveworks/weave-gitops-interlock/issues/425

What changed?

Cause go-git-providers bitbucket server client does not allow empty loggers. More info in the ticket

Why was this change made?

To send a non empty logger when creating a bitbucket server client

How did you validate the change?

Added unit test around the creation and the issue but not e2e tested.

@enekofb enekofb requested a review from yiannistri May 25, 2023 06:54
@enekofb enekofb added the bug Something isn't working label May 25, 2023
@enekofb enekofb force-pushed the add-bitbucket-logger branch from f60c5dd to fc4913c Compare May 25, 2023 06:55
@enekofb enekofb marked this pull request as ready for review May 25, 2023 06:55
@bigkevmcd
Copy link
Contributor

Could this be fixed by upgrading go-git-providers https://github.com/fluxcd/go-git-providers/releases/tag/v0.15.2 ?

@enekofb
Copy link
Contributor Author

enekofb commented May 25, 2023

@yiannistri yiannistri force-pushed the add-bitbucket-logger branch from fef5de6 to e753c64 Compare May 25, 2023 09:29
@yiannistri
Copy link
Collaborator

I've left the fix there while I also updated go-git-providers to ensure we stay up to date.

@yiannistri
Copy link
Collaborator

Looking at the failures

@yiannistri yiannistri force-pushed the add-bitbucket-logger branch from e753c64 to 2f55fb7 Compare May 25, 2023 09:47
@yiannistri
Copy link
Collaborator

yiannistri commented May 25, 2023

I've had to revert the commit updating go-git-providers to v0.16.0 as it needs to be bumped in OSS as well 😞 Will add a ticket

@yiannistri yiannistri merged commit 183ae26 into main May 25, 2023
@yiannistri yiannistri deleted the add-bitbucket-logger branch May 25, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants