Skip to content
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

Support hooks for some basic operations #798

Closed
frostming opened this issue Dec 15, 2021 · 0 comments · Fixed by #802
Closed

Support hooks for some basic operations #798

frostming opened this issue Dec 15, 2021 · 0 comments · Fixed by #802
Labels
⭐ enhancement Improvements for existing features

Comments

@frostming
Copy link
Collaborator

frostming commented Dec 15, 2021

Is your feature request related to a problem? Please describe.

This will benefit plug-ins for custom behaviors. #789 could be implemented using this feature

Describe the solution you'd like

Some hooks or signals that come to my mind:

  • post_init (args: project)
  • pre_lock (args: project, requirements set to resolve)
  • post_lock (args: project, resolved candidates map)
  • pre_install (args: project, candidates to install)
  • post_install (args: project, working_set)

To ensure the build is tool-agnostic, we deliberately exclude build hooks

@frostming frostming added the ⭐ enhancement Improvements for existing features label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant