Skip to content
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

Could there be a csvz *folder* without zip? #15

Open
doekman opened this issue Sep 11, 2020 · 3 comments
Open

Could there be a csvz *folder* without zip? #15

doekman opened this issue Sep 11, 2020 · 3 comments

Comments

@doekman
Copy link

doekman commented Sep 11, 2020

When you unzip a csvz file, you end up with a folder with csv-files.

Can this be considered a csvz-container?
I think it could be useful. For example, when putting datafiles into git.

To differentiate a csvz-container from a folder containing some csv files, I propose such a folder to have the .csvd extension. So if you extract the my_data.csvz file, you get the my_data.csvd folder.

The folder could have the same extension (thus not introducing a new extension). The disadvantage is you can't extract an .csvz file into the same folder without deleting/moving the original file.

Tools are not expected to open these .csvd-folders directly. It's only to denote that when zipped, it's automatically a .csvz file.

@secretGeek
Copy link
Owner

secretGeek commented Sep 11, 2020

Yes definitely. Folder that complies with all the other spec fragments but just happens to not
comply with csvz-0 is still a csvz. (It just doesn’t comply with that one fragment, csvz-0)

--Most-- (note doeke corrects this in next comment, it should say "some" not "most") tools in this space would probably only deal with unpacked csvz files (ie folders full of files... not zips) and would leave the packing or unpacking up to a special tool (ie a compression tool). This is what I thought after asking about tar, gzip and just generally thinking about the Unix way.

@secretGeek
Copy link
Owner

Todo: make this clear in the spec. Then this one can be closed.

@doekman
Copy link
Author

doekman commented Sep 11, 2020

One note: I think most tool will unzip to memory, that's how docx work. It's quicker: disk reads are slower than unzipping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants