bazooka-ci / bazooka

Continuous Integration and Continuous Deployment Server
http://docs.bazooka-ci.io/
MIT License
60 stars 5 forks source link

Better env and path handling #258

Closed jawher closed 9 years ago

jawher commented 9 years ago

The goal is to avoid littering the code with calls to os.Getenv and the like.

The proposed solution is to add a context struct which represents a component's (orchestration, parser, ...) environement in a structured way.

jawher commented 9 years ago

I'm also working on refactoring the server to use the context idea. [edit] Done !

julienvey commented 9 years ago

:+1:

haklop commented 9 years ago

+1