[joomla] versioning Joomla
Gary Mort
garyamort at gmail.com
Thu Feb 18 19:01:15 EST 2010
On Thu, Feb 18, 2010 at 5:28 PM, Herb Tucker <htucker at covenanttek.com>wrote:
> How much of the Joomla directory should I version? I wouldn't mind
> versioning the entire directory but in practice I know that out of those
> 5-6000 files there will only be a handful that actually would be modified
> and creating a working copy approximately doubles the size of the
> directory.
>
One of the things I like about Bazaar and plan on experimenting with is the
multi parent relationship.
IE, I can take the stock Joomla setup files out of SVN and save them in one
branch/tag/whatever.
Then for a specific install, saying I want to keep it simple, I can setup a
second branch/whatever and /exclude/ all the joomla core files from that
repository.
Finally, I can take the website itself and make a THIRD repository of it's
files and tell it that it is a child of BOTH of the other repositories.
So, files that get changed on my server and checked in that overwrite the
parents will be checked in to the website repository and stored there.
Furthermore, I can periodically refresh my Joomla core repository from the
core code to pick up any changes, and then use Bazaar to merge them back
down to the website[or, for that matter, to 6 websites if I have 6 children
of that parent].
So joomla core function is stored seperately from everything else.
Now, if I want to get REALLY complicated, I could create a repository for
every component, module, and plugin that gets installed and make the website
a child of all of them. So if I use one component on 3 sites, when I
upgrade that components repository I can then push them down to all the
websites using it.
Bazaar is also able to import from other repositories systems, so I can just
point the parent repositories to the SVN/GIT/CVS repository for the
component/core code and have it periodically refresh the code.
In the end, I think Mercurial, Bazaar, and Git make fine systems and any one
of them is great. Bazaar is just more.....erm... fit for the way I think so
I'm going with it[despite the lack of books regarding it]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20100218/a0356bdb/attachment.html>
More information about the Joomla
mailing list