Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search in forks instead of deleting forks with a matching url #629

Open
ahmad88me opened this issue Jun 9, 2022 · 0 comments
Open

Search in forks instead of deleting forks with a matching url #629

ahmad88me opened this issue Jun 9, 2022 · 0 comments

Comments

@ahmad88me
Copy link
Member

If multiple repos with the same name from different users are using OnToology, things will be missed up. The reason is that the way OnToology works is that before it forks the repo, it deletes all repos from OnToologyUser which matches the name. GitHub solves this by appending numbers (e.g., myuser/myrepo will be forked to OnToologyUser/myrepo-2) in case another fork already exists.

Proposed Solution.
From the repo it self, we can get the list of forks, and then if OnToologyUser is there, we can delete it. This is a much solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant