Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Discontinue package #704

Merged
merged 4 commits into from
May 27, 2021
Merged

Discontinue package #704

merged 4 commits into from
May 27, 2021

Conversation

mit-mit
Copy link
Contributor

@mit-mit mit-mit commented May 21, 2021

Fixes #671

@google-cla google-cla bot added the cla: yes label May 21, 2021
@mit-mit
Copy link
Contributor Author

mit-mit commented May 21, 2021

cc @devoncarew @domesticmouse not entirely sure how to version this. Should it actually be 5.0.0?

@devoncarew
Copy link
Contributor

cc @devoncarew @domesticmouse not entirely sure how to version this. Should it actually be 5.0.0?

Good question. My guess is that v4.0.0 is that last non-deprecated version that we want people to use, and v5.0.0 is the version where we deprecate? cc @natebosch

@natebosch
Copy link
Contributor

In my opinion deprecating in the current major version is sensible.

I don't know if we have prior experience adding a deprecation warning to a pub global activate tool.

Copy link
Contributor

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@domesticmouse
Copy link
Contributor

From the logs, please run pub run build_runner build to update the stashed version number.

@mit-mit
Copy link
Contributor Author

mit-mit commented May 26, 2021

@domesticmouse yes, will do.

From an offline discussion with @devoncarew, I'm planning on updating this to be say that Stagehand is "Discontinued", not just deprecated. For the tools that are in the SDK, it makes sense to go through a two step process first deprecating then discontinuing, as discontinuing means the tool is no longer in the SDK. For stagehand, it will be on pub.dev marked discontinued, but you can still run the tool.

WDYT?

@mit-mit mit-mit changed the title Add deprecation warning Discontinue package May 26, 2021
@mit-mit
Copy link
Contributor Author

mit-mit commented May 26, 2021

Current build failure seems to also be happening on the master branch:
https://github.com/dart-lang/stagehand/runs/2658002053

@mit-mit
Copy link
Contributor Author

mit-mit commented May 26, 2021

@domesticmouse @devoncarew can you please re-review as this changed substantially?

@domesticmouse
Copy link
Contributor

Still LGTM, no idea why the build is breaking. @kevmoo might have some insights.

@mit-mit
Copy link
Contributor Author

mit-mit commented May 27, 2021

Given the build is already broken on master, I'm going to merge.

@mit-mit mit-mit merged commit 65d4b89 into dart-archive:master May 27, 2021
@mit-mit mit-mit deleted the deprecate branch May 27, 2021 07:20
@mit-mit
Copy link
Contributor Author

mit-mit commented May 27, 2021

@domesticmouse can you please publish? I don't seem to have permissions.

@domesticmouse
Copy link
Contributor

Published

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

Deprecate & discontinue package
4 participants