nickstenning / honcho

Honcho: a python clone of Foreman. For managing Procfile-based applications.
http://pypi.python.org/pypi/honcho
MIT License
1.6k stars 146 forks source link

Expose process name in child environment. #179

Closed mtyaka closed 7 years ago

mtyaka commented 8 years ago

This exposes process name (eg. "web.1", "web.2", "queue_worker.1", ...) as HONCHO_PROCESS_NAME environment variable in managed child processes.

This is mostly useful for logging purposes.

codecov-io commented 8 years ago

Current coverage is 49.31%

Merging #179 into master will not change coverage

@@             master       #179   diff @@
==========================================
  Files            11         11          
  Lines           588        588          
  Methods           0          0          
  Messages          0          0          
  Branches         88         88          
==========================================
  Hits            290        290          
  Misses          287        287          
  Partials         11         11          

Powered by Codecov. Last updated by 399b2d9...00c8f0d

mtyaka commented 8 years ago

@nickstenning Any chance we could get this merged? We are using this patch in https://github.com/open-craft/opencraft.

nickstenning commented 7 years ago

This looks lovely. Thanks for the patch!

nickstenning commented 7 years ago

This is now released in v1.0.1. 🎉