Azure / Azure/LinuxPatchExtension
Allow to specify package version
- 主要言語
- Python
- スター
- 12
- フォーク
- 20
- 平均マージ
- 6日 4時間
- マージ済み PR(30日)
- 1
説明
**Is your feature request related to a problem? Please describe.**
My customers are not able to specify a version. This is problematic as they roll patches out to lower environments first, and sometimes (often times) by the time they get to prod, the version pushed by this agent will be different than what was tested in lower environments.
**Describe the solution you'd like**
Allow the customer to specify an image version. In zypper, you can do:
zypper install =
But the extension doesn't expose the version:
# Install update
self.single_package_upgrade_cmd = 'sudo zypper --non-interactive update '
self.zypper_install_security_patches = 'sudo zypper --non-interactive patch --category security'
**Describe alternatives you've considered**
The customer is working to accelerate their patching cycle, but no workaround exists with the extension itself that I am aware of.
コントリビューションガイド
調査の方向性
まず、拡張機能が示されている zypper update および security-patch コマンドを定義して呼び出している場所を特定します。パッケージの選択内容がどのように渡されるかを追跡し、次に顧客が指定したバージョンがどのようにコマンドに渡されるかを定義して、結果として行われるインストールで要求されたバージョンに固定されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- linux, python, shell
- 領域
- devops, operating-systems
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100