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

Allow shadowing from PC2 #2343

Closed
wants to merge 29 commits into from
Closed

Allow shadowing from PC2 #2343

wants to merge 29 commits into from

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Feb 23, 2024

1 out of 3 systems we shadow from needs an extra syntax, given that we only run this code ourselves I think this is safe.

@vmcj vmcj force-pushed the pc2_shadow branch 4 times, most recently from ac907a1 to 8d9670a Compare February 24, 2024 10:19
Copy link
Member

@eldering eldering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this PR contains way more changes than what the description suggests, which makes it difficult to review.

$freezeHour = floor($freezeStartSeconds / 3600);
$freezeMinutes = floor(($freezeStartSeconds % 3600) / 60);
$freezeSeconds = floor(($freezeStartSeconds % 60) / 60);
$freezeMilliseconds = $freezeStartSeconds - floor($freezeStartSeconds);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't just reformat code if you're not touching it, and if you do, then do it in separate commits. Also, I disagree with this kind of removal of alignment spaces. It makes the code less readable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the reformatting was done in Nicky his PR.

I added a change to his commits but this branch is (currently) mostly to make the shadowing work for tonight.

Copy link
Member

@eldering eldering Feb 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I found out afterwards, so let's have that discussion there.

As a temporary branch I think this is fine, but if this planned to be merged into main, then please rebase it on top of Nicky's merged branch, so that only the actual changes are shown in the PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We opened nickygerritsen#1 for now so we can see the actual changes in this PR. I can't do that on the main repo since my branch is not in the main repo (yet)

@eldering eldering mentioned this pull request Feb 24, 2024
@nickygerritsen nickygerritsen force-pushed the pc2_shadow branch 6 times, most recently from 679de55 to 8861dd5 Compare February 28, 2024 12:16
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

Successfully merging this pull request may close these issues.

3 participants