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

Intent System #9

Closed
ChristianMurphy opened this issue Aug 21, 2015 · 0 comments
Closed

Intent System #9

ChristianMurphy opened this issue Aug 21, 2015 · 0 comments

Comments

@ChristianMurphy
Copy link
Owner

This would add an additional layer of abstraction over the current task system.
Allowing a recipe to register an intent, and server plugins could offer the service.
For example a 'Repository' intent could be answered by a Github, Bitbucket or Gitlab plugin.

Currently the abstraction is

  • Recipe - High Level Actions or Groups of Actions
  • Resource - Abstraction over a local or remote service

New abstraction would likely look like

  • Recipe - Flow control between tasks
  • Tasks/Activities - High level actions, such as 'add users to repo'
  • Resource - Abstraction over a local or remote service

This would be a platform change to attempt to simplify and future proof the code.

Challenges
This would bring back the challenge that brought me to the Resource/Recipe pattern in the first place.
How would independent plugins register requirement or mutual exclusivity?
While maintaining loose coupling?

For example Github issues requires a Github repo.
And Github issues are mutually exclusive to a Bucket repo.

Related to #5

ref https://developer.android.com/guide/components/intents-filters.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant