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

Dan Langille dan at langille.org
Wed Jul 22 11:46:06 UTC 2020


On Jul 22, 2020, at 5:29 AM, Adriaan de Groot <adridg at FreeBSD.org> wrote:
> 
> On Wednesday, 22 July 2020 02:33:46 CEST Dan Langille wrote:
>> Tobias,
> 
> Filling in for Tobias,
> 
> 
>> 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/d016c9140a6e4b7627d26485926
>> a659f2686185d)
>> 
>> I am sure you did an 'svn mv kdav kf5-kdav'. Can you confirm please?
> 
> Yes. (Followed by some edits, and a commit of the copied-and-modified file)
> 
>> I suspect that under git, this would be a 'git mv' as well.
> 
> Under normal git usage, yes. (Followed by some edits, and an add and a commit 
> of the copied-and-modified file)
> 
>> I have no issue with the work done.  I am trying decipher the git commit log
>> messages for use by FreshPorts.
> 
> 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
> 
> git tells me:
> delete mode 100644 net/kdav/distinfo
> rename net/{kdav => 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="Rename" Path="net/kdav/Makefile" Destination="net/kf5-kdav/Makefile"/>

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

> create mode 100644 net/kf5-kdav/distinfo
> rename net/{kdav => 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>)

> 
> Both of these bits of output are from the command-line tools, which don't 
> necessarily reflect all the internal administration. SVN lists A(dd) 
> separately from M(odification), git tells you how much was changed.
> 
> I have an alias in my ~/.gitconfig,
> 	flog = log --follow --name-status
> which gives far more svn-like log output. So I'm regularly flogging git, make 
> 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.

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

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

> or 
> Jesus Barahona at the University Rey Juan Carlos in Madrid: they have been 
> doing understanding-Open-Source-history for longer than I have (and unlike me, 
> kept at it for the past 15+ years). So if anyone has a good handle on chasing 
> 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.

— 
Dan Langille
http://langille <http://langille/>.org/






More information about the svn-ports-all mailing list