Azure / Azure/LinuxPatchExtension

Allow to specify package version

Open
#335 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
20
Avg merge
6d 4h
Merged PRs (30d)
1

Description

**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.

Contributor guide

Open the contributing guide

Research direction

Start by locating where the extension defines and invokes the shown zypper update and security-patch commands. Trace how package selections are supplied, then define how a customer-provided version reaches the command and verify that the resulting installation pins the requested version.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, shell
Domain
devops, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.