Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2020 09:52:50 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Kurt Jaeger <pi@freebsd.org>, Mathieu Arnold <mat@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r551373 - in head/dns: . knot3 knot3/files
Message-ID:  <20201006095250.GA52176@FreeBSD.org>
In-Reply-To: <20201006085953.oiasw2z7jshtbzbp@ivaldir.net>
References:  <202010041018.094AI0o8005671@repo.freebsd.org> <20201004102926.GA93206@FreeBSD.org> <20201004103616.GY86683@fc.opsec.eu> <20201004104253.GA10822@FreeBSD.org> <20201005080039.hyfxmx6stfjbazy3@aching.in.mat.cc> <20201005080550.GB86683@fc.opsec.eu> <20201006085953.oiasw2z7jshtbzbp@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 06, 2020 at 10:59:53AM +0200, Baptiste Daroussin wrote:
> On Mon, Oct 05, 2020 at 10:05:50AM +0200, Kurt Jaeger wrote:
> > Hi!
> > 
> > > > > 2) i vaguely remember that with the migration to git,
> > > > 
> > > > Ports cannot be migrated to Git for various reasons.  Even if they
> > > > could, we're currently using Subversion.
> > > 
> > > For the record, ports will be moving to Git within three to six months,
> > > either before 2021Q1 or if time is too short, 2021Q2.
> > 
> > Can the repo-copy procedure be seen in the git repo or is
> > the repo-copy lost after the migration ?
> 
> Repo copy is guessed after the migration

= pretty much fucked up: unreliable, CPU-intensive, and guessed wrongly for
anything but very simple cases*.  Either Git must be fixed and learn how to
track renames, or left where it belongs instead of trying to replace mature,
full-featured solutions such as Subversion.

Git is actually the worst in this regard, e.g. in Bazaar it allegedly works
even without requiring explicit move command**.

So, again: Git is rather poor choice for anything, but particularly bad for
the FreeBSD Ports Collection.

./danfe

*) https://stackoverflow.com/questions/29822823/how-does-git-know-that-file-was-renamed
**) https://how-bazaar.blogspot.com/2008/07/bazaar-has-model-right.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201006095250.GA52176>