TW-Gatha icon indicating copy to clipboard operation
TW-Gatha copied to clipboard

Possible packaging problem with zip and title case

Open Marxsal opened this issue 3 years ago • 4 comments

I have a plugin like: $:/plugins/MAS/DynaNotator

When I exported this via zip, all of the tiddler files went into

mas/

But the tiddlywiki.info file went into

MAS/

On Windows these two might have been combined, but on Linux (and Mac, no doubt) they are two separate things.

Gatha 0.9.0

Marxsal avatar Mar 06 '22 20:03 Marxsal

Hi Mark, I investigate to see what is the problem. I am not sure if I used any name conversion (like convert to lowecase or not). I will look in to in this weekend.

kookma avatar Mar 08 '22 04:03 kookma

Many plugins use lowercase only. But I don't know if that is a rule.

Marxsal avatar Mar 08 '22 04:03 Marxsal

Many plugins use lowercase only. But I don't know if that is a rule.

I do not think it is a rule! One question: the tiddler name seems works fine, the created plugin also works fine, but I see you like to have the same folder, file name ( with the same uppercase/lowercase)

kookma avatar Mar 08 '22 07:03 kookma

Hi Mark, I went into the code, the reason is using slugify operator. It converts all uppercase into lower case. So, may be Jeremy can explain what is the reason to use lowercase when slugify!

kookma avatar Mar 08 '22 13:03 kookma