Forums / Developer / git life-cycle, development to production

git life-cycle, development to production

Author Message

Brendan Pike

Monday 09 August 2010 7:49:02 pm

I'm interested to learn how other developers use git in their working environment. I've recently made the move from svn to git so am in the process of reassessing the best ways to work with code from development to testing and finally live.

Using the git archive command would be an option as would be rsync. I could also just run a git clone in each environment which is probably the best solution with easier ability to individualise each .gitignore per instance.

Also do you generally put the entire ez publish file structure into git for simplicity or do you set-up your ignore file to exclude it?

Love to hear others experiences and suggestions.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Thiago Campos Viana

Tuesday 10 August 2010 12:42:21 pm

I really don't like github, I think svn+tortoise svn is much more easy to use then github + that beta github windows tool. The only one feature I liked about github is that I can search a repo, fork and edit it online, but when I hade to download a repo to my computer, edit and then upload I have some problems.

I hade several problems trying to create and maintain two or more repo, because when I tried to upload my local files to a repo I got an error, some key problem thing....

Github will be great only if it be as easy to use as svn+tortoise...

About ez publish versioned folders, I think it could be like svn, only extension, settings, and var/yoursite/storage folder, maybe design folder.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Thomas Parisot

Tuesday 01 March 2011 6:45:39 am

I'm pretty much interested by this topic too.

I want to store that in a single remote (origin), and fetch updates from the upstream (ezpublish git repo).
What is the best way to do?

Because what I need:

  • adding/modifiying files at the root folder of eZ Publish (custom .gitignore, fabric config files etc.)
  • adding my own extensions, project specific: submodules (same repo with other branches or specific repo) or plain files within extensions/ folder?
  • if possible, not publishing the entire history of the upstream on origin, but only changes from the time the project is initiated

For the last point, I created my project, added origin, added upstream, rebased upstream and commited.
However, once I want to clone, I encounter a git packing error, as I have not commited the past history, but only the current snapshot.

Any clue? Any strategy?

Thanks :-)

Nicolas Pastorino

Tuesday 01 March 2011 7:17:29 am

Hi Thomas,

The draft version of the "How to contribute to eZ Publish using GIT" is linked to from there. The final version should be published in a matter of days.

Also, another application of GIT/github and eZ Publish contribution, int he frame of localization, is presented in the following tutorial : http://share.ez.no/learn/ez-publish/translating-localizing-ez-publish-using-git

Stay tuned for the full version of the former,
I hope this helped,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Thomas Parisot

Wednesday 02 March 2011 6:43:02 am

"

Hi Thomas,

The draft version of the "How to contribute to eZ Publish using GIT" is linked to from there. The final version should be published in a matter of days.

Also, another application of GIT/github and eZ Publish contribution, int he frame of localization, is presented in the following tutorial : http://share.ez.no/learn/ez-publish/translating-localizing-ez-publish-using-git

Stay tuned for the full version of the former,
I hope this helped,
Cheers,

"

Hello,

thanks for your reply but unfortunately, I can't see how it could help me during my daily dev on my projects.
What I would like is to fetch changes of eZ, like patches, without pushing the whole eZ history on my own remote.

Thanks

Nicolas Pastorino

Wednesday 02 March 2011 2:56:44 pm

"

thanks for your reply but unfortunately, I can't see how it could help me during my daily dev on my projects.
What I would like is to fetch changes of eZ, like patches, without pushing the whole eZ history on my own remote.

"

Hello Thomas,

I will have to leave this question to better GIT experts than i am, i am afraid.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye