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

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

Open
mudongliang opened this issue Jun 3, 2024 · 6 comments

Comments

@mudongliang
Copy link
Member

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

@inscripoem
Copy link
Member

inscripoem commented Jun 3, 2024

Requirements:

  • Check the translating date every day (also can be triggered manually) and list items that will expire soon
  • Close the corresponding PR if a translating item has expired
  • (Optional) Display the expiring date in the frontend, at translating page

@mudongliang
Copy link
Member Author

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
Copy link
Member Author

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

@inscripoem
Copy link
Member

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
Copy link
Member

inscripoem commented Jul 18, 2024

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
Copy link
Member Author

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

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

No branches or pull requests

2 participants