Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Better plugin system and it's API #12

Closed
keskad opened this issue Nov 24, 2011 · 2 comments
Closed

Better plugin system and it's API #12

keskad opened this issue Nov 24, 2011 · 2 comments

Comments

@keskad
Copy link
Owner

keskad commented Nov 24, 2011

I think i must rewrite plugin system and write a good plugins API.

To do:

  • "Hooking" module
  • Write a layer between Plugins and Subget (something like: Subget.Config.get("subdb", "autosend"), Subget.Plugins.hookup("after-download", self.sendToSubDB))
  • API to automaticaly handle all HTTP execeptions (timeout and errors)
@keskad
Copy link
Owner Author

keskad commented Nov 25, 2011

I made some progress - the class "SubgetPlugin" which is part of API version 2. To use new API version plugin need to declare that it's written using new API ('API': 2)

Using new API i think that the proxy support from Issue #4 (#4) can be easily implemented.

@keskad
Copy link
Owner Author

keskad commented Nov 26, 2011

"Hooking" module - Done
Write a layer between Plugins and Subget (something like: Subget.Config.get("subdb", "autosend"), Subget.Plugins.hookup("after-download", self.sendToSubDB)) - Done
API to automaticaly handle all HTTP execeptions (timeout and errors) - Partialy done

@keskad keskad closed this as completed Nov 26, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant