Skip to content

A Tag object should be linked to a GitlabCommit instead of a GitlabBranchCommit  #329

Description

@Fractaliste

Using pour API, I was wondering why I don't get any information about the user who do the commit.

``

List<GitlabTag> tags= gitlabAPI.getTags(projet);
// Always 0 !
long count = tags.stream().filter((tag) -> tag.getCommit().getAuthor() != null).count(); 

``
I think there is a mistake into the GitlabTag :

private GitlabBranchCommit commit;

As far as I understand the Gitlab API the expected JSON looks more like your GitlabCommit object rather than GitlabBranchCommit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions