Application app = applicationRepository.findOne(id);
GitHubScm scm = app.getScm();
// Supporting data comes from GitHub
// FIXME This web service call shouldn't be part of the transaction
GitHubRepo repo = gitHub().repoOperations().getRepo(scm.getUser(), scm.getRepo());
scm.setId(repo.getId());
scm.setName(repo.getName());
scm.setDescription(repo.getDescription());
scm.setUrl(repo.getUrl());
scm.setHtmlUrl(repo.getHtmlUrl());
scm.setGitUrl(repo.getGitUrl());
scm.setSshUrl(repo.getSshUrl());
scm.setSvnUrl(repo.getSvnUrl());
return app;
}