I use git for all my projects. I used git with cake back when cake was
only officially in
an svn repo. Now that cake is officially in a git repo, why dont you
just learn and use git?

First you clone the cake git repo at http://thechaw.com/cakephp (you
will need an account there).

It's extremely simple and straightforward to keep your changes in
another branch and simply
pull  the latest changes down to master and merge those into your
branch.

For example, on my servers, cake lives in /usr/share/cake. Those are
also git repos with the <my branch> checked
out, so all I do is push <my branch> to those.

To create an alias in git for pushing to many servers at the same
time, just do this in .git/config:

[remote "many"]
        url = a...@example1.com:path/repo
        url = b...@example2.com:path/otherrepo
        url = c...@example3.com:path/yetanotherrepo


After I pushed to those, they need to checkout HEAD of course, which I
do automatically in .git/hooks/post-receive
like this:

export GIT_DIR=/usr/share/cake/.git
cd /usr/share/cake
git reset HEAD --hard
echo "HEAD Reset to latest..."


Cheers

All these will be pushed to if you do git push many.
On May 6, 4:17 pm, JamesF <usaexportexpe...@gmail.com> wrote:
> with the release of 1.2.3.8166 that fixes that nasty xss vulnerability
> (https://trac.cakephp.org/ticket/6336) i feel compelled to upgrade
> from an earlier build of 1.2. i am not sure of the best way to go
> about this without losing code i have already made.
>
> for example, i have added some things to app_controller.php but it was
> the core version in /cake/libs/
> i assume i need to move that file to my /app/controllers/ dir
>
> question: when i  upgrade cake, do i just extract the /cake/ dir and
> overwrite everything? or do i have to worry about config files in the
> app dir as well?
>
> looking for advice from some who have upgraded on nearly complete
> projects/ live sites!
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to