-
Notifications
You must be signed in to change notification settings - Fork 67
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
Unnecessary doubled souce package #176
Comments
Thanks for the message!
The idea is that the *nix tarball should take case of everything now. I used to have a separate source package for Windows, but that's going away for the next release.
Hmm. I have certainly not heard that Microsoft is ditching CRLF, but Visual Studio since at least 2019 certainly accepts both without an issue (although it will create new files with CRLF). In the WavPack sources any file edited within the last decade should be *nix line endings unless I missed one. There are certainly legacy files in there (some I did not even create) that might still have DOS endings, but is that really an issue? In any event, I would be happy to look at a .gitattribute file that "fixes" this. |
Depends what you mean by 'ditch'. They still support it but not force it and not use it in their published sources, which were linked. They don't not force it. If you use MSDEV from VC6 and read LF source, it will compile, problem, and will not be convertred into CRLF either. I was testing it and that's the result I got: zipped project, screenshot.
I get the irony. It obviously will not 'fix' what is already in a repo, it would only 'fix' whatever is uploaded since. file could look like this:
or even When it comes to files in repository I would use the script that was designed to solve that problem before.
If you decide to use .gitattributes it would be logical to 'normalize' the files before, or they will be somewhat mixed on the way, when any modifications occur. |
I checked the repos and pretty much verified what I had guessed. The only files still using DOS endings are legacy files that I didn’t even create and that are really only present for historical reference (e.g., I probably don’t fully understand this problem, and I appreciate your input, but at this point I think I’ll leave everything as is but keep the issue open as a reminder. Thanks! |
Ok, ok, i get that. Maybe, at least .gitattributes, so if you edited them with Visual Studio 2019 they ended up with mixed line endings? It really is funny, because they use while bunch of slogans, to maintain status quo.
Yeah, right. Even .bat files don't need to use CRLF, nor to mention anything else. And that:
Made me rotfl. |
Exactly! I assume he means that it would only crash fairly small nations... 😸 |
Found that sources fot windows and linux are separate and after closer inspection I can't shake the impression that it's unnecessary hastle. You have to generate two differenct packages which do not collide in any way anyway. One source package that includes everything is more than enough. One can generate relevant building scripts exacly same way as if they were separate.
Also maintaining DOS line endings (CRLF) is unnecessary either. Also irritating when seen or edited under *nix. Diff for that matter threats two same lines, but with different line endins, as different. Even microsoft doesn't use DOS endings any more. And for many years now.
It could be solved with simple `.gitattributes'. I can do that (i mean PR) if you accept that.
The text was updated successfully, but these errors were encountered: