Commit Graph

4076 Commits

Author SHA1 Message Date
Russell Shean
460b9d97a7
R: add .env to prevent accidentally exposing credentials
Historically R users have used the .Renviron file for storing environmental variables such as secrets, credentials, API keys etc. However, I believe there are several compelling reasons for adding .env to the .gitignore too:

1. The dotenv R package was created to allow users to use .env instead of .Renviron. The package has a significant number of downloads.  https://github.com/gaborcsardi/dotenv 

2. .env files are standard in many other programming languages. It wouldn't be that out of the unexpected to think R users might end up with an .env file because a python user on their team contributed files to the repo, the R user started programming in nodejs and is used to working with .env file, or a repo is in the process of being translated from a language that uses .env to R. 

3. LLMs are making programming accessible to people who may not have much previous experience handling credentials and security. One of the first steps many of these users have to do is store LLM provider API keys somewhere. I worry about a new R user adapting a python workflow or an R workflow that recommends using an .env file and then accidentally committing their LLM API keys to a public repo. 

4. I can't think of why an R user would create an .env file for any other reason other than storing credentials and environmental variables. If, for whatever reason, they need to commit an .env file, they can remove that part from the template, but I think the risk of accidentally exposing sensitive credentials justifies adding .env files to the template and not commenting it out by default.
2025-12-19 19:27:15 +08:00
Tim Hunter
86922aee42
Merge pull request #4747 from mikekistler/patch-1
Add .env to gitignore for dotenv files
2025-11-17 10:23:12 -08:00
Tim Hunter
003ac16f8a
Merge pull request #4746 from yutamago/feature/jetbrains-copilot-migration-files
Ignore GitHub Copilot migration files in Jetbrains IDEs
2025-11-13 11:15:10 -08:00
Mike Kistler
f0d151001c
Apply suggestion from @thorrsson 2025-11-10 13:26:09 -08:00
Mike Kistler
7ecf2d3e79
Apply suggestion from @thorrsson 2025-11-07 14:02:24 -08:00
Mike Kistler
ed85cd93b0
Add .env to gitignore for dotenv files 2025-10-19 11:24:35 -07:00
Angelo
a19adfd688
Ignore GitHub Copilot migration files
Add GitHub Copilot session migration files to .gitignore
2025-10-17 11:29:23 +02:00
Devin Dooley
fc6ce5da28
Merge pull request #4692 from nikitamihaqlov/main
Update Python.gitignore
2025-09-10 11:42:03 -07:00
Daniel Johnson
8fea4dc76a
Merge pull request #4513 from yahyayozo/STM32CubeIDE-gitignore
added STM32CubeIDE gitignore
2025-09-10 09:03:57 -07:00
Nikita Mikhailov
7bfab2ec5b
Merge branch 'main' into main 2025-09-10 12:59:21 +03:00
YahyaAouledAmer
c9ae3d337a
Remove .vscode rule 2025-09-06 17:33:39 +01:00
Devin Dooley
10b26ce43d
Merge pull request #4693 from navan0/main
Update Node.gitignore
2025-09-02 09:48:33 -07:00
Navaneeth Anand
34336c9d62
refine Vite entries 2025-08-31 13:28:53 +05:30
Tim Hunter
015e9f2eef
Merge pull request #4702 from achillesrasquinha/salesforce
feat: Add Salesforce
2025-08-27 12:37:48 -07:00
Devin Dooley
b19bb58983
Merge pull request #4720 from spartanhaden/main
Remove trailing whitespace
2025-08-26 12:43:22 -07:00
Haden Wasserbaech
949aaa81d9
Remove trailing whitespace 2025-08-25 22:42:05 -07:00
Devin Dooley
d1c5e90de7
Merge pull request #4711 from sebastianw/modelsim-broad-match-python
Move ModelSim out of Global
2025-08-25 08:56:39 -07:00
Sebastian Wiesinger
ca05a4dafd Move ModelSim out of Global directiory
The ModelSim gitignore contains some broad ignores which might conflict
with many other projects.
2025-08-23 10:44:35 +02:00
Devin Dooley
79818019c1
Merge pull request #4708 from liyishuai/macos
macOS: ignore __MACOSX/
2025-08-22 16:36:39 -07:00
Daniel Johnson
c554d49651
Merge pull request #4703 from lumirelle/feat/node
feat: support nuxt 4
2025-08-22 13:05:45 -07:00
Daniel Johnson
ee7dbbe9bd
Merge pull request #4704 from Water-Ty/main
Added files & folders to ignore that are generated by message brokers (python related)
2025-08-22 13:04:38 -07:00
Yishuai Li
37def63bc8
macOS: ignore __MACOSX/ 2025-08-12 05:57:20 +00:00
Achilles Rasquinha
f7d6e55ed9
Update Salesforce.gitignore
Removed node_modules and DS_Store
2025-08-10 14:45:04 -05:00
Daniel Johnson
e5379849ad
Merge pull request #3642 from lmajano/master
Addition of ColdBox HMVC Framework
2025-08-08 13:08:39 -07:00
Arjun Deka
a2eb961113
Added additional message broker files to ignore.
RabbitMQ and ActiveMQ also generate folders and files to decided to make those ignored too.
2025-08-08 00:50:04 -07:00
Arjun Deka
bd7d99b21d
Added redis files to ignore
In this commit I added files that are generated by redis and should generally be ignored.
2025-08-08 00:45:19 -07:00
Lumirelle
21d16ca45a
feat: support nuxt 4 2025-08-08 09:47:10 +08:00
Achilles Gasper Rasquinha
1bd28f57ea feat: Add Salesforce 2025-08-07 03:05:13 +00:00
Tim Hunter
9255d4cfe4
Merge pull request #4701 from VeeronTen/godot-ignore-tmp
Ignore Godot  *.tmp files
2025-08-06 11:18:05 -07:00
Veeron Ten
489573b2ff Ignore Godot *.tmp files
Godot creates a bunch of *.tmp files which could be committed by mistake
2025-08-06 19:49:09 +02:00
Luis Majano
0fc4e3c6da
changed to community contributions 2025-07-28 11:23:57 +02:00
Luis Majano
0356fa0bd4
Merge branch 'github:main' into master 2025-07-28 11:19:56 +02:00
Navaneeth Anand
4b7063c9d7
Update Node.gitignore
Add Vite-specific entries to Node.gitignore
2025-07-27 18:40:43 +05:30
Nikita Mikhailov
0ed6a1a3f1 Update Python.gitignore
Ensure consistency formatting for comments in Python.gitignore
2025-07-26 23:51:25 +03:00
Daniel Johnson
622c03138b
Merge pull request #4690 from softwaredevelop/add-metatrader5-gitignore
Add .gitignore template for MetaTrader 5 / MQL5
2025-07-25 14:50:38 -07:00
Devin Dooley
926c9adf28
Merge pull request #4351 from Tc-KGu/patch-3 2025-07-25 14:45:38 -07:00
Daniel Johnson
43df23c02c
Merge pull request #4688 from 1234567Yang/main
Visual Studio: x86 and x64 only ignore in debug dir
2025-07-25 14:44:44 -07:00
Tim Hunter
1d4819b2dc
Merge pull request #4455 from RScrafted/patch-1
Update Terraform.gitignore to ignore graph files
2025-07-21 11:41:49 -07:00
RScrafted
2f3c7b3f2e Comment out *.dot pattern with note, based on reviewer suggestion 2025-07-18 11:55:15 +01:00
RScrafted
7125e5c434 Update Terraform.gitignore to reflect reviewer guidance and best practices 2025-07-18 11:46:47 +01:00
Rachit S
fe8783ff7b
Merge branch 'github:main' into patch-1 2025-07-17 20:19:21 +01:00
softwaredevelop
67806c58a0
Add .gitignore template for MetaTrader 5 / MQL5 2025-07-17 16:02:55 +00:00
Tim Hunter
9c2e50c7cc
Merge pull request #4686 from injust/patch-1
Update broken virtualenv link
2025-07-16 08:13:03 -07:00
Justin Su
b0b879651f
Update broken virtualenv link 2025-07-15 14:24:35 -04:00
Yang
de16f7faa2
x86 and x64 only ignore in debug dir 2025-07-14 13:43:50 -07:00
Devin Dooley
b46f89d56f
Merge pull request #4687 from injust/python-revert-cursor
Remove Cursor files from Python gitignore
2025-07-14 09:58:00 -07:00
Justin Su
bdc996bb1f
Revert "Merge pull request #4633 from Wuhall/main"
This reverts commit 9cabb94d2a.
2025-07-13 15:36:37 -04:00
Knut Guettel
3bfa4f45a6
Update TwinCAT3.gitignore 2025-07-08 08:55:49 +02:00
Devin Dooley
01d2bee6fa
Merge pull request #4682 from gh658804/patch-1
Update VisualStudio.gitignore - remove *.vbp extension
2025-07-07 10:18:21 -07:00
Knut Guettel
a606bd2abe
Merge branch 'main' into patch-3 2025-07-07 08:53:33 +02:00