mirror of
https://github.com/go-i2p/gitlab-to-gitea.git
synced 2025-07-01 17:13:34 -04:00
don't treat milestones titles as authors
This commit is contained in:
@ -264,18 +264,7 @@ func (m *Manager) collectRequiredUsers(projects []*gogitlab.Project) map[string]
|
||||
}*/
|
||||
}
|
||||
|
||||
// Collect milestone authors
|
||||
milestones, err := m.gitlabClient.GetProjectMilestones(project.ID)
|
||||
if err != nil {
|
||||
utils.PrintWarning(fmt.Sprintf("Error collecting milestones for %s: %v", project.Name, err))
|
||||
continue
|
||||
}
|
||||
|
||||
for _, milestone := range milestones {
|
||||
if milestone.Title != "" {
|
||||
addUser(milestone.Title)
|
||||
}
|
||||
}
|
||||
// Milestones don't have authors
|
||||
}
|
||||
|
||||
utils.PrintInfo(fmt.Sprintf("Collected a total of %d unique required users", len(required)))
|
||||
|
Reference in New Issue
Block a user