Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 07:46:04 -0400
From:      Dan Langille <dan@langille.org>
To:        Adriaan de Groot <adridg@FreeBSD.org>
Cc:        "Tobias C. Berner" <tcberner@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r542761 - in head: . Mk/Scripts Mk/Uses archivers/kf5-karchive deskutils/kdepim-runtime devel/kf5-extra-cmake-modules devel/kf5-kapidox devel/kf5-kauth devel/kf5-kbookmarks devel/kf5-kc...
Message-ID:  <C8670DA9-994E-455D-AE3C-04E4BEF9514D@langille.org>
In-Reply-To: <5428809.XOh7uYVVfo@beastie.bionicmutton.org>
References:  <202007211715.06LHFd1e021339@repo.freebsd.org> <24196c21-49f1-4e0b-9529-504a332f34c7@www.fastmail.com> <5428809.XOh7uYVVfo@beastie.bionicmutton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 22, 2020, at 5:29 AM, Adriaan de Groot <adridg@FreeBSD.org> =
wrote:
>=20
> On Wednesday, 22 July 2020 02:33:46 CEST Dan Langille wrote:
>> Tobias,
>=20
> Filling in for Tobias,
>=20
>=20
>> I am working on the git version of FreshPorts.  I am trying to =
decipher the
>> git version of your commit (i.e.
>> =
https://github.com/freebsd/freebsd-ports/commit/d016c9140a6e4b7627d2648592=
6
>> a659f2686185d)
>>=20
>> I am sure you did an 'svn mv kdav kf5-kdav'. Can you confirm please?
>=20
> Yes. (Followed by some edits, and a commit of the copied-and-modified =
file)
>=20
>> I suspect that under git, this would be a 'git mv' as well.
>=20
> Under normal git usage, yes. (Followed by some edits, and an add and a =
commit=20
> of the copied-and-modified file)
>=20
>> I have no issue with the work done.  I am trying decipher the git =
commit log
>> messages for use by FreshPorts.
>=20
> SVN tells me:
>   D /head/net/kdav

This is the subversion data point which FreshPorts uses to recognize a =
port is being deleted.

>   M /head/net/kf5-kcalendarcore/distinfo
>   M /head/net/kf5-kcontacts/distinfo
>   A /head/net/kf5-kdav (from /head/net/kdav:542760)
>   M /head/net/kf5-kdav/Makefile
>   M /head/net/kf5-kdav/distinfo
>=20
> git tells me:
> delete mode 100644 net/kdav/distinfo
> rename net/{kdav =3D> kf5-kdav}/Makefile (82%)

The above is good enough.  It's close.  But I'm not seeing that yet. =
What I have is:

<FILE Action=3D"Rename" Path=3D"net/kdav/Makefile" =
Destination=3D"net/kf5-kdav/Makefile"/>

That's the XML extracted via =
https://github.com/FreshPorts/git_proc_commit/blob/master/git-to-freshport=
s/git-to-freshports-xml.py

> create mode 100644 net/kf5-kdav/distinfo
> rename net/{kdav =3D> kf5-kdav}/pkg-plist (92%)

Yes, that matches up with what git is giving me (see =
https://github.com/FreshPorts/git_proc_commit/issues/23 =
<https://github.com/FreshPorts/git_proc_commit/issues/23>)

>=20
> Both of these bits of output are from the command-line tools, which =
don't=20
> necessarily reflect all the internal administration. SVN lists A(dd)=20=

> separately from M(odification), git tells you how much was changed.
>=20
> I have an alias in my ~/.gitconfig,
> 	flog =3D log --follow --name-status
> which gives far more svn-like log output. So I'm regularly flogging =
git, make=20
> of that what you will :)

This makes me wonder: could it just be a matter of knobs/switches for =
extracting date in the right format.

>=20
> [ade]
>=20
> PS. I admire your determination to keep understanding history for =
freshports=20
> as well as is possible. You may want to talk to the people at =
Bitergia,

Is that https://bitergia.com <https://bitergia.com/>; ?

> or=20
> Jesus Barahona at the University Rey Juan Carlos in Madrid: they have =
been=20
> doing understanding-Open-Source-history for longer than I have (and =
unlike me,=20
> kept at it for the past 15+ years). So if anyone has a good handle on =
chasing=20
> history through git and other VCS, it would be them.

That looks like https://twitter.com/jgbarah =
<https://twitter.com/jgbarah>;

The origins of FreshPorts relied upon help from a wide variety of people =
(https://www.freshports.org/authors.php =
<https://www.freshports.org/authors.php>)
and this rework will be no different. Thank you.

=E2=80=94=20
Dan Langille
http://langille <http://langille/>.org/







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8670DA9-994E-455D-AE3C-04E4BEF9514D>