Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(issue-16): Add private Repo support #171

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

Open
KasnocknDave wants to merge 3 commits into crdsdev:main
base: main
Choose a base branch
Loading
from XXXLutz:feat/re-add-analytics

Conversation

@KasnocknDave
Copy link

@KasnocknDave KasnocknDave commented Feb 8, 2023

This PR adds support for private repositories and self-hosted Github servers.
They can be added to the config.yaml as documented in the repository.
Note that this setup works when hosting, for local execution the config must be placed in the respective folder.

@hasheddan

Sijoma, jaylevin, Stef16Robbe, maximiliantech, sibtainabbas10, and jstudler reacted with hooray emoji jaylevin and maximiliantech reacted with heart emoji
Copy link

jaylevin commented Nov 2, 2023

@hasheddan Hey there, any way we can get this merged into the main branch? I think it would be a great addition to the open source community.

jstudler reacted with thumbs up emoji

dsn := fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", os.Getenv(userEnv), os.Getenv(passwordEnv), os.Getenv(hostEnv), os.Getenv(portEnv), os.Getenv(dbEnv))
conf, err := readConf("/usr/repos.yaml")
if err != nil {
fmt.Println(err)
Copy link

@jaylevin jaylevin Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we handle the error instead of just printing it out?

Copy link
Author

Sadly I think this is not going to see any action from the maintainer.
I hope my implementation helped still helped someone. I will leave it open and whoever deems it useful can simply use my branch for their usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@jaylevin jaylevin jaylevin left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /