Closed smartsammler closed 1 year ago
Hello,
The important part is that the zip contains a folder. We don't care about its name, it doesn't have to end in .eln either. Yes, unzipping it will overwrite a folder of the same name, but it's okay, that's unevitable afaik.
Feel free to propose a PR if you think the spec formulation can be improved upon!
We could maybe just change the formulation/example slightly to recommend using the base name of the ELN file without the extension?
I read the specification like it says that the
eln
file and the content of file should have the same nameHowever, to my knowledge, that would not work as unzipping the eln file would overwrite the currently unzipped file by a directory of the same name. The examples are hence also not confirming to my interpretation of the text, but either have a completely different name (ok, because of should and not must) or the eln/zip file contains a directory without the
.eln
extension in its name (collections-example.eln
->collections-example/
).I would be pleased if either a formulation could be found that cannot be interpreted like I did or if the examples provided in this git repository would show the described behaviour and a description on how to generate and extract such zip files that are named exactly as their content.