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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

KasnocknDave
Copy link

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

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

func main() {
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

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?

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

Successfully merging this pull request may close these issues.

2 participants