cjlucas Posted March 27, 2013 Share Posted March 27, 2013 (edited) Quickly access your Tower git repositories I finally got around to checking out Alfred today, and I was so blown away by the workflows feature that I decided to write one. Github: https://github.com/cjlucas/tower-alfred-workflow The latest packaged workflow can be found here. I will be checking for bug reports here as well as on Github. It'll be easier to diagnose bugs if I have your Tower bookmark's file as well (it can be found here: ~/Library/Application Support/Tower/Bookmarks.plist). If you'd prefer to not have it posted in public, you can send me a message on here or on Github. Edited March 27, 2013 by cjlucas R4z3r, phyllisstein, uxjw and 2 others 5 Link to comment
lmartins Posted March 27, 2013 Share Posted March 27, 2013 Really nice, and quite fast too. Thanks. Link to comment
cjlucas Posted March 28, 2013 Author Share Posted March 28, 2013 Updated to v1.1 (March 27, 2013) improvement: sort bookmarks as they're sorted in Tower.app improvement: search repository paths in addition to bookmark names I'll take suggestions if anyone has any. Link to comment
mwaterfall Posted March 29, 2013 Share Posted March 29, 2013 Great workflow! Any chance you could support updating via the Alleyoop workflow? Link to comment
cjlucas Posted March 29, 2013 Author Share Posted March 29, 2013 That'd certainly be handy, it'll be included in v1.2. Link to comment
cjlucas Posted March 30, 2013 Author Share Posted March 30, 2013 v1.2 (March 29, 2013) alleyoop support speed improvements Link to comment
michaelwills Posted April 18, 2013 Share Posted April 18, 2013 How did I miss this! I have used the SourceTree one but I primarily use Tower. So I asked the Tower folks if there was an interest/opportunity for someone to put this together and they sent me here. Good stuff! And very fast. Nice work! Link to comment
cjlucas Posted May 16, 2014 Author Share Posted May 16, 2014 v1.3 (May 16, 2014) - Added support for finding Tower.app in subdirectories of /Applications Link to comment
cjlucas Posted July 22, 2014 Author Share Posted July 22, 2014 v2.0 (July 22, 2014) - Added support for Tower 2 - Removed support for Tower 1 Link to comment
michaelwills Posted July 23, 2014 Share Posted July 23, 2014 Hey there @cjlucas. Thanks for making this. I used it quite a bit with v1. V2 has updated and moved some things around even though the original plist is available still. I see "~/Library/Application Support/com.fournova.Tower2/bookmarks.plist" but haven't had time to go through and update how tower.py searches it. The database is also there: "~/Library/Application Support/Tower/UserRepositories.sqlite3". I won't have any time real soon but if I do get to it I'll submit a pull request on your github repo. Link to comment
cjlucas Posted July 23, 2014 Author Share Posted July 23, 2014 Shame on me for rushing that fix out. I've re-released 2.0 with support for the new plist format. Everything should be good now. Though it is strange that Tower 2 now uses Core Data, but is still supporting bookmarks.plist. Let me know if there are any issues. Link to comment
michaelwills Posted July 23, 2014 Share Posted July 23, 2014 Will do. They are very responsive and may answer that. In fact I first saw a workflow like this for SourceTree which I also use but I prefer Tower. And much more so now with v2. * disclaimer: I don't work for Tower but I have submitted many reports. When I asked about searching repos like that for Tower they pointed me here. The only changes I made besides making the keyword shorter, like you did for your v2, was to add CMD to browse in Alfred, SHIFT to reveal in Finder, ALT to open in Terminal, and CTRL to open in Sublime. Very helpful. Link to comment
michaelwills Posted July 23, 2014 Share Posted July 23, 2014 Just created a couple pull requests. Thanks again for putting this together. Link to comment
cjlucas Posted July 27, 2014 Author Share Posted July 27, 2014 I updated to Tower 2.0.1, and it seems like bookmarks.plist doesn't seem to be updating anymore. Is anyone else having this issue? Link to comment
michaelwills Posted July 27, 2014 Share Posted July 27, 2014 Creating a repo will not show it immediately within Alfred App as I believe it updates after a restart Link to comment
cjlucas Posted July 27, 2014 Author Share Posted July 27, 2014 (edited) I've tried restarting as well, no luck. I Even wiped out the folder in Application Support to start from scratch. The plist isn't even being created anymore. Edited July 27, 2014 by cjlucas Link to comment
michaelwills Posted July 27, 2014 Share Posted July 27, 2014 Were you checking this file? ~/Library/Application Support/com.fournova.Tower2/bookmarks.plist Link to comment
michaelwills Posted July 27, 2014 Share Posted July 27, 2014 Hmm are you on build 238? Link to comment
michaelwills Posted July 28, 2014 Share Posted July 28, 2014 Just pulled a new repo. Anything in Alfred's debug log for you? Link to comment
cjlucas Posted July 28, 2014 Author Share Posted July 28, 2014 (edited) I don't have anything to test with since I didn't make a backup of my bookmarks. Is something broken? And ya, I'm on the latest public build. Edited July 28, 2014 by cjlucas Link to comment
michaelwills Posted July 28, 2014 Share Posted July 28, 2014 It's working as expected for me. Link to comment
cjlucas Posted August 10, 2014 Author Share Posted August 10, 2014 - v2.1 (August 10, 2014) - Folder support Link to comment
michaelwills Posted August 11, 2014 Share Posted August 11, 2014 Thanks for the update! Was their a specific reason you went to ruby instead? Just curious. Perhaps the fuzzy search capability? Link to comment
cjlucas Posted August 11, 2014 Author Share Posted August 11, 2014 Nothing was really gained by switching (though it might be slightly faster). The Alfred helper library I was using had bugs I didn't want to deal with anymore. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now