Skip to content

Build from source fails with gitlab.com/gitlab-org/api/client-go v1.28.1 #1514

Closed

Description

@arunisaac

go generate fails when I use gitlab.com/gitlab-org/api/client-go v1.28.1 (that's the latest). Here's what I see:

# github.com/git-bug/git-bug/bridge/gitlab
bridge/gitlab/config.go:293:9: cannot use project.ID (variable of type int64) as int value in return statement
bridge/gitlab/event.go:52:51: cannot use n.Author.ID (variable of type int64) as int value in return statement
bridge/gitlab/event.go:128:52: cannot use l.User.ID (variable of type int64) as int value in return statement
bridge/gitlab/event.go:146:52: cannot use s.User.ID (variable of type int64) as int value in return statement
bridge/gitlab/export.go:437:9: cannot use issue.ID (variable of type int64) as int value in return statement
bridge/gitlab/export.go:437:19: cannot use issue.IID (variable of type int64) as int value in return statement
bridge/gitlab/export.go:445:17: cannot use issueID (variable of type int) as int64 value in argument to gc.Notes.CreateIssueNote
bridge/gitlab/export.go:455:9: cannot use note.ID (variable of type int64) as int value in return statement
bridge/gitlab/export.go:462:17: cannot use issueID (variable of type int) as int64 value in argument to gc.Notes.UpdateIssueNote
bridge/gitlab/export.go:462:26: cannot use noteID (variable of type int) as int64 value in argument to gc.Notes.UpdateIssueNote
bridge/gitlab/export.go:462:26: too many errors
main.go:1: running "go": exit status 1

Thanks!

I just started using git-bug. Nice project and very useful! I am packaging git-bug for Guix.

Activity

  1. MichaelMure commented on Sep 14, 2026

    @MichaelMure
    Contributor

    that has been solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions