hust-open-atom-club / TranslateProject

参考 Linux 中国翻译项目,设计我们开源俱乐部的翻译项目 HCTT TranslateProject。
https://hctt.hust.openatom.club/
Creative Commons Attribution Share Alike 4.0 International
18 stars 27 forks source link

Add an CI check to verify if an article in the status of translating is out of date #80

Open mudongliang opened 2 months ago

mudongliang commented 2 months ago

Our requirement for articles in the status of translating is one month ddl, i.e., the translation must be submitted within one month.

inscripoem commented 2 months ago

Requirements:

mudongliang commented 1 month ago

There is another solution to do this. We can add a feishu bot to monitor the articles with translating status. Then it can raise alert in the Feishu group. This may be more convenient.

mudongliang commented 1 month ago

And this need adding a new metadata when requesting translation of one article: translating_date, i.e., the date applying the translation task.

inscripoem commented 1 month ago

There is another solution to do this. We can add a feishu bot to monitor the articles with translating status. Then it can raise alert in the Feishu group. This may be more convenient.

Feishu bot could be a good idea in terms of reminding, since we just need a notification.

inscripoem commented 1 month ago

The refactoring of CI checker can follow the logic flow mentioned in #115 , triggered by the change in status field. And checks can focus on the change of status, like translating -> translated, instead of the status itself.

mudongliang commented 1 month ago

@inscripoem 我们后续使用 actions/setup-python@v5 来做检查吧,shell做简单逻辑编写很快,复杂逻辑还是python更合适,写起来快一些