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

Automatic update using GitHub hooks #1

Open
David-Estevez opened this issue Apr 12, 2017 · 4 comments
Open

Automatic update using GitHub hooks #1

David-Estevez opened this issue Apr 12, 2017 · 4 comments

Comments

@David-Estevez
Copy link
Collaborator

Webpage updates are currently done by calling hourly the update script.

GitHub hooks could be configured to trigger the update only when someone creates a new issue in the corresponding repo.

@Siotma
Copy link
Collaborator

Siotma commented May 18, 2017

Maybe, it could be helpful to have an "Update button" just to be manually pushed when the status of any printer has to be changed.

This would also be an intermediate step to have an automatic update system.

@David-Estevez
Copy link
Collaborator Author

With the current implementation, having an "update button" is equivalent in development time to a GitHub hook, as both require to change the static webpage to a server waiting for some input to be updated.

Do you think the hourly update is not updating printers fast enough? Should we perform the update more frequently? (while we don't have any auto-update)

@jgvictores
Copy link
Member

Sorry to say, IMHO: manual by button < hourly by CRON < triggered by event

... which would place triggered by event as the only possible enhancement over the current hourly by CRON. Thus, a +1 to the proposal of @David-Estevez.

@Siotma
Copy link
Collaborator

Siotma commented May 19, 2017

Actually, I was talking about having both systems active at the same time, I'm aware that having just a button is worse than the actual implementation.

I think one hour is good enough until a dynamic behavior can be achieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants