hub-mirror-action icon indicating copy to clipboard operation
hub-mirror-action copied to clipboard

`has_dst_repo` is inaccurate when user has same name org repo

Open Yikun opened this issue 3 years ago • 0 comments

Gitee API will fetch user reponame and user ownered org reponame together.

So if the org repo is belong to the user, both org and user repo will be return. we need to add some filter or some when dst is gitee.

https://github.com/Yikun/hub-mirror-action/blob/81f1a4c8d18ec3b443cc7e7980f1a067e327ce10/hub-mirror/hub.py#L48

Related failed: https://github.com/Yikun/hub-mirror-action/pull/130

Yikun avatar Dec 13 '21 08:12 Yikun