-
Notifications
You must be signed in to change notification settings - Fork 9
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
Modularize trust system #43
Comments
Interesting idea, thanks for raising this. One general issue is that aurto is designed for unattended/automatic building. In use you don't directly interact with it, so when trust fails currently the packages are simply evicted from the aurto repo and you can see them with Just thinking about that it would be cool to have more clarity/notifications when that happens. But user prompts are not really something aurto is equipped to do. |
If trust fails, of course there needs to be a notification. But for both trust failure and temporary failure, I would not remove the current package from the repo, but just not build the update. Adding a new package should almost always be done with user supervision anyway. |
aurto removes them from the repo sort of as the way of notifying (you can run Removing works fairly well as otherwise it would be more difficult to get aurutils to avoid rebuilding them & of course the packages do stay installed on actual systems they just need maintenance before becoming automatically updated in the aurto repo again.
Yep when you add packages is when you currently interact with the trust system, ie add trusted maintainers. So I see some separate items from this:
|
Hi,
I would like to be able to manually review changes to packages, using a (Telegram/Slack/Whatever)Bot or a Webinterface with E-Mail notifications. To be able to do this: I propose the following trust system:
To determine if an update is trusted, a list of modules will be provided in the config. Then when an update is available, every trust module is executed with some metadata and the repo diff as arguments. Every module can return three values: "Trust", "Don't Trust", "Can't decide" and "WaitOnCallback". "Can't decide" will cause the next module in the list to be called. User prompts should be allowed to modules when a special argument is given. "WaitOnCallback" means that the module can't currently decide and will present it's decision in the future.
Example list of modules:
The text was updated successfully, but these errors were encountered: