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

Private Repository Support? #19

Open
shellscape opened this issue Jan 25, 2024 · 2 comments
Open

Private Repository Support? #19

shellscape opened this issue Jan 25, 2024 · 2 comments

Comments

@shellscape
Copy link

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.

@alexmgriffiths
Copy link

alexmgriffiths commented Jul 19, 2024

@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.

@coolacid
Copy link

coolacid commented Jan 15, 2025

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

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

3 participants