|
From: Bastian M. <bma...@we...> - 2017-11-19 19:40:08
|
> > > What I have been trying to do is to manually add author changes to the Eric > > > Raymond's reconvert script. The example command given was: > > > <es...@th...!2017-11-04T16:44:25> setfield author "Frd J. Foonly > > > <fr...@fo...>" > > > (which according to the docs probably should instead be > > > <2017-11-04T16:44:25! es...@th...> setfield author "Frd J. Foonly > > > <fr...@fo...>" > > > > > > Unfortunately, such commands do not "find" the entry, not even with the tip > > > version of reposurgeon. > > > So I am kind of stuck for the moment. (snip) > > You are likely running into what I ran into with experimenting with > > tags, the time-zone factor. You must specify the exact time in the > > search field <>, but often git displays some kind of time zone-adjusted. > > So I had to do trial and error shifting by 7 hours to put times in > > GMT, e.g., <2013-04-11T20:04:07Z>. (Note the added Z...search Zulu time > > in Wikipedia: > > > > https://en.wikipedia.org/wiki/Time_zone > > > > ) > > > > For example, doing the git log as you suggested, I see a time > > > > 2000-10-20T20:01:32+01:00 > > > > which would be > > > > 2000-10-20T20:01:32Z > > > > I think. Anyway, I used git times from qgit that didn't have that extra > > UTC offset value so I often had to compute the proper UTC time and > > rarely got it right on the first try. > > > > Dan > > That did the trick! You just have to subtract the time offset to get the "Zulu" time. > Thanks for the pointer. I thought I had tried that before though.... > > Bastian > Although the "setfield" lines now work, adding such statements to reconvert seems to break the repository conversion: reposurgeon: exporting...fatal: Expected committer but didn't get opne I am giving up. The automatic ChangeLog conversion does a great job. As far as I can tell there are <100 manual attribution changes we could argue about. Ethan, the repo "gnuplot-trunk" was in my opinion converted using an older version of Eric Raymond's script which got the attribution wrong if the ChangeLog change did not include the author line. There are quite a number of these. E.g. there are ~120 of your committs which claim I am the author. But this is only true for very few of them: git log --committer=Ethan --author=Bastian --oneline So - in my opinion - one further iteration of conversion is in order. Bastian |