Monday, September 9, 2013

Re: Putting custom code in a separate repository

Some people have made lib/Cake a submodule

https://github.com/nodesagency/cakephp-lib

Another suggestion is too have cakephp/cakephp as an remote named 'upstream'. Then you could suck in changes via `git fetch upstream`, but it could get messy in the app directory.


On Mon, Sep 9, 2013 at 9:48 PM, David Suna <david.suna@gmail.com> wrote:
Thanks for the suggestion.

From a quick look at git submodules it seems that they are geared to using them in a single directory.  The changes to a clean CakePHP installation end up being across multiple directories as well as include changes to some of the files in the original CakePHP repository.  I didn't see how submodules would handle that situation.  Do you have a reference that would explain this more?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.



--
Simon Males

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: