Open samuraii78 opened 1 year ago
Further investigation has showed that when calling the get functions in utils.go (i.e. line 30) appending the "q=
" string seems to break the call.
Also the repoFullName
should have the following structure workspace/reponame
if not already implemented
Tested as a raw url in the browser and it works with the above modifications.
@hanzei If you can share instructions on how to build the plugin that would be helpful. I can try and debug it and share my findings. Building against nodejs 16 LTS seems to generate a lot of package errors. Any insights into the build process that would help are greatly appreciated
Could you please try building the plugin using node 13?
@hanzei thanks for the reply. I'm using the marketplace version of the plugin and I don't have the dev environment setup anymore but I can try again.
On Wed, Dec 7, 2022 at 10:48 PM Ben Schumacher @.***> wrote:
Could you please try building the plugin using node 13?
— Reply to this email directly, view it on GitHub https://github.com/mattermost/mattermost-plugin-bitbucket/issues/98#issuecomment-1341577276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZKER2NL4LVBQKOOBVRZUDWMDZ2ZANCNFSM6AAAAAAR5Z5WPY . You are receiving this because you authored the thread.Message ID: @.***>
I'm getting similar issues with the this plugin installed from the Marketplace: Repositories are not getting fetched
{"timestamp":"2023-12-18 03:22:07.858 Z", "level":"error", "msg":"error occurred while searching for repositories", "caller":"app/plugin_api.go:984", "plugin_id":"bitbucket", "err":"json: cannot unmarshal number 3028242582 into Go struct field Repository.values.size of type int32\n error occurred while fetching repositories\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:389\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/plugin.go:398\nmain.(Plugin).fetchRepositoriesWithNextPagesIfAny\n\t/home/circleci/project/server/..."}
should the data type be changed from int32 to int64? https://github.com/wbrefvem/go-bitbucket/blob/fc08fd046abbc94823e6d2a79ae248d62112a6fc/repository.go#L45C2-L45C2
Excellent and useful plugin. However having followed the setup outlined here https://mattermost.gitbook.io/bitbucket-plugin/ along with authorization and webhook setup and proper permissions, the plugin does not show my open PRs in bitbucket even though clicking on the link in the side menu does take me to the correct page and shows the corresponding PR.
I'm using the latest mattermost desktop app. Cache has been cleared and all other bitbucket features including notifications on PR creation, comments etc. are showing in the feed.
Any reasons for this to happen?
Thanks in advance
The following error is generated in the mattermost log: