eZ Community » Forums » General » Git stable-4.4 branch update
expandshrink

Git stable-4.4 branch update

Git stable-4.4 branch update

Wednesday 02 February 2011 6:04:05 pm - 5 replies

Hi,

I noticed that github's
stable-4.4 branch isn't up to date.

For instance https://github.com/ezsystems/ezpublish/blob/stable-4.4/kernel/classes/ezcontentobjecttreenode.php doesn't match with the current 4.4 distributed here : http://share.ez.no/download-develop/downloads/ez-publish-community-project-4.4-fuji#platform

for instance, line 3783 on github :

$hasPendingObject = false;
        $db = eZDB::instance();        $db->begin();
        $userClassIDArray = eZUser::contentClassIDs();
        foreach ( $deleteIDArray as $deleteID )        {

and in 4-4 :

$canRemoveAll = true;
        $db = eZDB::instance();        $db->begin();
        $userClassIDArray = eZUser::contentClassIDs();
        foreach ( $deleteIDArray as $deleteID )        {            
$hasPendingObject = false;

Is this normal ? Is there a real 4-4 somewhere on github ?

Wednesday 02 February 2011 9:55:28 pm

Hi Sylvain,

What if you compare the tagged 4.4.0? See https://github.com/ezsystems/ezpublish/tree/4.4.0

Regards Robin

Thursday 03 February 2011 9:48:41 am

Hi,

the name of the branch is quite confusing...

But as said by Robin, some changes have been done on this file since the release of 4.4, see : https://github.com/ezsystems/ezpublish/commits/stable-4.4/kernel/classes/ezcontentobjecttreenode.php (or git log kernel/classes/ezcontentobjecttreenode.php)

Cheers

Thursday 03 February 2011 11:36:27 am

stable branches are not tags, they change..

Use blame and you'll find this:
https://github.com/ezsystems/ezpublish/commit/6bc6adb37d6fc2828f66f67bb028780521fa59b0

Thursday 03 February 2011 12:13:54 pm

stable branches are not tags, they change..

that's true and quite logical but it can be a bit confusing if you don't know in details the git vocabulary and how eZ Publish releases are done.

Cheers

Modified on Thursday 03 February 2011 12:22:15 pm by Damien Pobel

Thursday 03 February 2011 2:11:03 pm

It is mainly subversion's fault. Back in the CVS ages, tags & branches were different. GIT has finally restored this, and it makes much more sense this way. A branch is dynamic, and can evolve over time, while a tag isn't supposed to change once created.

I have to admit I did not see the "tags" entry on github right away, though happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from