Related to my other question: http://textmate.1073791.n5.nabble.com/Bundle-editor-does-not-update-name-com...
Formerly I tried to sync my bundles via a symlinks to a Dropbox location, but that was not reliable causing FSEvents to not always work. Wouldn't it be nice that TextMate, when in a bundle a .git folder with remote is present, makes automatically a git pull when there are changes in the remote. In the same way it is done for the build in bundles! So you can sync/update your (private / non build in) bundles in a proper way.
Regards, Feek
-- View this message in context: http://textmate.1073791.n5.nabble.com/Suggestion-git-pull-for-private-person... Sent from the textmate users mailing list archive at Nabble.com.
On 16 February 2016 at 07:18, feek feekdiv@gmail.com wrote:
Formerly I tried to sync my bundles via a symlinks to a Dropbox location, but that was not reliable causing FSEvents to not always work. Wouldn't it be nice that TextMate, when in a bundle a .git folder with remote is present, makes automatically a git pull when there are changes in the remote. In the same way it is done for the build in bundles! So you can sync/update your (private / non build in) bundles in a proper way.
Some (most actually) non-official bundles I use are are ones I develop (or plan to). Having anything automatically pull those at a bad time could leave them broken.
I use myrepos[1] (formerly mr) to keep my bundles in sync. It makes the process painless while leaving me in control.
Cheers, Martin
Am 16.02.16 um 10:12 schrieb Martin Kühl:
On 16 February 2016 at 07:18, feek feekdiv@gmail.com wrote:
Formerly I tried to sync my bundles via a symlinks to a Dropbox location, but that was not reliable causing FSEvents to not always work. Wouldn't it be nice that TextMate, when in a bundle a .git folder with remote is present, makes automatically a git pull when there are changes in the remote. In the same way it is done for the build in bundles! So you can sync/update your (private / non build in) bundles in a proper way.
Some (most actually) non-official bundles I use are are ones I develop (or plan to). Having anything automatically pull those at a bad time could leave them broken.
I use myrepos[1] (formerly mr) to keep my bundles in sync. It makes the process painless while leaving me in control.
I'm keeping my `~/Library/Application Support/Avian/Bundles` directory in a single Git repo, using submodules for bundles where I want to be able to contribute pull requests:
https://github.com/die-antwort/textmate-bundles
Works quite well, especially for keeping the setup in sync between several machines. However, I have to manually update the submodulized bundles from time to time to get the latest changes from upstream (TextMate’s auto update of course doesn't work for complete bundles in `~/Library/Applicaiton Support/Avian/Bundles`).
Cheers, S.
Hi Stefan and Martin,
Thnx for your reply!
I will definitely look into the given suggestions.
For now I've created a command snippet (per bundle) that performs a pull and shows the result in a nicely lay-out HTML output window :)
Regards, Feek
Code for command:
-- View this message in context: http://textmate.1073791.n5.nabble.com/Suggestion-git-pull-for-private-person... Sent from the textmate users mailing list archive at Nabble.com.
On 16 Feb 2016, at 13:18, feek wrote:
Wouldn't it be nice that TextMate, when in a bundle a .git folder with remote is present, makes automatically a git pull when there are changes in the remote.
Such functionality does not need to be built into TextMate.
You can create a script to update your bundles and run it via launchd (Apple’s cron replacement).
Seems this is more flexible, since people might use other systems than git, and also, the exact policy can be determined by you, as I am not sure always pulling in remote changes (and merging?) is desired.