Open adamobrn opened 7 years ago
They're nowhere else, but they're only read from the json files when the app starts, which might be why you're not seeing them missing. Do they go away if you delete the json files AND do an iisreset?
I had removed the json files at the time of writing but they were still appearing. Having just done an IIS restart has now removed the deleted repositories which were listed as (missing). If I wanted to generate my own repositories using Git and not have to do a rescan of new repositories from within Bonobo, could I generate my own json file without it having any adverse affects? How are the ID names of json files which relate to the repositories generated by Bonobo?
Had same issue, just removed corresponding records in Bonobo.Git.Server.db database.
I am currently in the process of automating the creation of Git repositories as part of a larger project which creates a project folder, assigns NTFS permissions, creates an email distrubution for said project and finally, a Git repository. During my testing I have created a number of bare repositories via Git and then scanned them in from Bonobo so they appear in the portal and I can assign permissions. I have since removed the repositories but they are still displaying within Bonobo as (missing). The delete button is no longer present and selecting the hyperlink produces an error 'An error occurred when processing your request. Please try again or contact the system administrator.'
I am currently using the AD integration feature and I have attempted to remove the respective .json files under the \App_Data\ADBackend\Repos directory and they are still appearing. There are also not present within the Bonobo.Git.Server.db SQLite DB, although I believe this is because I am using AD auth as no reps or AD users exist in the table. Can someone confirm if where else these repositories would be referenced within Bonobo?
Thanks in advance for yor help,
Adam