Thursday 23 September 2010 5:56:06 am - 6 replies

Introduction

Hot on the heels of the previous meeting, here is what happened on second meeting of September. Read on !

» Read full blog post

Author Message

Gaetano Giunta

Thursday 23 September 2010 7:39:26 am

"Using the native github capabilitry of svn mirroring for pubsvn": I tried, but so far there was little use for it.

In short:

. ppl can already connect to github using svn without passing by pubsvn

. the "svn access" capability of github is limited, not all svn commands work as they should

. which makes it a hassle to do an svn sync of github to pubsvnfor later exposing that svn repo in ro mode as it was done before (mirroring the ezp svn repo): there would be no complete history / blame support, etc...

. there are other tools that mirror a git repo into an svn one, but I did not consider spending time on testing them - after all we want all devs to use git in the first place, right? ;-) Also an "exact" replica might not even be doable because of differences in the underlying systems...

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Sunday 26 September 2010 1:31:16 am

"

"Using the native github capabilitry of svn mirroring for pubsvn": I tried, but so far there was little use for it.

In short:

. ppl can already connect to github using svn without passing by pubsvn

. the "svn access" capability of github is limited, not all svn commands work as they should

"

Hi Gaetano,

Do you know which SVN commands are not working with this setup ? If these are rarely used ones, we may want to use github's native functionality for this, this will dramatically reduce the amount of setup & maintenance work.

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

Gaetano Giunta

Sunday 26 September 2010 3:04:21 am

@nico: I do not have the exact list of commands that do not work - I just tried using tortoisesvn to browse the svn 'native' version of github and it was simply not good enough for real work.

I agree that pointing end users to github's native svn interface will save time and money.

I do not see a lot of added value in setting up an svn mirror. Is it just for the sake of having the old svn urls working again? Any svn die-hard can use github's version.

Otoh real added value can be found in setting up multiple code browsing and cross-referencing tools: every dev probably has his favorite one, and some might be better than others at parsing php. An interesting new entry on the list of candidates: opengrok - http://hub.opensolaris.org/bin/view/Project+opengrok/WebHome. It needs a jvm to run :-( and is based on exhuberant ctags for language parsing. It supports git natively.

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Monday 27 September 2010 10:25:09 am

I just tried this :

$> svn checkout http://svn.github.com/ezsystems/ezpublish.git

and it did not exactly work. Did you manage to get it to work ? I wanted to test which svn commands were supported.

Per the source browsing tool : why not using github's native browsing system ?

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

Gaetano Giunta

Monday 11 October 2010 2:54:17 pm

@nico: no. First checkout worked, but upgrades failed (on file .gitignore)

Hence the bug

#017442Source Code Documentation Out of Date

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Tuesday 12 October 2010 2:18:09 am

Indeed, same symptoms here now. We may have difficulties making a SVN mirror of github's repository available.

--
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

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:47:00
Script start
Timing: Jan 18 2025 02:47:00
Module start 'layout'
Timing: Jan 18 2025 02:47:00
Module start 'content'
Timing: Jan 18 2025 02:47:00
Module end 'content'
Timing: Jan 18 2025 02:47:00
Script end

Main resources:

Total runtime0.2245 sec
Peak memory usage4,096.0000 KB
Database Queries82

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0159 589.0313152.6250
Module start 'layout' 0.01590.0117 741.656339.4453
Module start 'content' 0.02750.1953 781.1016717.2891
Module end 'content' 0.22280.0016 1,498.390626.3984
Script end 0.2244  1,524.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01215.3888160.0008
Check MTime0.00150.6787160.0001
Mysql Total
Database connection0.00672.977210.0067
Mysqli_queries0.111649.7272820.0014
Looping result0.00070.2989800.0000
Template Total0.165773.820.0829
Template load0.00210.937620.0011
Template processing0.163672.880520.0818
Template load and register function0.00010.057910.0001
states
state_id_array0.00231.005520.0011
state_identifier_array0.00200.906030.0007
Override
Cache load0.00180.8026450.0000
Sytem overhead
Fetch class attribute name0.00130.558890.0001
Fetch class attribute can translate value0.00040.172820.0002
class_abstraction
Instantiating content class attribute0.00000.0147130.0000
XML
Image XML parsing0.00110.484620.0005
General
dbfile0.00110.4738220.0000
String conversion0.00000.004940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs