dart-lang / pub-dev

The pub.dev website
https://pub.dev
BSD 3-Clause "New" or "Revised" License
782 stars 147 forks source link

could you support groupId in pubspec.yaml dependencies? #3969

Closed Silentdoer closed 4 years ago

Silentdoer commented 4 years ago

there have many lib not maintain in pub, such as mysql ...

isoos commented 4 years ago

@Silentdoer: could you please explain what the groupId would do in the pubspec.yaml?

Silentdoer commented 4 years ago

@Silentdoer: could you please explain what the groupId would do in the pubspec.yaml?

like java maven's groupId, such as multi people can create same name lib, for example, user1 create mysql lib with com.user1 group, user2 can also create mysql with com.user2, not create mysql1 or mysql_xx, it's not beautiful

isoos commented 4 years ago

We have considered creating namespaces, but for various reasons decided to not implement it, and we have no plans to do it in the near future. It doesn't automatically solve neither the maintenance, nor the recognition of the packages (e.g. who do you trust if there are many xyz/mysql packages, some may be forks, some abandoned). We think that the discovery and trust can be done better by doing analysis and exposing popularity on the package listings and package pages.