-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add custom_dc/env.list to .gitignore #4573
base: master
Are you sure you want to change the base?
Conversation
Hey @wittrock , I like this change to avoid accidentally checking in API keys, but i think it's also helpful to have a template of what variables are available. What do you think about renaming Then we'd need to update the instructions here: https://docs.datacommons.org/custom_dc/custom_data.html (https://github.com/datacommonsorg/docsite) to tell the user to copy the |
I like Dan's idea. To not break existing users, can we do it in 3 steps:
Thoughts? |
Yes, I like Dan's approach too, where they create a copy of the sample
instead of directly editing it.
…On Fri, Aug 23, 2024, 11:10 AM Keyur Shah ***@***.***> wrote:
I like Dan's idea. To not break existing users, can we do it in 3 steps:
1. Create a PR with env.list duplicated as env.list.sample.
2. Update the doc that uses the latter.
3. Create a PR that removes env.list and adds it to .gitignore.
Thoughts?
—
Reply to this email directly, view it on GitHub
<#4573 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHMM7UDMGS4F67FOGMTOISTZS53INAVCNFSM6AAAAABNAKAZN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGU3TINRRGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
And yes, add it to .git ignore. I wonder if we should also add all the
generated files to .git ignore. I was quite surprised to create a PR that
added 32 generated files to it... !
…On Fri, Aug 23, 2024, 11:16 AM Kara Moscoe ***@***.***> wrote:
Yes, I like Dan's approach too, where they create a copy of the sample
instead of directly editing it.
On Fri, Aug 23, 2024, 11:10 AM Keyur Shah ***@***.***>
wrote:
> I like Dan's idea. To not break existing users, can we do it in 3 steps:
>
> 1. Create a PR with env.list duplicated as env.list.sample.
> 2. Update the doc that uses the latter.
> 3. Create a PR that removes env.list and adds it to .gitignore.
>
> Thoughts?
>
> —
> Reply to this email directly, view it on GitHub
> <#4573 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BHMM7UDMGS4F67FOGMTOISTZS53INAVCNFSM6AAAAABNAKAZN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGU3TINRRGQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Done, created :
Those two should merge first, then this one. |
Also split out my setup instructions change into #4578 |
The instructions for running a custom datacommons include creating a file (
custom_dc/env.list
) which is likely to contain API keys. Add it to .gitignore to avoid accidental checkins.