With gnome-shell there is https://extensions.gnome.org where a developer could easily submit and distribute an self written gnome-shell extension.
What's the preferred way with a self written Unity Lens? Creating an PPA for a Lens seems more work than uploading the files to a website. On the other hand nobody could find my self written Lens when I'm only create an PPA?!