Skip to content

Add install/uninstall/activate/deactivate hooks to pub #1192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Jun 5, 2015 · 4 comments
Closed

Add install/uninstall/activate/deactivate hooks to pub #1192

DartBot opened this issue Jun 5, 2015 · 4 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="96" height="96"hspace="10"> Issue by sethladd
Originally opened as dart-lang/sdk#21584


To repro:

pub global activate stagehand
mkdir empty
cd empty
stagehand webapp
  (say Y to analytics)
pub global deactivate stagehand

cat ~/.stagehand

Expected: ~/.stagehand file is deleted (or, a notice is sent to stagehand that the package is getting deleted)

Actual: apparently (?) no signal on uninstall

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd


If there's a lifecycle callback that pub is sending, and that stagehand is not listening to, please let us know and then close this issue. :) Thanks for taking a look!

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Pub doesn't currently support any package hooks of any kind, but we may in the future. I'm retargeting this issue to that.


Removed Priority-Unassigned, Pub-Global labels.
Added Priority-Low label.
Changed the title to: "Add install/uninstall/activate/deactivate hooks to pub".

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd


sgtm

@DartBot DartBot added type-enhancement A request for a change that isn't a bug Priority-Low labels Jun 5, 2015
@nex3 nex3 marked this as a duplicate of #1674 Jul 26, 2017
@matanlurey matanlurey added the closed-not-planned Closed as we don't intend to take action on the reported issue label Mar 24, 2018
@matanlurey
Copy link
Contributor

We are no longer supporting transformers or pub serve/build going forward (this tooling has moved elsewhere into the https://github.com/dart-lang/build repository and https://github.com/dart-lang/webdev CLI) so a fix for this is not planned.

We'll be updating the tooling section of the Dart website in the coming weeks with more formal documentation on how to get started.

@sigurdm sigurdm added P3 A lower priority bug or feature request and removed low priority labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants