iilyak opened a new pull request #2184: Support `--extra_args` parameter in `dev/run` URL: https://github.com/apache/couchdb/pull/2184 ## Overview Sometimes there is a need to specify additional arguments for the beam process we start from dev/run. In particular the feature is handy for: - changing emulator flags - simulate OOM via available RAM restrictions - enable module loading tracing - configure number of schedulers - modify applications configuration - run customization script to add extra development deps (such as automatic code reload) Historically developers had to edit dev/run to do it. This PR adds an ability to specify additional arguments via `--extra_args` argument. In order to run customization script create `customization.erl` which exports `start/0` and run it using: ``` dev/run --extra_args='-run customization' ``` This is cherry-pick from master ``` git cherry-pick dd5ac138ecbdee76ff3ba68664f25c2a5cdda7cc ``` ## Testing recommendations - this is a cherry-pick of a commit from master ## Related Issues or Pull Requests - https://github.com/apache/couchdb/pull/2183 ## Checklist - [x] Code is written and works correctly - [ ] Changes are covered by tests - [ ] Any new configurable parameters are documented in `rel/overlay/etc/default.ini` - [ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
