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

don't uppercase envoverride #4458

Merged
merged 1 commit into from
Aug 23, 2017

Conversation

xgaia
Copy link
Contributor

@xgaia xgaia commented Aug 18, 2017

@erasche,

Sorry for the second PR,

I think it is better like this, Only default env var are uppercased, but user env (env_override) are not.

What do you think ?

@galaxybot galaxybot added this to the 17.09 milestone Aug 18, 2017
@hexylena
Copy link
Member

@galaxybot test this

@hexylena
Copy link
Member

@xgaia yes, I like this better. Since the upper case env vars are effectively part of the GIE API contract, this at least gives authors more flexibility in passing vars to underlying software.

@natefoo
Copy link
Member

natefoo commented Oct 4, 2017

Unfortunately, this change has broken automatic fetching of the dataset from which the GIE is launched since $additional_dataset_ids is now passed uncapitalized. However, I am not sure of the best solution here since it seems that both functionalities are needed (capitalize some env_override keys, don't capitalize others).

@natefoo natefoo mentioned this pull request Oct 4, 2017
21 tasks
@xgaia
Copy link
Contributor Author

xgaia commented Oct 5, 2017

Hello @natefoo ,

maybe we can replace dataset_hid and additional_dataset_ids by DATASET_HID and ADDITIONAL_DATASET_IDS in all the mako files.

here

I can make the PR if it's OK

@natefoo
Copy link
Member

natefoo commented Oct 5, 2017

I thought about this, but some of these are used lowercase elsewhere so I am not sure if it's entirely safe.

@natefoo
Copy link
Member

natefoo commented Oct 5, 2017

@xgaia see #4760 for a proposed solution.

@xgaia
Copy link
Contributor Author

xgaia commented Oct 6, 2017

sounds good to me 👍

@xgaia xgaia deleted the interactive_environment branch October 6, 2017 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants