From 06c87b57ea04fd073c792185fe0c776f3791a00b Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Tue, 18 Feb 2025 16:38:07 -0600 Subject: [PATCH 1/6] Update _params.py Modifying the repair-button --button-command text --- src/vm-repair/azext_vm_repair/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm-repair/azext_vm_repair/_params.py b/src/vm-repair/azext_vm_repair/_params.py index 23bfaf3e2a8..e5f844e8d1b 100644 --- a/src/vm-repair/azext_vm_repair/_params.py +++ b/src/vm-repair/azext_vm_repair/_params.py @@ -65,7 +65,7 @@ def load_arguments(self, _): c.argument('repair_group_name', help='Name for new or existing resource group that will contain repair VM.') with self.argument_context('vm repair repair-button') as c: - c.argument('button_command', help='Button_command for repair VM.') + c.argument('button_command', help='Specific ALAR script being used for repair VM.') c.argument('repair_username', help='Admin username for repair VM.') c.argument('repair_password', help='Admin password for the repair VM.') c.argument('copy_disk_name', help='Name of OS disk copy.') From ae88790a8bfc99f109a70c30af1a54563abd12b0 Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Tue, 18 Feb 2025 16:47:39 -0600 Subject: [PATCH 2/6] Update _help.py Modifying the summary for both repair-button and repair-and-restore to make them more accurate --- src/vm-repair/azext_vm_repair/_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm-repair/azext_vm_repair/_help.py b/src/vm-repair/azext_vm_repair/_help.py index bdd0bbedde0..36a919418ee 100644 --- a/src/vm-repair/azext_vm_repair/_help.py +++ b/src/vm-repair/azext_vm_repair/_help.py @@ -110,7 +110,7 @@ helps['vm repair repair-and-restore'] = """ type: command - short-summary: Repair and restore the VM. + short-summary: Non-interactive command. Repair fstab issues using a temporary repair VM and restore the VM by replacing the VM's OS disk with the fixed copy disk. examples: - name: Repair and restore a VM. text: > @@ -118,7 +118,7 @@ """ helps['vm repair repair-button'] = """ type: command - short-summary: repair button script. + short-summary: Non-interactive command used by repair VM buttons. Repair issues using ALAR scripts. Create a temporary repair VM and restore the VM by replacing the VM's OS disk with the fixed copy disk. examples: - name: repair-button. text: > From ff77b946847cef76a3919e3b9898c8d797160fee Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Tue, 18 Feb 2025 16:48:47 -0600 Subject: [PATCH 3/6] Update setup.py Increasing version number as instructed by Adam Sandor --- src/vm-repair/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm-repair/setup.py b/src/vm-repair/setup.py index 5ebb337854d..b8387429c04 100644 --- a/src/vm-repair/setup.py +++ b/src/vm-repair/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.0.3" +VERSION = "2.0.4" CLASSIFIERS = [ 'Development Status :: 4 - Beta', From 4be9c84829387e6345b2a15ec42310f0a9e341ba Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Tue, 18 Feb 2025 16:51:46 -0600 Subject: [PATCH 4/6] Update HISTORY.rst updating release history --- src/vm-repair/HISTORY.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vm-repair/HISTORY.rst b/src/vm-repair/HISTORY.rst index 3536efff79b..6fa4520e9d5 100644 --- a/src/vm-repair/HISTORY.rst +++ b/src/vm-repair/HISTORY.rst @@ -1,6 +1,9 @@ Release History =============== +2.0.4 +++++++ +Updated `az vm repair repair-button` and `az vm repair repair-and-restore` help descriptions and parameter description in the --button-command argument from repair-button. 2.0.3 ++++++ From d1346ca6e6d9ccd88b8acc088df2c92fdeb58014 Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Wed, 19 Feb 2025 15:15:14 -0600 Subject: [PATCH 5/6] Update src/vm-repair/azext_vm_repair/_help.py Minor wording fix Co-authored-by: Adam Sandor --- src/vm-repair/azext_vm_repair/_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm-repair/azext_vm_repair/_help.py b/src/vm-repair/azext_vm_repair/_help.py index 36a919418ee..9f2f83775bb 100644 --- a/src/vm-repair/azext_vm_repair/_help.py +++ b/src/vm-repair/azext_vm_repair/_help.py @@ -118,7 +118,7 @@ """ helps['vm repair repair-button'] = """ type: command - short-summary: Non-interactive command used by repair VM buttons. Repair issues using ALAR scripts. Create a temporary repair VM and restore the VM by replacing the VM's OS disk with the fixed copy disk. + short-summary: Non-interactive command used by repair VM buttons. Repairs issues using ALAR scripts. Creates a temporary repair VM and restores the VM by replacing the VM's OS disk with the fixed copied disk. examples: - name: repair-button. text: > From a7e30e0493cfe1de9efd2d263b8d5ba4beb22406 Mon Sep 17 00:00:00 2001 From: Diego Vargas Date: Wed, 19 Feb 2025 15:15:35 -0600 Subject: [PATCH 6/6] Update src/vm-repair/azext_vm_repair/_help.py Minor wording fix Co-authored-by: Adam Sandor --- src/vm-repair/azext_vm_repair/_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm-repair/azext_vm_repair/_help.py b/src/vm-repair/azext_vm_repair/_help.py index 9f2f83775bb..4127dc018b7 100644 --- a/src/vm-repair/azext_vm_repair/_help.py +++ b/src/vm-repair/azext_vm_repair/_help.py @@ -110,7 +110,7 @@ helps['vm repair repair-and-restore'] = """ type: command - short-summary: Non-interactive command. Repair fstab issues using a temporary repair VM and restore the VM by replacing the VM's OS disk with the fixed copy disk. + short-summary: Non-interactive command. Repairs fstab issues using a temporary repair VM and restore the VM by replacing the VM's OS disk with the fixed temporary copied disk. examples: - name: Repair and restore a VM. text: >