sagemath / trac-to-github

Script to migrate Trac tickets to GitHub issues and the Trac wiki to markdown. Input: https://trac.sagemath.org/ ➠ Intermediate: https://github.com/sagemath/trac_to_gh ➠ Output: https://github.com/sagemath/sage/issues
https://trac.sagemath.org/ticket/30363
7 stars 5 forks source link

Milestone closed_at date is wrong #136

Open mkoeppe opened 1 year ago

mkoeppe commented 1 year ago

as seen in https://34.105.185.241/sagemath/sage-all-2023-01-14-004/milestones?state=closed

mkoeppe commented 1 year ago

I now set both closed_at and updated_at, but after the import both show the time of import.

This seems to be a bug of the importer -- question for the GH migration team.

kwankyu commented 1 year ago

This is important. Was the question asked to the GH team?

kwankyu commented 1 year ago

So this is not fixed even in the import to GitHub.com.

mkoeppe commented 1 year ago

Yes. Out GH contacts indicate that it cannot be fixed.

After the import, I suppose we can edit the milestone description to include the correct closing date.

kwankyu commented 1 year ago

The correct closing date is defined by some event in the repo or is a new information that we should fetch from trac?

mkoeppe commented 1 year ago

We have it in the migration archive, in these files:

milestones_000000.json.txt milestones_000001.json.txt

kwankyu commented 1 year ago

It's strange that GH cannot fix the obvious bug in their importer.

Hopefully we could edit the dates in an automatic way later.

Thanks.