when migrating a private repo from an organization, the following error occurs: gitea-github-migrator_linux_amd64 migrate --gh-token $GITHUB_TOKEN --token $GITEA_TOKEN --owner 1 --gh-repo $ORGA/$REPO --url $GITEA_SERVER panic: error while migrating repo[ORGA/REPO]: Clone: exit status 128 - fatal: could not read Username for 'https://github.com': No such device or address This patch fices htat by allowing to infuse the correct credentials like this: env GITHUB_PASS=$GITHUB_TOKEN GITHUB_USER=jnweiger ~/go/bin/gitea-github-migrator migrate --gh-token $GITHUB_TOKEN --token $GITEA_TOKEN --owner 1 --gh-repo $ORGA/$REPO --url $GITEA_SERVER Not the nicest implementation, but this gets me going. Thank you for a great tool!master
父节点
afd81459b9
当前提交
d22c74c735
正在加载...
在新工单中引用