Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreate complete history for all languages #1

Open
ckuethe opened this issue Nov 23, 2019 · 12 comments
Open

Recreate complete history for all languages #1

ckuethe opened this issue Nov 23, 2019 · 12 comments

Comments

@ckuethe
Copy link

ckuethe commented Nov 23, 2019

You might want to check out similar repos - history has been reconstructed from older versions of the software, eg. https://github.com/rirze/sgp4-cpp

@astrojuanlu
Copy link
Member

Thanks for the idea @ckuethe! With a little bit of patience and help from web.archive.org we could do the same thing here, for all languages (and not only the ones I cared about when I created this repo).

@astrojuanlu astrojuanlu changed the title history? Recreate complete history for all languages Nov 24, 2019
@ckuethe
Copy link
Author

ckuethe commented Nov 24, 2019

I have already retrieved historical versions... https://drive.google.com/open?id=1L_PFk6dUDk4G5fPMoMb7C1CBbDTwX1P0

@astrojuanlu
Copy link
Member

That's super helpful 😍 I'll put it into the repository tomorrow!

@ckuethe
Copy link
Author

ckuethe commented Nov 24, 2019

Tagging @interplanetarychris @brandon-rhodes @rirze @cbassa because they would probably also be interested in this based on their participation with skyfield and python-sgp4

@rirze
Copy link

rirze commented Nov 24, 2019

@Juanlu001 Seems like this repository is aiming to be more complete wrt to Vallado's work implemented in many languages. I'm willing to merge/retire my mirror (rirze/sgp4-cpp) if you end up recreating the c++ history.

Just let me know either way.

@ckuethe
Copy link
Author

ckuethe commented Nov 25, 2019

I definitely like the way you synthesized authors and timestamps.

@rirze
Copy link

rirze commented Nov 25, 2019

@ckuethe Thanks. It was a bit of effort to figure out how to do it at first.

In case you want to do it the same way I did @Juanlu001, here's the command I used:

THE_TIME=$(stat -c %y $(find cpp/ -type f -printf "%T@ %p\n" | sort -n | sed -r "s/^[0-9.]+\s+//" | tail -n 1 | xargs -I{} ls "{}")) GIT_AUTHOR_DATE=$THE_TIME GIT_COMMITTER_DATE=$THE_TIME git commit -a --author="David A. Vallado <[email protected]>"

There's a lot of logic to find the latest file timestamp, but other than that, iterating through the historical versions after deleting the old one was all there was to it.

@astrojuanlu
Copy link
Member

I see that there are a lot of repositories that try to do this, but none of them has the full, proper commit history as we would like. I will try to tackle this during the summer.

@rirze
Copy link

rirze commented Jun 24, 2020

@astrojuanlu Could you expand on what that includes? Where are other approaches or repositories lacking?

@astrojuanlu
Copy link
Member

astrojuanlu commented Jun 30, 2020 via email

@astrojuanlu
Copy link
Member

Sorry @rirze, the other day I responded too quickly and didn't realize we had already spoken in this same thread last year :) It's been a tough winter.

Okay, so the two things I would like to have is:

I'm working on this as part of the SciPy US 2020 sprints, hope to get at least a prototype working.

@automaticjack1
Copy link

@ckuethe, @rirze, I have two files from the 2004 era which might be of use for C++ and FORTRAN tests. Their content listings follow. Would these help, and if so, how do I get them to you?

Archive: sgp4c.zip
Length Date Time Name


17293  08-09-2004 14:47   SGP4EXT.CPP
 5760  10-07-2004 09:51   SGP4TEST.CPP
86783  08-10-2004 09:37   SGP4UNIT.CPP
 2905  08-09-2004 14:47   SGP4EXT.H
 5607  08-10-2004 07:58   SGP4UNIT.H
13896  07-08-2004 12:56   SGP4-ALL.ELM

359608 07-22-2004 09:30 SGP4TEST.TXT
359608 10-07-2004 09:52 SGP4TEST.OUT


851460 8 files

Archive: fortran-data.zip
Length Date Time Name


14787  05-17-2000 12:19   NUT85.DAT
34933  11-01-2000 13:15   NUTATION.DAT
  812  10-06-1997 18:29   ATMOSEXP.DAT
33521  04-03-2003 09:34   TESTASTF.DAT

101257 04-03-2003 07:10 TESTASTF.TXT
15075 04-28-1999 13:59 GEOS1.TXT
69216 01-19-2000 13:17 SENSOR.TXT
17254 04-28-1999 14:00 GEOS2.TXT
15075 04-28-1999 14:00 GEOS5.TXT
1694 06-17-1999 12:00 GEOS2.IN
1476 04-22-1999 14:12 GEOS1.IN
2048 04-22-1999 14:12 GEOS5.IN
7834 10-06-1999 15:33 SGP4-ALL.ELM
5282 09-22-1998 10:06 Y2K.ELM
294 09-27-2001 12:43 16609D.ELM
183 10-06-1998 09:24 20510.ELM


320741 16 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants