Skip to content

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.

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?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants