This may have gotten lost in the last thread, but with the new ~/Library/Application Support/TextMate/Pristine Copy/Bundles folder, where is the best place to check out the bundles/themes/plugins from http://macromates.com/svn/Bundles/trunk ?
The directions say to check them out to /Library/Application Support/Textmate, but the release notes (and Allan's previous email), said the place for new bundles is the "Pristine Copy" folder. Is that folder just for bundles? What about the rest of the items that are currently in /Library/Application Support.... ?
(now I do:
cd /Library/Application Support/Textmate svn up
to update. Should I move that TextMate folder into.. um... ?? and svn up there?)
Thanks!
John
On 2006-05-25 02:35:35 -0400, John Tsombakos wrote:
This may have gotten lost in the last thread, but with the new ~/Library/Application Support/TextMate/Pristine Copy/Bundles folder, where is the best place to check out the bundles/themes/plugins from http://macromates.com/svn/Bundles/trunk ?
The directions say to check them out to /Library/Application Support/Textmate, but the release notes (and Allan's previous email), said the place for new bundles is the "Pristine Copy" folder. Is that folder just for bundles? What about the rest of the items that are currently in /Library/Application Support.... ?
This is a good question. I'm trying to figure out how to do this at work where my home account is network mounted and I don't have admin access to any of the Macs. For that matter I don't currently have a Mac on my desk (I know, I know, life sucks but one makes due) so when I am using one it might be any one of a number of machines.
I'm currently trying to see if I can make a ~/Library/Application Support/TextMate-SVN that I'll keep up to date and just soft-link the parts I need back into my ~/Library/Application Support/TextMate, specifically the Pristine Copy directory. Does that work for anything other than Bundles right now?
Dan
On 5/25/06, Dan Weeks textmate@danimal.org wrote:
This is a good question. I'm trying to figure out how to do this at work where my home account is network mounted and I don't have admin access to any of the Macs. For that matter I don't currently have a Mac on my desk (I know, I know, life sucks but one makes due) so when I am using one it might be any one of a number of machines.
I'm currently trying to see if I can make a ~/Library/Application Support/TextMate-SVN that I'll keep up to date and just soft-link the parts I need back into my ~/Library/Application Support/TextMate, specifically the Pristine Copy directory. Does that work for anything other than Bundles right now?
Dan
Yeah.
I had created my own bundle that had some of my own commands (a modified HTML Tidy command that included the option to clean up MS Word files). I previously had the checked out folders under ~/Library/Application Support.... but I moved it to /Library, per Allan's direction. I moved my "JT" bundle to the desktop, then double clicked it to install it. That put it into the (newly created) "Pristine Copy" folder. Now, if I did a checkout there, I'm right back to what I had before, basically.
John
John,
On 5/25/06, John Tsombakos tsom467@gmail.com wrote:
I had created my own bundle that had some of my own commands (a
modified HTML Tidy command that included the option to clean up MS Word files).
I have been trying to do this, would you be willing to share?
On 5/26/06, David Clark david.clark@umb.edu wrote:
John,
I have been trying to do this, would you be willing to share?
Didn't realize this didn't go to the list.
My bundle is at:
http://tsom.homelinux.com/jt.zip
and a followup question:
Just a followup... There's more I'd like this to do, I just haven't gotten around to it. I'd like to be able to search and remove the stupid, useless <o:p></o:p> tags that are left over. Just have to figure out how to take the output of the tidy command then do a text replace on it (Ruby gsub?)
thanks, jt
On 26/5/2006, at 23:57, John Tsombakos wrote:
[...] I'd like to be able to search and remove the stupid, useless <o:p></o:p> tags that are left over. Just have to figure out how to take the output of the tidy command then do a text replace on it (Ruby gsub?)
Change the last line (which already contains ‘fi’) to:
fi|perl -pe 's/<o:p></o:p>//g'
I think that should do it.
On 5/27/06, Allan Odgaard throw-away-1@macromates.com wrote:
Change the last line (which already contains 'fi') to:
fi|perl -pe 's/<o:p><\/o:p>//g'
I think that should do it.
That sure did.. thanks!
jt
On 25/5/2006, at 8:35, John Tsombakos wrote:
The directions say to check them out to /Library/Application Support/Textmate, but the release notes (and Allan's previous email), said the place for new bundles is the "Pristine Copy" folder. Is that folder just for bundles? What about the rest of the items that are currently in /Library/Application Support.... ?
Currently Pristine Copy is only for bundles. So keep the checkout in / Library.
The only difference with Pristine Copy is that this folder is always writable by the current user, meaning that TextMate itself can install in that folder w/o worrying about admin privileges. So the appearance of this folder is not related to svn checkouts.
In fact, even when themes and plug-ins will be taken from Pristine Copy, it may still be advantageous to keep the svn checkout in / Library, as there are really three “types” of bundles:
custom bundles -> ~/Library/Application Support/TextMate/Bundles
subversion bundles -> /Library/Application Support/TextMate/Bundles
other 3rd party bundles -> ~/Library/Application Support/TextMate/Pristine Copy/Bundles
The latter category would be anything you double-click (to install), e.g. bundles (and bundle items) sent to this list. There is probably some value in keeping bundles from svn separate from other 3rd party bundles.
On 5/25/06, Allan Odgaard throw-away-1@macromates.com wrote:
Currently Pristine Copy is only for bundles. So keep the checkout in / Library.
...
Sweet, thanks! Answers my questions :)
jt
custom bundles -> ~/Library/Application Support/TextMate/Bundles
subversion bundles -> /Library/Application Support/TextMate/Bundles
other 3rd party bundles -> ~/Library/Application Support/TextMate/Pristine Copy/Bundles
If we are developing a bundle that is also in subversion, would we not have to copy the entire bundle to ~/Library/Application Support/ TextMate/bundles and work on it from there? Otherwise we would end up with only the delta there, correct?
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com
On 26/5/2006, at 0:13, Aparajita Fishman wrote:
If we are developing a bundle that is also in subversion, would we not have to copy the entire bundle to ~/Library/Application Support/ TextMate/bundles and work on it from there? Otherwise we would end up with only the delta there, correct?
Yes -- personally I have my checkout in ~/Library, and I think that is the easiest solution for bundle developers in general. An alternative is to just symlink the particular bundle you develop (from ~/Library -> /Library), or only checkout the single bundle to ~/ Library.