Skip to content

graphhopper.sh: let env decide $CONFIG - #1129

Closed
justinmk2 wants to merge 1 commit into
graphhopper:masterfrom
justinmk2:config-env-var
Closed

justinmk2 wants to merge 1 commit into
graphhopper:masterfrom
justinmk2:config-env-var

Conversation

@justinmk2

Copy link
Copy Markdown

If there is concern about a spurious CONFIG in the environment (because the name is so generic) could look for GH_CONFIG instead:

CONFIG=${GH_CONFIG:-config.properties}

@karussell

karussell commented Aug 4, 2017 •

Copy link
Copy Markdown
Member

Nice & Thanks! So this bash magic uses either $CONFIG or if empty it uses config.properties? This would be nice in other places as well :) !

Regarding first time contribution: would you sign your commits or contact us so that we can send you the CLA?

@karussell

Copy link
Copy Markdown
Member

Will be fixed with a slightly different notation like ${CONFIG:?config.properties} in #1314

@karussell karussell closed this Mar 23, 2018
@karussell karussell mentioned this pull request Mar 23, 2018
9 tasks done
@justinmk2
justinmk2 deleted the config-env-var branch March 23, 2018 12:17
@justinmk2

Copy link
Copy Markdown
Author

Great. I did send a CLA request and never got a reply.

CLA shouldn't be required for such trivial changes anyway.

@karussell

Copy link
Copy Markdown
Member

Ah, did you send the CLA one week ago? I replied to it with a question to which PR this email belongs to :) ... so now I know and keep the CLA for future contributions.

Sorry for this ugly first contribution experience - I hope you still enjoy graphhopper and would love to see your second PR :)

CLA shouldn't be required for such trivial changes anyway

That is a tough thing. If you correct a misspelled word, ok. But as soon as it could be interpreted 'creative act' this is not 100% sure.

@karussell

Copy link
Copy Markdown
Member

(Ups, there was no CLA attached, will send the request now ..)

@justinmk2

Copy link
Copy Markdown
Author

Well, it's up to you, but not even the FSF requires CLA for minor changes (measured by number of lines, not "creative").

FWIW Joyent/nodejs and many other projects have discarded their CLAs: https://nodejs.org/en/blog/uncategorized/notes-from-the-road/#easier-contribution

@karussell

Copy link
Copy Markdown
Member

We don't use the CLA to give us the opportunity to relicense the project. Our aim is the same like described here https://blog.chef.io/2009/08/11/why-we-chose-the-apache-license/ which is very similar to other foundations like Apache - they would never use a different license and still require the CLA.

Well, it's up to you, but not even the FSF requires CLA for minor changes (measured by number of lines, not "creative").

IMO this is not as easy

@karussell

Copy link
Copy Markdown
Member

But this CLA stuff is of course debatable because if you are contributing it could be seen as implicitly accepting that the contribution is under the same license as the project. And if we then even include a note regarding the projects license in the text that everyone sees who does a pull request we would be safer. At least for such 'small' changes (according to our lawyer ;))

@justinmk2

Copy link
Copy Markdown
Author

Our aim is the same like described here https://blog.chef.io/2009/08/11/why-we-chose-the-apache-license/ which is very similar to other foundations like Apache - they would never use a different license and still require the CLA.

That post is from 2009, around the time when lots of projects (including nodejs) tried the CLA thing.

Chef no longer requires a CLA: https://blog.chef.io/2016/09/19/introducing-developer-certificate-of-origin/

@karussell

Copy link
Copy Markdown
Member

Interesting, thanks!

Which line number is the FSF using?

@karussell

karussell commented Mar 23, 2018 •

Copy link
Copy Markdown
Member

Cool. We'll adopt this way, especially with the electronic signatures for the commits this is easier for everyone.

@karussell

Copy link
Copy Markdown
Member

Difficult topic, really. The "chef" procedure is partially discussed in #1208 and sometimes relies on "higher" git knowledge (signing commits, rebase if necessary multiple commits) and the name and email in clear text. Signing the CLA is a no-brainer for everyone as we do this via signaturit.com and we associate the github nickname with those PDFs in the background.

So I'm really not sure if this would lower the entry barrier.

@karussell

Copy link
Copy Markdown
Member

This comment sums it up pretty good: chef-boneyard/chef-rfc#213 (comment)

karussell added a commit that referenced this pull request Mar 23, 2018
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.

2 participants