aktin / aktin/debian-updateagent-pkg

ensure non-blocking execution

オープン
#21 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Shell
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

The current scripts and architecture is coded around certain assumptions of the system. It is possible, that some scripts could unexpectedly return a error code that would exit the entire script, even cleanup afterwards resulting in a messy filesystem. We should consider ways to ensure important steps like cleanup are still possible, even on a failing command.

For that we need to consider
- what are the most important general steps to always perform no matter the execution state (like cleanup step)
- how to implement handlers, catching and logging failures, without terminating
- which commands could lead to those errors (see curl fetching a 404 error page or grep not finding the directory and so on)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。