Merge issue: GitHash in Info.plist #797
Replies: 5 comments 10 replies
-
This is a good read explaining https://liquidsoftware.com/blog/the-7-deadly-sins-of-versioning-part-2/ |
Beta Was this translation helpful? Give feedback.
-
For this repository I don't see any benefits of using git hash in the future. We are going to be using version numbers anyways, right? So if any user has any issues or find bugs in a particular version of CodeEdit when it's released. They can mention this version number in the bug report. If anyone knows any definitive benefits of using this, please let me know. I'm all ears. However, in my opinion we can omit using this. If not now then definitely in the near future. Looks like GitHash was introduced in March 2022 in PR #358. There's also a build phase which creates the GitHash inside the info.plist called |
Beta Was this translation helpful? Give feedback.
-
Update the PR to use xcconfig files. This is how many large projects managed their Xcode configures. (#include other xcconfig files in a common xcconfig file.) |
Beta Was this translation helpful? Give feedback.
-
It look like the GitHash is used in the welcome window if you click on the version number it copies the following:
We are also using it in the About window. The question is, is this necessary? |
Beta Was this translation helpful? Give feedback.
-
For anyone reading this in the future. Solutions raised in this discussion was applied in PR #799 by @Kyle-Ye, which has been merged |
Beta Was this translation helpful? Give feedback.
-
I've noticed that people want to gitignore Info.plist because it changes the
GitHash
every commit which causes merge conflicts every time. This is very annoying but we can't ignore this file as it contains things pertinent to the project. This is something we need to figure out so we can avoid these issues going forward. Any thoughts or ideas?Beta Was this translation helpful? Give feedback.
All reactions