Thierry Goubier has created a git merge driver for FileTree that takes the pain out of manually dealing with moniticello.meta/version files! The driver is written in Smalltalk using Pharo3.0. His (very complete) readme assumes that you've installed Pharo3.0 using the instructions at get.pharo.org.
What's cool is that he arranges to correctly splice the merged version history into the version file, automatically during the merge. I had an issue with the merge driver for a methodProperties file, but just having automatic merges for the version file is great ...
Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
BTW, the issue with the methodProperties file was pilot error ... I fat-fingered the entries in my .gitconfig file ... If you are using FileTree, you need to use Thierry's merge driver.
Dale On Wed, May 7, 2014 at 8:08 AM, Dale Henrichs <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
This looks great indeed.
I added the config file but do I understand correctly that I need to add a .gitattributes file myself to each package? Johan On 07 May 2014, at 17:21, Dale Henrichs <[hidden email]> wrote: > BTW, the issue with the methodProperties file was pilot error ... I fat-fingered the entries in my .gitconfig file ... > > If you are using FileTree, you need to use Thierry's merge driver. > > Dale > > > On Wed, May 7, 2014 at 8:08 AM, Dale Henrichs <[hidden email]> wrote: > Thierry Goubier has created a git merge driver for FileTree that takes the pain out of manually dealing with moniticello.meta/version files! > > The driver is written in Smalltalk using Pharo3.0. His (very complete) readme assumes that you've installed Pharo3.0 using the instructions at get.pharo.org. > > What's cool is that he arranges to correctly splice the merged version history into the version file, automatically during the merge. > > I had an issue with the merge driver for a methodProperties file, but just having automatic merges for the version file is great ... > > Dale > > [1] https://github.com/ThierryGoubier/GitFileTree-MergeDriver > > _______________________________________________ > Glass mailing list > [hidden email] > http://lists.gemtalksystems.com/mailman/listinfo/glass _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Johan, You can put a .gitattributes file in the repository directory that looks like this: *.package/monticello.meta/version merge=mcVersion
*.package/*.class/methodProperties.json merge=mcMethodProperties *.package/*.class/properties.json merge=mcProperties Dale
On Thu, May 8, 2014 at 8:01 AM, Johan Brichau <[hidden email]> wrote: This looks great indeed. _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
aaaahhhh ... :-)
thanks Dale! Johan On 08 May 2014, at 17:10, Dale Henrichs <[hidden email]> wrote: > Johan, > > You can put a .gitattributes file in the repository directory that looks like this: > > *.package/monticello.meta/version merge=mcVersion > *.package/*.class/methodProperties.json merge=mcMethodProperties > *.package/*.class/properties.json merge=mcProperties > > Dale > > > On Thu, May 8, 2014 at 8:01 AM, Johan Brichau <[hidden email]> wrote: > This looks great indeed. > > I added the config file but do I understand correctly that I need to add a .gitattributes file myself to each package? > > Johan > > On 07 May 2014, at 17:21, Dale Henrichs <[hidden email]> wrote: > > > BTW, the issue with the methodProperties file was pilot error ... I fat-fingered the entries in my .gitconfig file ... > > > > If you are using FileTree, you need to use Thierry's merge driver. > > > > Dale > > > > > > On Wed, May 7, 2014 at 8:08 AM, Dale Henrichs <[hidden email]> wrote: > > Thierry Goubier has created a git merge driver for FileTree that takes the pain out of manually dealing with moniticello.meta/version files! > > > > The driver is written in Smalltalk using Pharo3.0. His (very complete) readme assumes that you've installed Pharo3.0 using the instructions at get.pharo.org. > > > > What's cool is that he arranges to correctly splice the merged version history into the version file, automatically during the merge. > > > > I had an issue with the merge driver for a methodProperties file, but just having automatic merges for the version file is great ... > > > > Dale > > > > [1] https://github.com/ThierryGoubier/GitFileTree-MergeDriver > > > > _______________________________________________ > > Glass mailing list > > [hidden email] > > http://lists.gemtalksystems.com/mailman/listinfo/glass > > _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |