Missing repository after delete and re-fork


#1

Hi,
https://cloud.drone.io/voltagex/wget-lua is broken. This should correspond to voltagex/wget-lua on GitHub but I deleted the repo and re-forked from a different parent.

It seems like it’s now not shown in my dashboard, even if I sync.

There probably should be a way to completely remove and re-add a repo to cloud.drone.io.


Cloud.drone.io cant sync github repos
#2

https://github.com/voltagex/wget-lua is there, but

$ ~/bin/drone repo repair voltagex/wget-lua
client error 404: {"message":"Not Found"}

I guess this requires a fix from @bradrydzewski


#3

Yes, I explain a bit more in this thread here: Cloud.drone.io cant sync github repos


#4

Thanks for that - without renaming my repo, how can this be fixed?


#5

sorry, I don’t have a fix for it at the moment. It was an edge case that I never considered, and I will have to address in a subsequent release.


#6

I suppose I’m facing a same issue, but in a different way.

I deleted and recreated a repo in Gogs, and without hacking the sqlite database directly (in fact I deleted the /var/lib/drone/database.sqlite file), I can’t sync to have the new repo appear in the drone repo list.

Do we need any operations for the database used in CLI commands, or can UI logic fully cover all these cases?