-
Notifications
You must be signed in to change notification settings - Fork 8k
Verify bundled sources using CI - UCD #21207
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
base: master
Are you sure you want to change the base?
Conversation
|
@youkidearitai @alexdowad please review |
|
Dear @mvorisek, is the idea here that instead of manually updating the mbstring Unicode data and commit the generated header files, we will not commit the generated files any more, and instead automatically generate them in CI? Personally, I like doing the updates manually, because it allows the mbstring maintainers to know when things change, add unit tests to ensure that new Unicode characters are handled correctly, etc. |
The upstream version is defined in https://github.com/mvorisek/php-src/blob/47535c101ad9c84275f82e7445dcf1494a3d729c/.github/scripts/download-bundled/unicode-character-database.sh#L8 . This is part of #19802 and this PR is not about updating the files automatically/using CI, it is about asserting the bundled files match 1:1 the upstream and no mistakes were done when updating them manually. |
47535c1 to
5428a8e
Compare
|
Unicode version up is one time per year (Unicode 18.0 is maybe 2026). So I think downloads |
The job step takes about 60 seconds. Is that really a problem compared to all other CI usage even nighly only? Also this is not something that can be easily changed in order to maintain the workflow file as short and unified as possible. |
|
|
See #20800 (comment) for example. The |
|
@mvorisek Does this mean that when a new version of Unicode is released, and the mbstring maintainers haven't yet updated (which includes checking what the changes are, adding new unit tests as appropriate, etc.) every CI run for every new PR will start failing? |
|
From supply chain points, If the |
No. The version is defined/fixed in https://github.com/mvorisek/php-src/blob/47535c101ad9c84275f82e7445dcf1494a3d729c/.github/scripts/download-bundled/unicode-character-database.sh#L8 [1]. When a new upstream version is tagged, you can take time and propose a PR like before [2] and update the reference version [1]. The CI would check then your changes. [2] The new
Not necessary. The |
|
No, necessary. |
|
This is not a problem, a) CI has timeout, b) it is hosted at official unicode.org domain, c) job timeouts happen time by time already and this repo is still working :) |
|
@mvorisek Thanks for patiently answering our questions. This is something new to me and I would like to ask for a bit more time to look at it. After doing so, I might have some more questions. Thanks very much for your hard work. |
part of #19802
assert manual steps described in #7502 and the latest #19796 update using CI