-
Notifications
You must be signed in to change notification settings - Fork 1
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
After deleting a repo, you can't add it to the db again #85
Comments
Should be a task. Did you check it was removed from the file system? otherwise it won't be able to clone again under the same path |
how can I check if it was removed from the file system? |
At the django settings files, check the value of RAFEE_REPO_DIR, that determines the location of the repos. BTW, can you change the title of the issue? is too generic |
it wasn't removed from the file path, it's still there. I can manually delete it but how can we fix this? |
It is supposed to delete it from file system. Check RepositoryDetailAPIView for the implementation. So this is a bug |
ok, everything works. I checked celery and all the code and everything was fine. |
hmm, strange. Probably the problem was that celery was not up, thus failing the task to run? Did you check the celery logs or the task state via flower? |
After building the frontend GUI of the repositories, if you delete a repo and than try to add it again - it won't let you do that.
it's like the db doesn't want to accept that.
so even if you save it and all - doesn't work.
tried even from the REST-api, because I thought there was a problem with ember.store, but it still doesn't work.
tried running migrations or something - nada.
any ideas? I'm lost here.
(btw, it doesnt happen with users or teams, because they have a unique id. so each of them is different)
The text was updated successfully, but these errors were encountered: