Skip to contentSkip to conversation

Truly decentralised use of git?

DISCUSSION Kārlis Repsons 4 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,
git is just great with its possibility of decentralised using, but how can it be done, given, that participants are all across the internet? IPv6? How is it done with kernel?

Best,
Kārlis

#1 lore raw

2009/7/14 Kārlis Repsons <[email protected]>:

Quoted 4 lines

Hello,
git is just great with its possibility of decentralised using, but how can it be done, given, that participants are all across the internet? IPv6? How is it done with kernel?

I don't think "truly decentralised" is what you want[1]. For me, truly decentralised is when all the repositories are equal, and in particular there is no central repository to sync with.

Normally there is a "social" central repository, be it controlled by one person (like the linux kernel) or by multiple people (like the gnome git repositories). It does not mean it is not decentralised, many people can (and do) have repositories spread across the internet and the central repository can be moved from one place to another.

In a "truly decentralised" setup, every repository can sync any other repository. So you just provide a public repository and sync with the rest of repositories. It does not scale with a large number of repositories, so it is easier just to declare some of the repositories as central (like the Linus' repository and the subsystem repositories).

In the linux kernel setup, there is a central repository, Linus' repository, with its public repository at kernel.org, and the subsystem repositories (x86, mm, usb,...) normally at kernel.org but they can be anywhere else. Everybody syncs with Linus' repository, and when you work in a specific subsystem you sync with the central one and/or the subsystem repository.

HTH,
Santi

#2 lore raw
Quoted 30 lines · On Tuesday 14 July 2009 09:22:10 you wrote:

2009/7/14 Kārlis Repsons <[email protected]>:

Quoted 4 lines

Hello,
git is just great with its possibility of decentralised using, but how can it be done, given, that participants are all across the internet? IPv6? How is it done with kernel?

I don't think "truly decentralised" is what you want[1]. For me, truly decentralised is when all the repositories are equal, and in particular there is no central repository to sync with.

Normally there is a "social" central repository, be it controlled by one person (like the linux kernel) or by multiple people (like the gnome git repositories). It does not mean it is not decentralised, many people can (and do) have repositories spread across the internet and the central repository can be moved from one place to another.

In a "truly decentralised" setup, every repository can sync any other repository. So you just provide a public repository and sync with the rest of repositories. It does not scale with a large number of repositories, so it is easier just to declare some of the repositories as central (like the Linus' repository and the subsystem repositories).

In the linux kernel setup, there is a central repository, Linus' repository, with its public repository at kernel.org, and the subsystem repositories (x86, mm, usb,...) normally at kernel.org but they can be anywhere else. Everybody syncs with Linus' repository, and when you work in a specific subsystem you sync with the central one and/or the subsystem repository.

Quoted 2 lines

HTH,
Santi

I am sorry, another thing was of my interest.
My unknown is the technical realisation - how can particular repository be made available for easy pulling from it? Right now with IPv4 most normal workstations are not accessible directly, because they are behind routers. That situation should be better with IPv6, but I haven't tried to use it. I hope, question is now clarified.

k.

#3 lore raw
Quoted 7 lines · Kārlis Repsons

I am sorry, another thing was of my interest.
My unknown is the technical realisation - how can particular repository be made available for easy pulling from it? Right now with IPv4 most normal workstations are not accessible directly, because they are behind routers. That situation should be better with IPv6, but I haven't tried to use it. I hope, question is now clarified.

The easist thing to do is to set up and then push your repository to a public git hosting site, such as repo.or.cz, gitorious.org, or github.com. Repositories are lightweight enough that all of these offer free repository hosting services.

- Ted

#4 lore raw
In reply to Kārlis Repsons
Quoted 4 lines · Kārlis Repsons

I am sorry, another thing was of my interest.
My unknown is the technical realisation - how can particular repository be made available for easy pulling from it? Right now with IPv4 most normal workstations are not accessible directly, because they are behind routers.

Same as with the rest of all internet services: you either put the thing on an internet-facing address or poke a hole in your firewall.

#5 lore raw
Quoted 1 line · On Tuesday 14 July 2009 13:34:37 you wrote:

On Tue, Jul 14, 2009 at 15:22, Kārlis Repsons<[email protected]>

Quoted 8 lines · wrote:
Quoted 5 lines

I am sorry, another thing was of my interest.
My unknown is the technical realisation - how can particular repository be made available for easy pulling from it? Right now with IPv4 most normal workstations are not accessible directly, because they are behind routers.

Same as with the rest of all internet services: you either put the thing on an internet-facing address or poke a hole in your firewall.

With IPv4 yes. I am using gitorious.org already.
But can IPv6 usage provide a way for git users to pull from one another directly?

#6 lore raw
Quoted 2 lines · Kārlis Repsons

But can IPv6 usage provide a way for git users to pull from one another directly?

Yes. Wanna use that argument for IPv6 promotion?

#7 lore raw
Quoted 1 line · On Tuesday 14 July 2009 18:09:32 you wrote:

On Tue, Jul 14, 2009 at 17:58, Kārlis Repsons<[email protected]>

Quoted 4 lines · wrote:
Quoted 2 lines

But can IPv6 usage provide a way for git users to pull from one another directly?

Yes. Wanna use that argument for IPv6 promotion?

Oh, you made me curious about if there is anything more, that you could say about the topic! :)
Actually, why not? I now recompile things and soon will start testing...