-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Why is "export_presets.cfg" in the gitignore? #329
Comments
See the discussion in github/gitignore#2827. In short, we need to move sensitive credentials such as the Android keystore information to a separate file that can be added to |
So I've only ever built for Windows, Linux, and HTML5, so I don't have any sensitive data in my projects. What is |
@greenfox1505 I believe |
Note that you can encrypt your scripts now again in 3.1, so |
If that is the case, those encryption keys do not belong in https://www.freecodecamp.org/news/how-to-securely-store-api-keys-4ff3ea19ebda/ |
In addition to keys, my
Related: godotengine/godot#29674 (and example of the problem manifesting) |
@aaronfranke Export paths should now be relative as of godotengine/godot#28701. Maybe you need to clear export paths and set them again with a recent build? The same has also been done for Windows icon paths. |
I've been thinking about this recently, even if there is no direct harm in having such files committed, I think it would not make much sense to have them in the demo projects repo. Should every project get export presets? If so, what platforms? Would each project have presets for different platforms? What export settings should we use? It would be very easy to have this become inconsistent between each of the demo projects. When it comes to a gitignore file used in other projects, as @greenfox1505 reports in his first sentence, that is its own discussion and would involve changing this file. If that file is changed to not include |
@aaronfranke I think it makes sense to avoid committing
Sounds good to me. |
I'm closing this, with the resolution as stated above. For changing this file, that's another discussion for another place. |
So what should people that would like to use CI builds do? Can we specify a stripped |
Not yet, you'll have to wait until godotengine/godot#35930 is merged. In the meantime, use |
@Calinou Thanks for the reference! I find this example very helpful for the time being but as we just want to build for code review, we just copied our ...
before_script:
...
- cp export_presets_ci.cfg export_presets.cfg
... Looking forward to the PR merge. :) |
I've been using this .gitignore for most of my projects. I'm writing a build automation script when I realized this file was the source of some of my issues.
I understand this file was likely writen before GodotHeadless was relevant. Should these lines still be here for projects that automate builds?
Reviewing the formatting of the file has a line called
export_path=...
, and this line seems to be an absolute path, that might need to be adjusted to be relative path. Otherwise I see no reason to exclude this from a project repo.godot-demo-projects/.gitignore
Line 3 in b9bca13
The text was updated successfully, but these errors were encountered: