Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repurpose -a to mean --advanced_conf_file as --app_config is unused #5

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

michaelklishin
Copy link
Collaborator

Currently the -a flag is not used. Originally introduced in [1],
it [seemingly] was meant to allow for app.config location customization.
That never materialized as the flag is not used anywhere in the codebase
besides the getopt definition.

Instead we repurpose -a to mean --advanced_conf_file, which was adopted
in a fork currently bundled with RabbitMQ. Having a hardcoded location
for advanced.config is primarily inconvenient in integration tests
that generate configuration files.

Note that --app_config has been removed. The version will be bumped to
2.3.0.

Per discussion with @dcorbacho @kjnilsson @lukebakken.

  1. basho/cuttlefish@106b8b7

…ally used

Currently the -a flag is not used. Originally introduced in [1],
it [seemingly] was meant to allow for app.config location customization.
That never materialized as the flag is not used anywhere in the codebase
besides the getopt definition.

Instead we repurpose -a to mean --advanced_conf_file, which was adopted
in a fork currently bundled with RabbitMQ. Having a hardcoded location
for advanced.config is primarily inconvenient in integration tests
that generate configuration files.

Note that --app_config has been removed. The version will be bumped to
2.3.0.

Per discussion with @dcorbacho @kjnilsson @lukebakken.

1. 
basho/cuttlefish@106b8b7
@lukebakken lukebakken merged commit d782598 into develop Aug 7, 2019
@lukebakken lukebakken deleted the mk-repurpose-dash-a-switch branch August 7, 2019 22:26
@michaelklishin
Copy link
Collaborator Author

cuttlefishes.zip contains a test setup I've been using. The scripts/old_cuttlefish escript is the compiled fork that is currently bundled with RabbitMQ. The scripts/new_cuttlefish one is a rebar3 escriptize artifact from this branch. Use scripts/run_old.sh and scripts/run_new.sh to compare.

@michaelklishin
Copy link
Collaborator Author

Doh, too late :)

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