pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

package:flutter on pub.dev should probably be discontinued

Open jonasfj opened this issue 3 years ago • 7 comments

A long long time ago I think flutter was a package on pub.dev, now it's distributed as an SDK, we should probably mark it as discontinued: https://pub.dev/api/packages/flutter

jonasfj avatar Sep 19 '22 11:09 jonasfj

Also the package page is redirecting to the flutter documentation. This is kind'a confusing - I would prefer to get an explanation that you should no longer use this package.

sigurdm avatar Sep 22 '22 09:09 sigurdm

I have marked it discontinued.

sigurdm avatar Sep 27 '22 10:09 sigurdm

The redirect was made in response to https://github.com/dart-lang/pub-dev/issues/986 .

I think the redirect is obsolete now. @mit-mit what do you think?

Should we also transfer it to the flutter.dev publisher and publish a release with a readme explaining that this package should no longer be used?

sigurdm avatar Sep 27 '22 10:09 sigurdm

We redirect the package page for other packages as well: https://github.com/dart-lang/pub-dev/blob/master/app/lib/package/overrides.dart#L45-L57

What should happen with them?

isoos avatar Oct 18 '22 08:10 isoos

In my opinion they should all have the same treatment:

  • mark them discontinued
  • upload a version explaining that users should use the package from the sdk
  • remove the redirect

sigurdm avatar Oct 18 '22 11:10 sigurdm

sgtm

mit-mit avatar Oct 24 '22 12:10 mit-mit

The cleanup is still relevant - we still have these redirects

sigurdm avatar Nov 27 '25 10:11 sigurdm