Skip to content

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

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
sethladd opened this issue Nov 12, 2014 · 4 comments
Closed

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

sethladd opened this issue Nov 12, 2014 · 4 comments
Labels
P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@sethladd
Copy link
Contributor

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

@sethladd
Copy link
Contributor Author

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!

@nex3
Copy link
Member

nex3 commented Nov 12, 2014

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".

@sethladd
Copy link
Contributor Author

sgtm

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#1192.

@DartBot DartBot closed this as completed Jun 5, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

4 participants