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

refactor: Rename Window.js to Window‑impl.js #2837

Closed

Conversation

ExE-Boss
Copy link
Contributor

Pre‑requisite for #2835.


See #2764 for explanation.

@ExE-Boss ExE-Boss force-pushed the refactor/window/rename-window-file branch from 6eb7e89 to 4a37845 Compare February 16, 2020 22:53
@ExE-Boss ExE-Boss changed the title refactor: Rename Window.js refactor: Rename Window.js to Window‑impl.js Feb 16, 2020
@ExE-Boss
Copy link
Contributor Author

I’ve now rebased this on top of #2548.

@ExE-Boss ExE-Boss force-pushed the refactor/window/rename-window-file branch from 4a37845 to 4d109b0 Compare March 17, 2020 17:52
@TimothyGu
Copy link
Member

I'm going to close this as #2835 is not ready yet. I would advise you to fold this into #2835 itself. Please try to get over your phobia of history rewriting tools in Git like rebase and interactive rebase. And also as a final advice, please use the commit message format that everyone else uses (i.e., not conventional commits) to save us some work when merging your PRs.

@TimothyGu TimothyGu closed this Mar 26, 2020
@ExE-Boss
Copy link
Contributor Author

Actually, #2835 is ready.

@TimothyGu
Copy link
Member

Well #2835 is still in draft mode…

@ExE-Boss
Copy link
Contributor Author

ExE-Boss commented Mar 26, 2020

I’ll undraft it after all its dependencies (including this and #2918) are merged.

@ExE-Boss
Copy link
Contributor Author

ExE-Boss commented Mar 26, 2020

Please try to get over your phobia of history rewriting tools in Git like rebase and interactive rebase.

I have learned the hard way to prefer git merge and only use squash and merge once a PR is ready when I accidentally FUBAR’d the codebase of NOVA-Team/NOVA-Monorepo#234 so much that javac would crash during compilation and I had to manually re‑create the history in order to roll‑back the changes which broke it in the first place.

Fixing that hot mess took several days.


please use the commit message format that everyone else uses (i.e., not conventional commits) to save us some work when merging your PRs.

I use a modified Angular commit message format, because that’s what I’m used to.

@domenic
Copy link
Member

domenic commented Mar 26, 2020

You're not going to be allowed to work on this project if you do not respect its conventions. Please follow @TimothyGu's advice.

@TimothyGu
Copy link
Member

I use a modified Angular commit message format, because that’s what I’m used to.

Well, this may sound awfully obviously but, jsdom is not your project, and we don’t particularly care about what you are used to or not. It is well-known across open source and the software engineering world in general that when you contribute to someone else’s project, you follow their rules. Bringing your own style “is disrespectful, like someone tromping into a spotlessly-clean house with muddy shoes.”

As a maintainer, I have a choice to make every time you submit a PR that looks good otherwise: merge it and fix up all of the style things – myself – or just leave the PR be because it would be too much work to merge it. So far I’ve mostly been doing the former, but I’m telling you that it’s getting closer and closer to my limit.

Same with history rewriting. I don’t know how the heck you managed to do that, but I don’t particularly care. Benefits for using git rebase origin/master are clear in that it prevents things like jsdom/webidl2js#179 (comment).

All in all, I’m telling you to do these things that are standard practice at jsdom, whether you like it or not. You could choose to not abide by them, but in turn I could choose to not merge them. That’s just how it is.

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.

None yet

3 participants