micro icon indicating copy to clipboard operation
micro copied to clipboard

Plugin dir name clarification

Open AndrewDDavis opened this issue 10 months ago • 3 comments

Micro rejects the plugin if the dir-name does not match the regex ^[_A-Za-z0-9]+$.

AndrewDDavis avatar Jan 31 '25 17:01 AndrewDDavis

That is not true. All my plugin directories use -.

Micro requires the name in the repo.json file to comply with ^[_A-Za-z0-9]+$.

Try it, and it should work for you.

usfbih8u avatar Jan 31 '25 23:01 usfbih8u

That is not true. All my plugin directories use -.

Micro requires the name in the repo.json file to comply with ^[_A-Za-z0-9]+$.

That's right, but the directory name has to match the pattern only when the plugin does not contain repo.json. I think the explanation could be changed to state which name is checked, and the file not being practically required if the plugin isn't published.

I think this issue could be addressed and closed with this pull request too: #3553

niten94 avatar Feb 01 '25 01:02 niten94

You are right. I spoke from memory; I should have checked.

usfbih8u avatar Feb 01 '25 03:02 usfbih8u