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

Chipper and perennial have copies of execute.js, and one is stale #1018

Closed
samreid opened this issue Mar 4, 2021 · 69 comments
Closed

Chipper and perennial have copies of execute.js, and one is stale #1018

samreid opened this issue Mar 4, 2021 · 69 comments

Comments

@samreid
Copy link
Member

samreid commented Mar 4, 2021

Assigning the developers with the most commits on those files. How do you recommend to proceed?

@jonathanolson
Copy link
Contributor

They are quite different, presumably best to leave separate?

@jonathanolson jonathanolson removed their assignment Mar 4, 2021
@zepumph
Copy link
Member

zepumph commented Mar 4, 2021

They are quite different, presumably best to leave separate?

Yes but not for any good reason. It just looks like they have grown as they have needed to, but I see no reason, besides the annoyance of this problem, that stderr as an arg to ExecuteError (in perennial but not chipper), or shell option (in chipper but not perennial) shouldn't be supported generally.

The only issue I see is winston because it is used by the build server. Perhaps we can still work around that.

@samreid samreid self-assigned this Mar 4, 2021
@jonathanolson
Copy link
Contributor

The only issue I see is winston because it is used by the build server. Perhaps we can still work around that.

And chipper prefers grunt logging? Could we wrap chipper to use winston? I definitely have a preference for the perennial version in general (with the shell option added?)

@jonathanolson jonathanolson self-assigned this Mar 4, 2021
@samreid
Copy link
Member Author

samreid commented Mar 12, 2021

Should we adopt the same policy as SimVersion, which has the primary copy in perennial and one copied to chipper on a regular basis?

@jonathanolson
Copy link
Contributor

Should we adopt the same policy as SimVersion, which has the primary copy in perennial and one copied to chipper on a regular basis?

Maybe there should be a directory of code which works like this?

@zepumph
Copy link
Member

zepumph commented Mar 17, 2021

Good idea!

@samreid
Copy link
Member Author

samreid commented Mar 30, 2021

I'm not sure of the best directory location or name. How about:

perennial/js/chipper/ ?

@samreid
Copy link
Member Author

samreid commented Jul 6, 2021

I recommend to have the destination directory in chipper be named using a similar pattern. Perhaps the copy will be from perennial/js/chipper/ to chipper/js/perennial/

@samreid
Copy link
Member Author

samreid commented Jul 6, 2021

On second thought, those names seem too awkward. It sounds like perennial/js/chipper code is intended primarily for chipper, which is not the case. Perhaps we should create a better name to unify these. A unique name (not used widely in our project) to mean "used in both perennial and chipper". Perhaps "biannual" or "dual". Or maybe perennial would have dual-source and chipper would have dual-target. Or we could use parent/child or original/copy. Maybe we'll start with dual and see how that goes.

@samreid
Copy link
Member Author

samreid commented Jul 6, 2021

I moved SimVersion to dual/ and ran grunt update on all active repos. I tested the following things:

Launching an unbuilt simulation
Building a simulation, launching it

I could not test a chains rc release with working copy changes, so I'll commit next. This is going to span many repos since a preload path changed.

I messaged Slack:

For #1018 I’m moving SimVersion to a subdirectory. This will require running grunt update on every repo. Brace yourselves for many commits.

samreid added a commit to phetsims/area-model-decimals that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/area-model-common that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/atomic-interactions that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/area-model-introduction that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/area-builder that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/acid-base-solutions that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/area-model-multiplication that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/bamboo that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/blast that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/axon that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/beers-law-lab that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/area-model-algebra that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/bending-light that referenced this issue Jul 6, 2021
samreid added a commit to phetsims/balancing-chemical-equations that referenced this issue Jul 6, 2021
jonathanolson added a commit to phetsims/molecules-and-light that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/natural-selection that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/natural-selection that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/number-line-integers that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/number-line-operations that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/ratio-and-proportion that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/states-of-matter that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/states-of-matter-basics that referenced this issue Nov 24, 2022
jonathanolson added a commit to phetsims/waves-intro that referenced this issue Nov 24, 2022
@samreid samreid assigned jonathanolson and unassigned samreid Nov 28, 2022
@samreid
Copy link
Member Author

samreid commented Nov 28, 2022

Sounds like @jonathanolson is on the case for this maintenance fix, so I've updated the assignees.

@jonathanolson jonathanolson removed their assignment Dec 8, 2022
@jonathanolson
Copy link
Contributor

Is... there something to discuss in dev meeting? Or did that just show up because I reopened the issue? I have nothing that needs discussing at dev meeting.

@jonathanolson
Copy link
Contributor

Handled in the maintenance release, closing.

zepumph pushed a commit to phetsims/perennial that referenced this issue Oct 22, 2024
zepumph pushed a commit to phetsims/perennial that referenced this issue Oct 22, 2024
…hetsims/chipper#1018""

This reverts commit 25cacee241319daae825fa2b863797bb4b7db43b.
zepumph pushed a commit to phetsims/perennial that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants