Skip to content

TASK-1203 Use default AbstractHandleConstants.pm#39

Open
kkellerlbl wants to merge 1 commit intokbaseattic:developfrom
kkellerlbl:develop
Open

TASK-1203 Use default AbstractHandleConstants.pm#39
kkellerlbl wants to merge 1 commit intokbaseattic:developfrom
kkellerlbl:develop

Conversation

@kkellerlbl
Copy link
Contributor

Removed handle namespace from tpage arguments
Set off namespace log messages with quotes

Set off namespace log messages with quotes
@kkellerlbl kkellerlbl requested review from scanon and sychan November 1, 2017 23:35
@kkellerlbl
Copy link
Contributor Author

Feel free to review but please let me merge, so I can deploy and make sure it works. I will probably do that on Friday.

@kkellerlbl kkellerlbl self-assigned this Nov 1, 2017
Copy link
Contributor Author

@kkellerlbl kkellerlbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scanon @sychan my review of my own PR

SERVICE_PSGI = $(SERVICE_NAME).psgi
NAMESPACE = KBH
TPAGE_ARGS = --define kb_runtime=$(RUNTIME) --define kb_runas_user=$(SERVICE_USER) --define kb_top=$(TARGET) --define kb_service_name=$(SERVICE_NAME) --define kb_service_config_stanza=$(SERVICE_CONFIG) --define kb_service_dir=$(SERVICE_DIR) --define kb_service_port=$(SERVICE_PORT) --define kb_psgi=$(SERVICE_PSGI) --define handle_namespace=$(NAMESPACE)
TPAGE_ARGS = --define kb_runtime=$(RUNTIME) --define kb_runas_user=$(SERVICE_USER) --define kb_top=$(TARGET) --define kb_service_name=$(SERVICE_NAME) --define kb_service_config_stanza=$(SERVICE_CONFIG) --define kb_service_dir=$(SERVICE_DIR) --define kb_service_port=$(SERVICE_PORT) --define kb_psgi=$(SERVICE_PSGI)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be mostly cosmetic. I think the default may be defined in the build, and it's definitely explicitly set in the gitlab config (at least for CI).


our $namespace = handleNameSpace;
INFO "pid $$ using $namespace as the default handle namespace";
INFO "pid $$ using '$namespace' as the default handle namespace";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are just for better logging, setting off the namespace in quotes, so that if it's undefined, we see '' instead of just whitespace.

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.

1 participant