Updated Repo and NewRepo.
exec by ghci
>> createRepo' auth $ NewRepo "test-github-hs" (Just "test") (Just "https://matsubara0507.github.io") (Just False) (Just True) (Just True) (Just True) (Just False) (Just "Haskell") (Just "MIT") (Just True) (Just True) (Just True)
Right (Repo {repoId = Id 216769026, repoName = N "test-github-hs", repoOwner = SimpleOwner {simpleOwnerId = Id 10684493, simpleOwnerLogin = N "matsubara0507", simpleOwnerUrl = URL "https://api.github.com/users/matsubara0507", simpleOwnerAvatarUrl = URL "https://avatars1.githubusercontent.com/u/10684493?v=4", simpleOwnerType = OwnerUser}, repoPrivate = False, repoHtmlUrl = URL "https://github.com/matsubara0507/test-github-hs", repoDescription = Just "test", repoFork = Just False, repoUrl = URL "https://api.github.com/repos/matsubara0507/test-github-hs", repoGitUrl = Just (URL "git://github.com/matsubara0507/test-github-hs.git"), repoSshUrl = Just (URL "git@github.com:matsubara0507/test-github-hs.git"), repoCloneUrl = Just (URL "https://github.com/matsubara0507/test-github-hs.git"), repoHooksUrl = URL "https://api.github.com/repos/matsubara0507/test-github-hs/hooks", repoSvnUrl = Just (URL "https://github.com/matsubara0507/test-github-hs"), repoHomepage = Just "https://matsubara0507.github.io", repoLanguage = Nothing, repoForksCount = 0, repoStargazersCount = 0, repoWatchersCount = 0, repoSize = Just 0, repoDefaultBranch = Just "master", repoOpenIssuesCount = 0, repoHasIssues = Just True, repoHasProjects = Just True, repoHasWiki = Just True, repoHasPages = Just False, repoHasDownloads = Just True, repoArchived = False, repoDisabled = False, repoPushedAt = Just 2019-10-22 09:01:08 UTC, repoCreatedAt = Just 2019-10-22 09:01:04 UTC, repoUpdatedAt = Just 2019-10-22 09:01:04 UTC})
Repo type different is:
- add
forks_count,watchers_count,open_issues_count- these are rename by
forks,watchers,open_issues - old names is still exists in response (but, not exist in documents).
- so, no remove old properties
- these are rename by
- add
has_projects,has_pages,disabled - remove
parent,source
and no changes is:
- no add
node_id(because, I'm not sure about this property) - no add
full_name - no add
xxx_urlproperties- because, very very many exist
- no add
is_template,template_repositoryandtopics(this is beta feature) - no add
permissionsandlicense- because, need new data structures.
- no add
subscribers_countandnetwork_count(because, I'm not sure about this property)