A nice addition on updating bundles would be 1. To detect customizations, and if there are none, not to mention the possibility 2. To override (delete) any customizations
I often know that any customization in a bundle would have been made in error, so would like to know i havn't done that (no false alarms) and be given the opportunity to undo the damage (override user changes)
cheers, tim
On 20 Nov 2008, at 3:46 PM, Hans-Jörg Bibiko wrote:
Hi,
there is a new “GetBundles” release available.
svn checkout:
export LC_CTYPE=en_US.UTF-8 mkdir -p ~/Library/Application\ Support/TextMate/Bundles cd ~/Library/Application\ Support/TextMate/Bundles svn co http://svn.textmate.org/trunk/Review/Bundles/ GetBundles.tmbundle osascript -e 'tell app "TextMate" to reload bundles'
svn update: export LC_CTYPE=en_US.UTF-8 cd '~/Library/Application Support/TextMate/Bundles/ GetBundles.tmbundle' svn up osascript -e 'tell app "TextMate" to reload bundles'
or simply: http://email.eva.mpg.de/~bibiko/downloads/textmate/GetBundles.tmbundle.zip
“GetBundles” runs on MacOSX 10.4.x and MacOSX 10.5.x ppc/intel.
“GetBundles” is rewritten entirely. Here are the four main changes:
• it uses a cache file from textmate.org which will be generated by a script that runs once a day on textmate.org to collect available data from TM's svn repositories, from github.com, and includes private hosted bundles (Cache File lists 346 bundles. Last modified date: Thu Nov 20 11:00:03 UTC 2008)
• the installation of a bundle will be done by TextMate (the same procedure when you double-click at a tmbundle in Finder)
• it updates TextMate's “Support Folder” automatically –if needed– before it installs a bundle
- this update of TextMate's “Support Folder” will be always stored
in ~/Library/Application Support/TextMate/Pristine Copy/Support
- if there is no /Library/Application Support/TextMate/Support folder
it will create a symbolic link to Pristine's one
this means:
- if you has already checked out TextMate's “Support Folder” TM
will use this one regardless of “GetBundles'” update
- this makes it possible that an user can use its own “Support
Folder” and s/he is responsible for its update
- if you like to use Pristine's “Support Folder” simply rename or
delete /Library/Application Support/TextMate/Support and update it by using “GetBundles'” > Gear Menu > Update “Support Folder”
• “GetBundles” now displays the status (installed, there's an update available etc.) of locally installed bundles
All activities, warnings, and errors are written into “GetBundles'” Log file. You can open it by pressing ⌥⇧⌘L or “Gear Menu” > Show Log.
The help file was updated but is still under constructions.
Furthermore you cannot update a bundle if this bundle is under revision control (svn/git). You can delete/rename that bundle and use “GetBundles” to reinstall it, or use svn/git (the “Info Window” of a bundle shows the shell command(s)).
The underlying script is rather complex thus “GetBundles” needs your help to fix problems, bugs, insufficiencies, speed, update status, including the GUI design (Leopard and Tiger uses different GUIs) and misspelled or wrong English messages etc.
I'd be appreciate to get any kind of feedback in order to improve it further.
Kind regards,
--Hans
PS If you know more TextMate bundles hosted on private sites which are worth to be listed in “GetBundles” please mail me the URL. I'll then maintain the server file for private hosted bundles.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate