Maintaining Env Vars in an OSS repo
Unanswered
Nile Crocodile posted this in #help-forum
Nile CrocodileOP
I was curious how maintainers of bigger OSS repos maintain env vars and still allow folks to contribute to the repo. I am starting a build in public repo that is aimed at swim team management along with swim meet management. I want people to be able to contribute and make sure things work correctly before opening a PR. How do I do that in a safe manner?
3 Replies
@Nile Crocodile I was curious how maintainers of bigger OSS repos maintain env vars and still allow folks to contribute to the repo. I am starting a build in public repo that is aimed at swim team management along with swim meet management. I want people to be able to contribute and make sure things work correctly before opening a PR. How do I do that in a safe manner?
Each contributor should have his own set of environment variables. For example if you need a database, then in the contribution guide you should document how to set up a database and seed it for development, then the contributor will do all that and get things running locally.
Nile CrocodileOP
What about things like auth or Vercel's AI SDK?
@Nile Crocodile What about things like auth or Vercel's AI SDK?
Same thing, they get their own set of secrets.