-
Notifications
You must be signed in to change notification settings - Fork 4
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
Move StatusBar to scenery-phet #101
Comments
I observed that the command Here is the history in scenery-phet after the copy: @zepumph or @pixelzoom any idea how to get the history across that file rename? |
I tried making up my own multi-script using the patches idea, like so:
However, this failed and I also tried applying patch2 then patch1 and it failed for a different reason. In one case, I ended up with a TS file and a JS file, where the JS file had some history, but still ended with |
I have a proposed plan that I think will work well for this issue and future cases where we want to move history from one repo to another more robustly.
|
Following the above instructions, I moved StatusBar and its history and renames from vegas to scenery-phet. I cloned a fresh version of scenery-phet and confirmed the history looked as desired. I updated all references to point to the version in scenery-phet. I removed the old copy from vegas. I tested Center and Variability, and it looked good. I tested Build an Atom, which creates one status bar. I checked the CT "quick bar" a few minutes later, and it was all green. Type checking and linting are passing on my side. I'll check full CT columns in the next few business hours. UPDATE: I wrote on slack:
|
@pixelzoom can you please review this change? In particular, can you please check that the history of StatusBar in scenery-phet is intact? If you additionally have time to review the process in #101 (comment), that would be great. If not, please assign to @zepumph to check on that part. |
Commit history for StatusBar.ts looks like it's intact, and I see commit back to 4/13/18. FYI, it began its life on 4/13/18 when it was factored out as a base class for #66. The process for moving git history described in #101 (comment) looks reasonable, but I'm not certain. So it would be good to have @zepumph take a look too. I thought there was a process for this, but maybe I'm thinking of the process for restoring lost git history. In any case, it would be useful to have both of those processes describes in a document --- maybe a new doc in phetinfo for "git tips". |
The established process in perennial/bin/copy-history-to-different-repo.sh did not support the file rename, even when I tried to adapt it to accommodate the rename. |
@samreid How about moving the "copy history to different repo" issue to a new GitHub issue? It's not really related to StatusBar, and having it in its own issue will make it easier to find in the future. |
Thanks, I opened phetsims/perennial#269. Since the StatusBar move has been reviewed, this issue can be closed. |
For phetsims/center-and-variability#6 @chrisklus and I discussed with @pixelzoom about moving StatusBar to scenery-phet and agreed it is a good plan.
I'll keep the history.
The text was updated successfully, but these errors were encountered: