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

Rewrite and document git log parsing #180

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Conversation

alfsb
Copy link
Member

@alfsb alfsb commented Nov 18, 2024

My rewrite of revcheck.php 3 years ago used a bit of magic. It relied upon some context-free characteristics of git log format that still holds, but is fragile, and also interact badly with [skip-revcheck] logic on borderline cases (sequential, misaligned). This rewrite makes the code more stateful and more precise, to better document what data is extracted from each part of the log, and in what order.

Tested on de,es,fr,it,ja,pl,pt_BR,ro,ru,tr,uk,zh with no regressions. This is the last push before finally tackling the root cause of issue 133.

Reviews and comments welcome. I plan to merge this in about one week.

@alfsb alfsb merged commit df44b2d into php:master Nov 25, 2024
11 of 12 checks passed
@alfsb
Copy link
Member Author

alfsb commented Nov 25, 2024

Merge. Let me know if are any regressions.

@Girgias Girgias mentioned this pull request Dec 5, 2024
33 tasks
@alfsb alfsb deleted the PRECISE_LOG_PARSER branch February 7, 2025 19:06
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.

1 participant