-
Notifications
You must be signed in to change notification settings - Fork 18
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
iecodebook: data signature .txt
file is a binary
#250
Comments
Thanks for flagging, but I don't think this is a bug -- this is the intended functionality and I am aware of this behavior. The If you agree, close issue; otherwise, my suggestion would be to produce it with the |
What would you want to add beyond the helpfile description here and the write-up in the SJ paper that were just accepted? We have just finished a very long review process for this feature set, so I am a bit confused why this is coming up now 😅
|
One never knows when a bug appears. I do not think this is major bug (as in requiring a new release), but it should be addressed. My 2 cent is this multi-staged rocket.
But since |
The file extension is the text after the last But since this is just text that is a part of a file name then a language can make use of "double extensions". If you end your file names in Spark with |
How does git treat files without an extension? I would rather do that if it works -- Stata does not seem to care about the extension here, but I don't think the `datasignature confirm` command will work if we don't use its exact output.
Best,
Benjamin Daniels (he/him)
…On Feb 7, 2023 at 03:56 -0500, Kristoffer Bjärkefur ***@***.***>, wrote:
> (edit: or .sig.txt, although I don't know how "double" extensions work on other OS)
The file extension is the text after the last .. So file kristoffer.luiza.txt.ben has the file extension .ben. This does not change if the file is binary or raw text or anything. It just tells the computer it should be the file type .ben but it says nothing about what .ben is or should be.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Git can handle all files. Git ignore is just a string match (a simple version of regex or something) on the file name. So to ignore any file with extension No extension does not tell the computer anything about what the file is or should be. So that is almost as bad as the wrong extension in my mind. What is your reason to not use |
My concern is that people will not have gitignore correctly configured if they use an allowlist approach like we recommend, since dtasig would need a new file extension. The purpose of this functionality is to sync this description of the data over git instead of the data itself. If that requires editing gitignore to work, then I worry the functionality will be lost for many users. That's all! I am not very concerned about what the computer thinks in this case, because the OS and user should never interact with this file -- it is only meant to be touched by Stata once synced.
Best,
Benjamin Daniels (he/him)
…On Feb 7, 2023 at 10:22 -0500, Kristoffer Bjärkefur ***@***.***>, wrote:
Git can handle all files. Git ignore is just a string match (a simple version of regex or something) on the file name. So to ignore any file with extension .txt you do *.txt, and to ignore a file without extension you do * but that is not great as it ignore any files with a name.
No extension does not tell the computer anything about what the file is or should be. So that is almost as bad as the wrong extension in my mind.
What is your opposition to using .dtasig?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Anyone not using a gitignore file will not ignore it. Most templates do not use allowlists so it would not ignore it. We can update our template that use allowlists to allow it (will only apply to new repos tho). I think that is the proper long term solution. And whatever we save from not doing the proper long term solution I do not justify relying on a file without file extension. That is bad for the computer, but a file without extension also looks like a corrupted file to a human. You can deduct my preference, but you are lead author so it is up to you. |
I am all for updating the gitignore. We will always have to add new things to it anyway, it's not a static file. If I see a Agreed that this does not warrant a new release right now, we can add it to the next one, whenever it comes. The help file is consistent with using |
I prefer this most, but as I mentioned I am also happy to, for example, use |
Maybe this is intentional, but in that case, it should not have a .
txt
file format.The text was updated successfully, but these errors were encountered: