17:56:01 prj $ ~/gitstrap/gitstrap -token=xxx -debug create
2019/12/01 17:56:45 token: ***xxx
strap = create={ctx={debug=true, cfg=&{Gitstrap:0xc00000e680}}}
2019/12/01 17:56:45 [GH] >>> GET https://api.github.com/user
2019/12/01 17:56:45 [GH] https://api.github.com/user <<< 200
2019/12/01 17:56:45 {"login":"dgroup","id":1651114,"node_id":"yyy=","avatar_url":"https://avatars0.githubusercontent.com/u/1651114?v=4","gravatar_id":"","url":"https://api.github.com/users/dgroup","html_url":"https://github.com/dgroup","followers_url":"https://api.github.com/users/dgroup/followers","following_url":"https://api.github.com/users/dgroup/following{/other_user}","gists_url":"https://api.github.com/users/dgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/dgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgroup/subscriptions","organizations_url":"https://api.github.com/users/dgroup/orgs","repos_url":"https://api.github.com/users/dgroup/repos","events_url":"https://api.github.com/users/dgroup/events{/privacy}","received_events_url":"https://api.github.com/users/dgroup/received_events","type":"User","site_admin":false,"name":"Yurii Dubinka","company":null,"blog":"","location":"Hyderabad","email":"[email protected]","hireable":true,"bio":null,"public_repos":32,"public_gists":9,"followers":19,"following":7,"created_at":"2012-04-17T08:48:20Z","updated_at":"2019-12-01T14:19:14Z"}
RUN: as dgroup options = map[]
Looking up for repo dgroup/c
2019/12/01 17:56:45 [GH] >>> GET https://api.github.com/repos/dgroup/c
2019/12/01 17:56:46 [GH] https://api.github.com/repos/dgroup/c <<< 404
2019/12/01 17:56:46 {"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/#get"}
repository doesn't exist. Create? (y/n): y
creating repo: dgroup/c
github.Repository{Name:"c", Description:"zzz", Private:true}
2019/12/01 17:56:51 [GH] >>> POST https://api.github.com/user/repos
2019/12/01 17:56:51 {"name":"c","description":"zzz","private":true}
2019/12/01 17:56:53 [GH] https://api.github.com/user/repos <<< 201
2019/12/01 17:56:53 {"id":225179076,"node_id":"xxxx=","name":"c","full_name":"dgroup/c","private":true,"owner":{"login":"dgroup","id":1651114,"node_id":"xxx","avatar_url":"https://avatars0.githubusercontent.com/u/1651114?v=4","gravatar_id":"","url":"https://api.github.com/users/dgroup","html_url":"https://github.com/dgroup","followers_url":"https://api.github.com/users/dgroup/followers","following_url":"https://api.github.com/users/dgroup/following{/other_user}","gists_url":"https://api.github.com/users/dgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/dgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgroup/subscriptions","organizations_url":"https://api.github.com/users/dgroup/orgs","repos_url":"https://api.github.com/users/dgroup/repos","events_url":"https://api.github.com/users/dgroup/events{/privacy}","received_events_url":"https://api.github.com/users/dgroup/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dgroup/c","description":"xxx","fork":false,"url":"https://api.github.com/repos/dgroup/c","forks_url":"https://api.github.com/repos/dgroup/c/forks","keys_url":"https://api.github.com/repos/dgroup/c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgroup/c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgroup/c/teams","hooks_url":"https://api.github.com/repos/dgroup/c/hooks","issue_events_url":"https://api.github.com/repos/dgroup/c/issues/events{/number}","events_url":"https://api.github.com/repos/dgroup/c/events","assignees_url":"https://api.github.com/repos/dgroup/c/assignees{/user}","branches_url":"https://api.github.com/repos/dgroup/c/branches{/branch}","tags_url":"https://api.github.com/repos/dgroup/c/tags","blobs_url":"https://api.github.com/repos/dgroup/c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgroup/c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgroup/c/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgroup/c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgroup/c/statuses/{sha}","languages_url":"https://api.github.com/repos/dgroup/c/languages","stargazers_url":"https://api.github.com/repos/dgroup/c/stargazers","contributors_url":"https://api.github.com/repos/dgroup/c/contributors","subscribers_url":"https://api.github.com/repos/dgroup/c/subscribers","subscription_url":"https://api.github.com/repos/dgroup/c/subscription","commits_url":"https://api.github.com/repos/dgroup/c/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgroup/c/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgroup/c/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgroup/c/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgroup/c/contents/{+path}","compare_url":"https://api.github.com/repos/dgroup/c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgroup/c/merges","archive_url":"https://api.github.com/repos/dgroup/c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgroup/c/downloads","issues_url":"https://api.github.com/repos/dgroup/c/issues{/number}","pulls_url":"https://api.github.com/repos/dgroup/c/pulls{/number}","milestones_url":"https://api.github.com/repos/dgroup/c/milestones{/number}","notifications_url":"https://api.github.com/repos/dgroup/c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgroup/c/labels{/name}","releases_url":"https://api.github.com/repos/dgroup/c/releases{/id}","deployments_url":"https://api.github.com/repos/dgroup/c/deployments","created_at":"2019-12-01T14:56:52Z","updated_at":"2019-12-01T14:56:52Z","pushed_at":"2019-12-01T14:56:53Z","git_url":"git://github.com/dgroup/c.git","ssh_url":"[email protected]:dgroup/c.git","clone_url":"https://github.com/dgroup/c.git","svn_url":"https://github.com/dgroup/c","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"is_template":false,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"template_repository":null,"network_count":0,"subscribers_count":1}
Github repository c has been created
[create] failed to sync git repo: exit status 128