# Truly decentralised use of git?

8 messages from 2009-07-14 to 2009-07-14. Participants: Kārlis Repsons, Santi Béjar, Alex Riesen, Theodore Tso.
Thread: https://gitlist.dev/t/20107

## Kārlis Repsons, 2009-07-14 08:11

Subject: Truly decentralised use of git?
Message-ID: <200907140811.24174.Karlis.Repsons@gmail.com>
URL: https://gitlist.dev/e/200907140811.24174.Karlis.Repsons%40gmail.com

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

```

## Santi Béjar, 2009-07-14 09:22

Subject: Re: Truly decentralised use of git?
Message-ID: <adf1fd3d0907140222t6762d4f7s417f56905492cbba@mail.gmail.com>
URL: https://gitlist.dev/e/adf1fd3d0907140222t6762d4f7s417f56905492cbba%40mail.gmail.com
In-Reply-To: <200907140811.24174.Karlis.Repsons@gmail.com>

```
2009/7/14 Kārlis Repsons <karlis.repsons@gmail.com>:
> 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

```

## Kārlis Repsons, 2009-07-14 13:22

Subject: Re: Truly decentralised use of git?
Message-ID: <200907141323.02151.Karlis.Repsons@gmail.com>
URL: https://gitlist.dev/e/200907141323.02151.Karlis.Repsons%40gmail.com
In-Reply-To: <adf1fd3d0907140222t6762d4f7s417f56905492cbba@mail.gmail.com>

```
On Tuesday 14 July 2009 09:22:10 you wrote:
> 2009/7/14 Kārlis Repsons <karlis.repsons@gmail.com>:
> > 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

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.

```

## Alex Riesen, 2009-07-14 13:34

Subject: Re: Truly decentralised use of git?
Message-ID: <81b0412b0907140634g6aeec60fib23d56d83ba09fb9@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0907140634g6aeec60fib23d56d83ba09fb9%40mail.gmail.com
In-Reply-To: <200907141323.02151.Karlis.Repsons@gmail.com>

```
On Tue, Jul 14, 2009 at 15:22, Kārlis Repsons<karlis.repsons@gmail.com> wrote:
> 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.

```

## Theodore Tso, 2009-07-14 14:21

Subject: Re: Truly decentralised use of git?
Message-ID: <20090714142140.GA6772@mit.edu>
URL: https://gitlist.dev/e/20090714142140.GA6772%40mit.edu
In-Reply-To: <200907141323.02151.Karlis.Repsons@gmail.com>

```
On Tue, Jul 14, 2009 at 01:22:58PM +0000, Kārlis Repsons wrote:
> 
> 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

```

## Kārlis Repsons, 2009-07-14 15:58

Subject: Re: Truly decentralised use of git?
Message-ID: <200907141558.54044.Karlis.Repsons@gmail.com>
URL: https://gitlist.dev/e/200907141558.54044.Karlis.Repsons%40gmail.com
In-Reply-To: <81b0412b0907140634g6aeec60fib23d56d83ba09fb9@mail.gmail.com>

```
On Tuesday 14 July 2009 13:34:37 you wrote:
> On Tue, Jul 14, 2009 at 15:22, Kārlis Repsons<karlis.repsons@gmail.com> 
wrote:
> > 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?

```

## Alex Riesen, 2009-07-14 18:09

Subject: Re: Truly decentralised use of git?
Message-ID: <81b0412b0907141109j697f4705s4cebd27b9694dac7@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0907141109j697f4705s4cebd27b9694dac7%40mail.gmail.com
In-Reply-To: <200907141558.54044.Karlis.Repsons@gmail.com>

```
On Tue, Jul 14, 2009 at 17:58, Kārlis Repsons<karlis.repsons@gmail.com> wrote:
> But can IPv6 usage provide a way for git users to pull from one another
> directly?

Yes. Wanna use that argument for IPv6 promotion?

```

## Kārlis Repsons, 2009-07-14 19:15

Subject: Re: Truly decentralised use of git?
Message-ID: <200907141915.50929.Karlis.Repsons@gmail.com>
URL: https://gitlist.dev/e/200907141915.50929.Karlis.Repsons%40gmail.com
In-Reply-To: <81b0412b0907141109j697f4705s4cebd27b9694dac7@mail.gmail.com>

```
On Tuesday 14 July 2009 18:09:32 you wrote:
> On Tue, Jul 14, 2009 at 17:58, Kārlis Repsons<karlis.repsons@gmail.com> 
wrote:
> > 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...

```
