-
Notifications
You must be signed in to change notification settings - Fork 40
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
Extensive additions and refactoring #15
Conversation
1) Put all Tickets I’m watching in OmniFocus instead of just the ones that were assigned to me 2) Flag the tasks if the ticket is assigned to me; unplug it if it isn’t 3) Set context based on who submitted the ticket
use of keychain doesn’t work under cron, so we’re doing it the right way now.
Also don’t bomb out if assignee is blank
whoops, lost the duedate field
instead of puts to report information.
unmark it in OF
…further refactoring
…bal variable. Use opts variable directly instead of pulling out into separate variables.
There are some changes I would love to merge in (launchd instead of cron, keychain instead of plaintext password, etc...). However the custom field parent task stuff, and the reporter->context name thing, growl dependency, etc.. are all essentially breaking changes for my use case. I'm also not convinced that the jira-ruby module is the way to go as it seems to have a lot of open issues and very little active development/support, where as the simple http/json stuff is easily maintained by me. I'm pretty new to github, so I'm not sure what the best way to handle this PR is... Thoughts? |
I'm also new to github, sorry to say. Between us maybe we can figure it out. I did a lot of refactoring to get where I am, so it's not obvious just how to get to where both of us would be happy with the code. I'm thinking that working on my branch to make some of the new dependencies (growl, for example) optional so that it can handle your use case again might be easier than figuring out how to apply the pieces of mine that you like against your code since some of the refactoring was in order to get them to work easily. (some, like launchd, will be easy, others much less so.) FWIW, I'm also fairly new at ruby, but after N decades of coding, I have a habit of deep diving into new technologies to figure out what's considered the "right" way to do things with my new technologies. |
Maybe it makes sense to you keep your fork, for your use case, and if it's okay with you, I will work on manually merging in the commonly desired changes. It leaves your fork a little bit detached, but might be easiest path forward... |
Fine with me.
Have fun merging.
|
Haha I am:) Quick question, did you have any issues getting the Keychain stuff working? I'm getting nil back instead of a usable keychain item. No errors. |
At the moment, it won’t call growl at all. Future patch will enable growl if it’s installed, but at the moment, it’s Notification Center only.
Manual feature merging has been done. I have been unable to get keychain support working correctly, but the rest of it is functioning as expected. Closing this PR. |
My version has moved on slightly since then. I had to use a loaner mac for a short while and that gave me the opportunity to try it w/o the environment fully configured.
Chris On Nov 16, 2015, at 1:49 PM, Devon Hillard <[email protected]mailto:[email protected]> wrote: Manual feature merging has been done. I have been unable to get keychain support working correctly, but the rest of it is functioning as expected. Closing this PR. — |
Chris, Great! The new error message totally sorted things out for me. Manually merged. All good! |
Excellent. I’m still not clear why mine was already configured on the other system, but now we know how to make it work for anybody. When I’ve got time I’ll see if I can get your version and mine closer to each other. I’d like to get to identical code bases at some point. On Nov 19, 2015, at 6:18 PM, Devon Hillard <[email protected]mailto:[email protected]> wrote: Chris, Great! The new error message totally sorted things out for me. Manually merged. All good! — |
I have made considerable changes to the code including extensive refactoring. Suggest you look at my README file to see if you want my changes.