10000 Change from a cron to a daemon · Issue #77 · python/docsbuild-scripts · GitHub
[go: up one dir, main page]

Skip to content

Change from a cron to a daemon #77

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

Closed
5 tasks
JulienPalard opened this issue Jun 21, 2019 · 1 comment
Closed
5 tasks

Change from a cron to a daemon #77

JulienPalard opened this issue Jun 21, 2019 · 1 comment

Comments

@JulienPalard
Copy link
Member

Multiple time in the history of this cron, a sphinx-build is launched while the previous one is not complete.

Also we're only building a few versions, so it does not take too long, but we're adding languages, so it take more and more time.

I propose to convert this script to a daemon, while keeping the possibility to start it one shot as a script manually.

The feature I would like to see in the daemon:

  • Availability to build old versions, less often than new versions, so they get the new version links in their menu and deprecation header more easily.
  • Listen for notifications from github to start a build right after a push, either on translations or on cpython.
  • Avoid building where it's not needed.
  • Do not start a build when a build is already running.
  • Implement a /health/ endpoint showing the overall health of the build system, it may even be integrated to display a green/red line on status.python.org maybe.

I don't think all those feature are impossible as a cron, typically I could implement "avoid building when it's not needed", just by skipping the call to sphinx-build if the previous git pull has pulled nothing. But overall, I think having it as a daemon could help implementing more things.

I'm opening the issue to gather feedback before starting to work on it.

@JulienPalard
Copy link
Member Author

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

1 participant
0