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

Abstract task-syncing interface (or: refactor the things) #33

Open
wizonesolutions opened this issue May 9, 2013 · 2 comments
Open

Comments

@wizonesolutions
Copy link
Owner

Before integrating more task managers, I need to abstract out the task-syncing logic a bit. Unless someone helps me, I'm not going to go as far as to try and be cool and make a plugin interface or something.

More like just putting the RTM stuff in its own class and maybe having a superclass with some common functions (probably not in v1).

Probably need a config file that sets the default todo-syncing service as well. And a more unified file that tracks state per service (rather than the current set of scattered files).

@wizonesolutions
Copy link
Owner Author

Step 1: nconf. However, the sync services should be an array because there could be several.

@wizonesolutions
Copy link
Owner Author

Also need to add a --setup flag for first-time authentication to the different services. I shouldn't do this on normal runs anymore because it will interfere with the asynchronous behavior.

wizonesolutions added a commit that referenced this issue May 14, 2013
wizonesolutions added a commit that referenced this issue May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant