You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The yarn export:production script downloads course content from remote sources and uses them in the build process. If any of those courses has a bug, it can cause build errors. As far as I can tell there's no fix other than to edit config/courses.json and remove or downgrade the course.
Currently the production CI action is failing because there's an error in the French from English course
RuntimeError: Error while exporting skill "Chiffres 2" in file "4_Numbers/skills/4_Numbers_2.yaml": The French word "téléphones" does not have a definition. Please add it to the mini-dictionary.
This issue was fixed two weeks ago, but that repository hasn't created a new release since committing the fix. With no new release, the librelingo build is still downloading the old course release, breaking the build process.
A short-term fix would be for the LibreLingo_FR_from_EN repo to create a new bugfix release to get CI to start building correctly again. In the long-term, it might make sense to switch to git submodules. Instead of downloading release artifacts during the build process, the main librelingo repo would be directly tracking each course. Librelingo could pin specific versions, and even use commits that aren't part of a release, which would make quick bugfixes easier to integrate - no more needing to wait for a release.
The text was updated successfully, but these errors were encountered:
In the long-term, it might make sense to switch to git submodules. Instead of downloading release artifacts during the build process, the main librelingo repo would be directly tracking each course. Librelingo could pin specific versions, and even use commits that aren't part of a release, which would make quick bugfixes easier to integrate - no more needing to wait for a release.
I was thinking to even just maintain a separate repository with the cached version of the course data for each course that is only updated if the build succeeded and left unchanged otherwise.
The
yarn export:production
script downloads course content from remote sources and uses them in the build process. If any of those courses has a bug, it can cause build errors. As far as I can tell there's no fix other than to editconfig/courses.json
and remove or downgrade the course.Currently the production CI action is failing because there's an error in the French from English course
This issue was fixed two weeks ago, but that repository hasn't created a new release since committing the fix. With no new release, the librelingo build is still downloading the old course release, breaking the build process.
A short-term fix would be for the LibreLingo_FR_from_EN repo to create a new bugfix release to get CI to start building correctly again. In the long-term, it might make sense to switch to git submodules. Instead of downloading release artifacts during the build process, the main librelingo repo would be directly tracking each course. Librelingo could pin specific versions, and even use commits that aren't part of a release, which would make quick bugfixes easier to integrate - no more needing to wait for a release.
The text was updated successfully, but these errors were encountered: