如何使用Eclipse客户端将所有里程碑列表导入GHE存储库。我尝试了这个,但有一个我无法找到的参数:
GitHubClient client = new GitHubClient(host);
client.setOAuth2Token(token);
RepositoryService service = new RepositoryService(client);
List<Repository> repositories = service.getRepositories();
for (int z = 0; z < repositories.size(); z++)
{
Repository repository = repositories.get(z);
MilestoneService milestoneService = new MilestoneService(client);
List<Milestone> milestones = milestoneService.getMilestones(repository, "");
}