-
Notifications
You must be signed in to change notification settings - Fork 31
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
Defect: PO-Revision-Date
being removed causes validation errors in 1.x release
#131
Comments
Update as this came up again very recently. The validate functionality in this library calls out to Line 76 in 851c02f
Specifically, the |
#129 seems to be the culprit. @shadinaif @OmarIthawi any thoughts? |
@justinhynes Sorry that it broke the CI. It was an unintended consequence of our change. Otherwise, we could have bumped a major version for the To give some context, we removed it because Translations is being refactored as part of OEP-58 which will eventually remove the translations from individual repositories. Credentials deprecation pull requests haven't been done but here's an example from another repo: I'd like to suggest a couple of options in the following order:
Please let me know which option makes more sense to proceed with and we'll try to fix the issues. |
Thanks for the extra eyes and your suggestions on this, @OmarIthawi. Unfortunately, we can't follow your first suggestion -- the The reason this is turning into a problem now is that we were told that upgrading to 1.x of We can try and look at suggestion #2, but I expect that the i18n tool will just strip it out again? |
@justinhynes This behavior will be added to Again, apologies for breaking the workflow. no. 2 seems to be the way to go. So if others agree we can move forward and document this decision as soon as possible. cc: @shadinaif and @brian-smith-tcril what do you think? |
Thank you for the details @justinhynes . I was able to reproduce the error locally. The fix is on the way. I tried it and now |
@justinhynes We've completed the fix, would you mind testing it before we cut a new release? |
Hey @OmarIthawi, I'll try to get to this today. Sorry for the slow response, I was out of commission for a few days due to COVID. |
@justinhynes thanks for the heads up! Get well and fully recovered soon! |
I was able to try the changes first thing this morning and it looks good. No issues locally. Thanks! |
Closed by #140 and released in v1.3.0. |
We recently updated the
edx-i18n-tools
package in the Credentials IDA and it appears to be causing issues. We have temporarily pinned the version to the 0.9.x release (which resolved our CI issues).It looks like the
PO-Revision-Date
attribute in the file (headers?) are being removed now. When validation is run using this package, it is flagging the missingPO-Revision-Date
data as a warning, which causes the validation to fail with an error. Since the validation exits with an error code, it is causing issues in the Credentials CI.I have a PR demonstrating the issue here: https://github.com/openedx/credentials/pull/2085/files.
The failing CI checks can be seen here: https://github.com/openedx/credentials/actions/runs/5588178826/jobs/10214553458?pr=2085
Example logs from the failing
validate
:The text was updated successfully, but these errors were encountered: