I recently found that if the ID of a locally created custom plugin (not intended for publication) happens to match an ID of a published community plugin, then the local plugin is “updated” i.e. overwritten with this community plugin on plugins update.
To me, this was unexpected, as my plugin’s manifest contains no external URLs.
OK, this is not technically a bug, as the plugin dev guide says in Step 4: “Change id to a unique identifier, such as "hello-world".” and the ID is not unique here. However, this behavior presupposes the global uniqueness of IDs while they are not GUIDs. And the consequence is an irreversible file overwrite.
This problem could be solved with a naming convention, but such a convetion should be established somehow. E.g. what if plugins with IDs starting with ‘local:’ would not be allowed to be published, but would not require to have a globally unique name?
I do not pretend my proposed solution is the best. Maybe, a better solution is possible. But the problem exists, nevertheless.