View Single Post
Old 27th October 2019, 13:23   #144  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
What is the correct/preferred way again for package file names?

Code:
1# MyMoDulE.json <=> MyMoDulE.py
2# mymodule.json <=> MyMoDulE.py
Most script packages follows 1# but some also 2#.
I would like to correct the script packages to 1#

I noticed it because VSRepoGUI shows a link to every git package and some are not working bcs it is assumed that Module Name = File Name. Otherwise I don't know how to direct link as the url is case sensitive.
Simple rules:
For plugins it's always the namespace which is lowercase.
For scripts it's generally the lowercased main script filename. In case of collisions with a plugin name you append _script.

Maybe I accidentally merged something that doesn't follow this pattern in which case you're welcome to fix it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote