goatcorp / Plogon

Build system for Dalamud Plugins
7 stars 13 forks source link

The Plogonening (try 3) #50

Closed NotNite closed 9 months ago

NotNite commented 11 months ago

Ended up redoing it because merge conflicts. MERGE AFTER API 9, I DID NOT TEST THIS IN A PRODUCTION SETUP.

philpax commented 9 months ago

There's no way to decouple the formatting changes from the functional changes, is there? Hiding whitespace still triggers a diff on linebreak :(

NotNite commented 9 months ago

I can theoretically decouple them into multiple commits if that'd be preferred, but to be honest I forgot what exactly I changed at this point.

philpax commented 9 months ago

Would it be possible to reformat to the original formatting (I'm guessing not, because the .editorconfig was introduced afterwards), extract the local changes, and then reapply the reformat?

NotNite commented 9 months ago

No, because the formatting of the original repository was inconsistent with basically every style guide I checked. There is no "reformat to the original formatting" because the original formatting wasn't formatted in the first place.

philpax commented 9 months ago

...would it be possible to undo the commit, revert all of the formatting changes manually, make a commit for local fixes, and then reapply the formatting? Having them split apart will make it much easier to review / much more likely to land.

NotNite commented 9 months ago

Really I can just redo the changes I made from scratch and guess what was wrong, which is probably the easiest. Should I revert the commit on this branch and commit new ones?

philpax commented 9 months ago

Up to you! I'd personally git reset HEAD~ and hack away at it, but a revert is also fine.

philpax commented 9 months ago

lol that was quick

NotNite commented 9 months ago

ADHD gremlin unmatched power 💪

philpax commented 9 months ago

@goaaats sir

goaaats commented 9 months ago

I was fighting through the reformat earlier, I'll try to get it merged in my lunch break tomorrow

goaaats commented 9 months ago

Hand-merged and reapplied the format, thanks a bunch. I added you as a co-author but GitHub doesn't seem to be showing it, apologies.

NotNite commented 9 months ago

Thank you! It's probably because I have GitHub vigilant mode on, but w/e, I don't care.