Memcached support

180 views
Skip to first unread message

Ofer Cohen

unread,
Feb 5, 2012, 1:57:36 AM2/5/12
to Joomla! CMS Development

Hey everyone,

I've developed Memcached driver for Joomla (don't confuse with the old Memcache).

Memcached is more faster & mature. Here is the tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=27979

I really wanted to make pull request, but I didn't get how to open more than one branch in github (currently my branch is deal with the categories bugs). If someone can guide me, or make a pull request for the patch (attached to the tracker), I'll be grateful.

In addition, I've found bug in the old memcache, which is closed but it's still exists: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=26514

Please test.

-- 
Ofer Cohen
Joomlics Anonymous Group

Rouven Weßling

unread,
Feb 5, 2012, 7:33:15 AM2/5/12
to joomla-...@googlegroups.com

On 05.02.2012, at 07:57, Ofer Cohen wrote:

I really wanted to make pull request, but I didn't get how to open more than one branch in github (currently my branch is deal with the categories bugs). If someone can guide me, or make a pull request for the patch (attached to the tracker), I'll be grateful.

You can't create new branches trough the online interface. Creating branches has to be done on your own computer using whatever tool you prefer to use for git.

Please send that pull request to the platform instead of the CMS, this is really a platform feature.

Rouven

Ofer Cohen

unread,
Feb 5, 2012, 1:12:10 PM2/5/12
to joomla-...@googlegroups.com

Hey Rouven,

Thanks for reply.

I'm using command-line (Linux). What is the command to create new branch?
After creating the branch in the command-line, would it be in the online interface?

Thanks

Ofer Cohen
Joomlics Anonymous Group

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.

Michael Babker

unread,
Feb 5, 2012, 1:15:53 PM2/5/12
to joomla-...@googlegroups.com
What I do…

git checkout master
git pull --rebase joomla master (replace joomla with whatever you called your remote to joomla/joomla-cms.git)
git checkout -b <name_of_branch> (I never work on my master branch so that I have a "clean" default)

Make your changes, git push origin <name_of_branch>, and you're all set.

JCR - Lab

unread,
Feb 5, 2012, 1:14:59 PM2/5/12
to joomla-...@googlegroups.com
Le 05/02/2012 19:12, Ofer Cohen a écrit :

Hey Rouven,

Thanks for reply.

I'm using command-line (Linux). What is the command to create new branch?
After creating the branch in the command-line, would it be in the online interface?

Thanks

Hi
Creating a branch is with the command:
git branch branch_name (with the branch name you want as branch_name).

Ofer Cohen

unread,
Feb 7, 2012, 5:38:40 PM2/7/12
to joomla-...@googlegroups.com

Michael,

Thanks for your instructions.

If I've one push in the repository, how can I make new branch with ignoring of this push?

Thanks


Ofer Cohen
Joomlics Anonymous Group

Sam Moffatt

unread,
Feb 8, 2012, 3:40:26 AM2/8/12
to joomla-...@googlegroups.com
You push a branch to a particular location. If you have a local branch
with commits that you don't want, you can create a new branch from the
parent repository (the git checkout -b branchname
remotename/basebranchname) and then use "git cherry-pick" to pick up
the individual commits from your repository and finally git push to
your origin branch the change you want to have merged. Alternatively
you can create a new branch and just make the changes, commit to that
branch and then push up just that branch to get it merged.

Cheers,

Sam Moffatt
http://pasamio.id.au

Ofer Cohen

unread,
Feb 8, 2012, 4:01:36 AM2/8/12
to joomla-...@googlegroups.com

Hey

I did too much mistakes so I've reset my fork and created new branch (memcached).

Here is the pull request for the memcached support & fix for memcache (bug tracker #26514):
https://github.com/joomla/joomla-platform/pull/838

Rouven, Michael & Sam, thanks for great git tips. It was short but effective course :-)

Ofer Cohen
Joolics Anonymous Group


On 02/08/2012 10:40 AM, Sam Moffatt wrote:

You push a branch to a particular location. If you have a local branch
with commits that you don't want, you can create a new branch from the
parent repository (the git checkout -b branchname
remotename/basebranchname) and then use "git cherry-pick" to pick up
the individual commits from your repository and finally git push to
your origin branch the change you want to have merged. Alternatively
you can create a new branch and just make the changes, commit to that
branch and then push up just that branch to get it merged.

Cheers,

Sam Moffatt
http://pasamio.id.au



On Tue, Feb 7, 2012 at 2:38 PM, Ofer Cohen <ofer...@gmail.com> wrote:

Michael,

Thanks for your instructions.

If I've one push in the repository, how can I make new branch with ignoring
of this push?

Thanks


Ofer Cohen
Joomlics Anonymous Group


On 02/05/2012 08:15 PM, Michael Babker wrote:

What I do�

git checkout master
git pull --rebase joomla master (replace joomla with whatever you called
your remote to joomla/joomla-cms.git)
git checkout -b <name_of_branch> (I never work on my master branch so that I
have a "clean" default)

Make your changes, git push origin <name_of_branch>, and you're all set.

From: Ofer Cohen <ofer...@gmail.com>

Reply all
Reply to author
Forward
0 new messages