fettle
fettle copied to clipboard
Private Repository Support?
Hey there. Thanks for putting this together. Just curious if you've tested this on private repos. I realize that forks cannot be private, but Github has the ability to disconnect a fork from upstream to make a repo private. For the company I'm evaluating this for, we'd want to go that route.
@shellscape I'm currently using this in a private repo. Since the repo is private we can't connect to the issues in GitHub, so we took the data that the code calls for and made it call our own API. Additionally, instead of doing a fetch call to the content of the file for the reports, we're calling the local file.
To access the pages data instead of the repo data, edit the fetch call in src/services/hooks/useSystemStatus.tsx line 68
From:
const response = await fetch(`https://raw.githubusercontent.com/mehatab/fettle/main/public/status/${key}_report.log`);
To:
const response = await fetch(`./status/${key}_report.log`);
Similar in src/services/hooks/useServices.tsx line 49