dwyl / dart_cid

โ„๏ธ dart-lang implementation of cid ("content id") = human-friendly (readable/typeable) unique ID for distributed/decentralised systems
GNU General Public License v2.0
11 stars 0 forks source link

Re-publish package as `cid` instead of `dart_cid` ? #10

Closed nelsonic closed 12 months ago

nelsonic commented 1 year ago

At present this package is published as dart_cid: https://pub.dev/packages/dart_cid

image

Meanwhile the cid package name is still available: https://pub.dev/packages/cid

image

why didn't we just use that in the first place? ๐Ÿคทโ€โ™‚๏ธ if the cid name was "taken" I would understand including "dart" in the name, but it doesn't make much sense to me to have it there if nobody else is using cid ... ๐Ÿ™ƒ

LuchoTurtle commented 1 year ago

Unfortunately you can't delete/republish a package under a different name (https://stackoverflow.com/questions/17893867/how-to-rename-and-or-remove-a-pub-package).

Would it make sense to publish it as dart and make cid_dart point to cid, as suggested in the link above?

nelsonic commented 1 year ago

Sorry, Wasn't suggesting deleting the existing one. Just publishing the cid package as thereโ€™s no reason to have โ€œdartโ€ in the package name. ๐Ÿคž๐Ÿผ

LuchoTurtle commented 1 year ago

While trying to publish the package as cid, I was prompted with this error.

Validating package... 
Publishing is forever; packages cannot be unpublished.
Policy details are available at https://pub.dev/policy

Do you want to publish cid 1.0.0 to https://pub.dev (y/N)? y
Uploading... (1.6s)
Package name `cid` is too similar to another active package: `ads` (https://pub.dev/packages/ads).

:|

Going to file an e-mail request, as per https://github.com/dart-lang/pub-dev/issues/4045. Cc'd y'all in it.

nelsonic commented 1 year ago

Good luck.๐Ÿคž๐Ÿผ