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

skip-revisions, select columns, callbacks = The forever reroll #184

Closed
wants to merge 1 commit into from

Conversation

drzraf
Copy link

@drzraf drzraf commented Jun 12, 2023

Replacement callback & row-based filtering (include/exclude posts revisions)

  • Replacing revisions is confusing (total replacements count) and annoying
  • Specifying rows/columns/custom --where expression has been a long requested feature (for more than 6 years)
  • Extra flexibility regarding replacements (custom PHP callback) has also been requested multiple times

I plea upstream to consider the PR without incurring X more extra rerolls to contributors (who already pumped dozens of hours of man work into the useless and error-prone task of rebasing) [The diff talks for itself]

This PR lack tests: Yes because tests are always hard and painful to write for external contributors but less time-consuming/easier to write correctly by long-time codebase maintainers.

Is this feature better inside (without automated tests) rather than unavaiable? I believe so.

@drzraf drzraf requested a review from a team as a code owner June 12, 2023 18:18
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

This PR lack tests

It will need tests. We recently got bit by a bad bug: #183

This search-replace code is complex. It's more important that it works properly, vs. adding new features.

tests are always hard and painful to write for external contributors but less time-consuming/easier to write correctly by long-time codebase maintainers.

The only difference between these two groups: one group put in the time to figure out how to write good tests.

Our docs clearly state that tests are required. Additionally, from the homepage: "remember, libre != gratis; the open source license grants you the freedom to use and modify, but not commitments of other people’s time. Please be respectful, and set your expectations accordingly."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants