Blogs / eZ / eZ Extensions now on github, waiting for your commits

eZ Extensions now on github, waiting for your commits

Tuesday 26 October 2010 7:51:30 am

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

By : Ole Marius Smestad

We have an exciting piece of news in store for you. Actually some of you might have noticed it already, that ezpublish is no longer the only repository under the ezsystems umbrella on Github:

http://github.com/ezsystems

Now, you will also find the repositories for all of the extensions we ship with eZ Publish, right there next to it. After migrating eZ Publish itself over to github earlier this year, this is something our development team is pretty thrilled about.

 

EDIT : a full-blown tutorial on how to participate to eZ Publish development using git/github will help you get your hands on the extensions as well :
How to contribute to eZ Publish using Git

 

Our motivations

Why are we doing this, you might wonder. The truth is that we have several reasons for doing this, let’s have a look at them in no particular order.

First of all, after having moved eZ Publish itself to git and github, we started to feel that it would be beneficial to be able to use the same tools when working on our extensions too. And since we moved eZ Publish to github, in the first place, moving extensions later on, was in the cards and follows as a natural progression of this first step.

We originally moved the eZ Publish repository over to github, because we didn’t see the need anymore to be hosting and maintaining our own SVN servers, when we could use a service such as github, which provided more features. Furthermore, we were driven by a wish to use git as our SCM tool. The majority of our engineers preferred the flexibility and the sizeable toolbox that came with git, and so the journey towards github started. Today this journey has continued.

Our migration to github, isn’t all about our own egotistical reasons. We are strong believers that this change will benefit you, as a community members and contributors, even more. It’s our feeling that github will make our code easier to browse, easier to follow and keep up with. And most important of all, we think it will be easier for you, if you want, and we hope you do; to contribute back to all of our projects. We sincerely want to encourage this, and aim to create a better environment to nurture this, with this move.

Patches, tweaks and improvements can be organized in forks of our projects, and be channeled back via pull requests, we think this will be a vastly superior experience.

What this change will look like

So what has changed? At the moment we have transferred our extensions that are built and bundled together with our eZ Publish releases to github. That means that some extensions from http://svn.ez.no/extensions/ and http://svn.projects.ez.no/ have been moved over. All available repositores are visible on http://github.com/ezsystems/. At this time these extensions were moved over:

How to start using git(hub) instead of your current SVN checkouts

If you are used to the subversion-way of handling checkouts, a few things are a little bit different with git. For instance, unlike subversion, branches and tags are now accessed and changed via different mechanics, they aren’t just a different path on the svn server anymore. Please have a look at the git svn crash course for more information on this.

If you have existing checkouts of any of the extensions listed above. You first have have to retrieve a copy of the same extension on github e.g. the online editor extension, ezoe:

git clone git://github.com/ezsystems/ezoe.git

After cloning the so called ‘master’ branch will be checkout out, into your working directory. ‘Master’ is just a naming convention, and is the git equivalent of ‘trunk’ in the subversion universe. In order to have a look at what other branches are available we can look at the remote branches with `git branch -r`, and tags with `git tag`.

When the files are checked out, you can start adding your changes to the cloned repository.

We have tried to be systematic when migrating our repositories over from SVN, so that our old stable branches such as:

http://svn.projects.ez.no/ezoe/stable/5.2/ezoe/

are now accessible in git as:

 stable-5.2

In addition we have pruned the paths somewhat, where we can. This means that extension files are now placed directly at the root of the repository, rather than in subfolders such <extensionname> or extension/<extensionname>.

For specific information on how to checkout remote branches, and how to work with them and/or tags if you choose, please see the links to the git references, or ask in our forums.

Finally, I would like you to stay tuned for an upcoming tutorial we are doing, covering the topic of contributing to our projects via git. I think you will like it.

 

Git tutorials

The Internet has a host of git tutorials, from material for the complete beginner, to the most arcane things imaginable. However as a start, if you are coming into this new to git, I would recommend github’s reference at http://gitref.org/. This reference links further to an online book on the topic, Pro Git, and the git documentation pages. Also, if you are coming to git form subversion the following guide might be of some assistance to you, the git svn crash course http://git.or.cz/course/svn.html.

eZ debug

Timing: Jan 17 2025 20:58:15
Script start
Timing: Jan 17 2025 20:58:15
Module start 'content'
Timing: Jan 17 2025 20:58:15
Module end 'content'
Timing: Jan 17 2025 20:58:15
Script end

Main resources:

Total runtime0.2091 sec
Peak memory usage6,144.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 597.6016180.8281
Module start 'content' 0.00530.1047 778.4297600.6875
Module end 'content' 0.11000.0991 1,379.1172407.5156
Script end 0.2091  1,786.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.7410210.0002
Check MTime0.00140.6578210.0001
Mysql Total
Database connection0.00080.370510.0008
Mysqli_queries0.112853.96382010.0006
Looping result0.00130.63951990.0000
Template Total0.189190.420.0945
Template load0.00170.795220.0008
Template processing0.187489.599920.0937
Template load and register function0.00010.063010.0001
states
state_id_array0.00140.648020.0007
state_identifier_array0.00080.380330.0003
Override
Cache load0.00170.79811010.0000
Sytem overhead
Fetch class attribute name0.00200.950330.0007
Fetch class attribute can translate value0.00050.227710.0005
class_abstraction
Instantiating content class attribute0.00000.004230.0000
XML
Image XML parsing0.00020.116210.0002
General
dbfile0.00160.7675220.0001
String conversion0.00000.002430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplblog_entry/full.tplextension/community_design/design/suncana/override/templates/blog_entry/full.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/embed-inline.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/embed-inline.tplEdit templateOverride template
1content/view/embed-inline.tpl<No override>design/standard/templates/content/view/embed-inline.tplEdit templateOverride template
4content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
28content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
23content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezkeyword.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezkeyword.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 84
 Number of unique templates used: 16

Time used to render debug report: 0.0002 secs