hrishikesh-19 / splashgainMoodle

0 stars 0 forks source link

incorrect git repository structure and name. #2

Open danmarsden opened 1 year ago

danmarsden commented 1 year ago

Structure: The code should sit in the root of your github repo - not within an "lmsexport" folder - that way sites can use git submodules or subtree to install your plugin into their sites.

Repository name: Your repository name should use the standard frankenstyle Moodle naming convention which makes it easy for moodle admins to identify your plugin.

the correct format to use is moodle-{frankenstylepluginname} eg if your plugin was "mod_attendance" the correct name to use would be: "moodle-mod_attendance"

Github maintains redirects from your old name to the new one which makes this very easy - just hit the "settings" tab on your github repository and the rename repository option should appear near the top.