[spip-dev] spip git/svn

Hi,
I tried to fetch the git repository from spip and got a few problems:
- First one, if I fetch with
  git clone http://git.spip.org/spip.git/
I get only tags up to spip-3.0.13 (but on the website they go up to
3.0.16). If I do it from the github repository it goes to 3.0.16 as
expected.

- Second, the squelettes-dist and plugins-dist are not fetched. If I try
  to do it with the svn, they are fetched separately. But this doesn't
  happen with git and no information is given about that on the wiki page

Do you have an idea why the repository is incomplete, and how do you
usualy proceed when you work with git?

Thanks in advance for your help!

Best regards,

Hi Ismael,

Hi,
I tried to fetch the git repository from spip and got a few problems:
- First one, if I fetch with
  git clone http://git.spip.org/spip.git/
I get only tags up to spip-3.0.13 (but on the website they go up to
3.0.16). If I do it from the github repository it goes to 3.0.16 as
expected.

I confirm, but i can fetch all tags with :

git clone gitosis@core.spip.org:spip.git

cf Git

- Second, the squelettes-dist and plugins-dist are not fetched. If I try
   to do it with the svn, they are fetched separately. But this doesn't
   happen with git and no information is given about that on the wiki page

I confirm too, with gitosis@core.spip.org:spip.git or http://git.spip.org/spip.git

Maybe we are missing an external init or somethig like that. I hope Camille can provide you more infos about that :wink:

Hi Ismael, Bruno

I tried to fetch the git repository from spip and got a few problems:
- First one, if I fetch with
        git clone http://git.spip.org/spip.git/
I get only tags up to spip-3.0.13 (but on the website they go up to
3.0.16). If I do it from the github repository it goes to 3.0.16 as
expected.

Thanks for you report. I check our sever configuration
http or git access target same repository. Then no reason to have a
difference in tags list.

- Second, the squelettes-dist and plugins-dist are not fetched. If I try
   to do it with the svn, they are fetched separately. But this doesn't
   happen with git and no information is given about that on the wiki page

I confirm too, with gitosis@core.spip.org:spip.git or
http://git.spip.org/spip.git

Maybe we are missing an external init or somethig like that. I hope Camille
can provide you more infos about that :wink:

It's not a bug it's a feature :slight_smile:
Actually we can't synchronize svn:external data. For at least two reasons :
-* git-submodule is not as svn:external, since git 1.8 is more closed
but not same.
-* plugins-dist have a tree structure different relative to others
plugins tree (not in an unique directory)
It's in my todo list, but not to now.
The idea will be to provide a specific repository with all submodules
plugins, but first I must resolve some problems with plugins-dist
projects.

Thanks

Km

Hi Camille, Bruno,
Thanks for your answers!

I will wait for the « Features » then :stuck_out_tongue:

For when you'll be there in you todo list: you might want to consider
git-subtree which seems closer to svn:external than git-submodule
http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/

Cheers,

Hi

Yes as alternative subtree exists, now difference between submodule
and subtree is less important than one year ago. We can follow any
branch now, and not only a commit.

But in each case it's incompatible with this precept : "don't broke
svn behaviour" :slight_smile:
Then if a sutree/sumodul is adderd, svn:external must be also created
and on other way also.
Purpose is to add a new service and not replace it. Then it's a bit
more complicated :slight_smile:

Works on progress

Km