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

Remove backported revcheck compatibility #176

Merged
merged 23 commits into from
Nov 14, 2024
Merged

Conversation

alfsb
Copy link
Member

@alfsb alfsb commented Nov 11, 2024

This PR removes some of backported revcheck behaviors, that seems incorrect or makes count debugging difficult. They new behaviors are:

  1. Tracks chmonly/ as translatable;
  2. Tracks extensions.xml as translatable;
  3. Counts and lists ok and old exclusively.

The first change will include 4 files as translatable, the second will mark one file as translatable and possibly a few as NotInEn. The last does not change file tracking or listing, but it causes a lot of changes on translator listing.

What it does is counting Ok and Old cases in separated counters, and push all other situations on a "Other" counter. So after this, file count and file listing of outdated cases will match, and RevtagProblem will not be counted as Outdated.

Note that RevtagProblem cannot be listed alongside with Outdated anyways, because it's not possible to generate diff links in this case. This changes will make count debug vastly easier, as it removes all instances of possibly not counted cases in a lot of corner cases.

Reviews and commentary welcome. I plan to push this PR next week if there are no objections.

This PR supersedes #175.

@alfsb alfsb marked this pull request as ready for review November 11, 2024 21:36
@alfsb alfsb merged commit b457f42 into php:master Nov 14, 2024
10 of 12 checks passed
@alfsb alfsb deleted the revcheckchanges1 branch November 14, 2024 10:32
@alfsb
Copy link
Member Author

alfsb commented Nov 14, 2024

Merged. Now, local revcheck will slight differ from hosted revcheck, as it is tracking chmonly and some reserved.xml files, and also counting changes on translator summary.

I do plan make two, possibly three changes (robust log parsing, strict rev-skip positioning, visual tweaks), beyond the already opened PR for sequential skip-revcheck.

Let me know if systems people want to wait to all changes before updating, or want to mentioned or have issues opened in each instance.

@Girgias Girgias mentioned this pull request Dec 5, 2024
33 tasks
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