update-linux 3.0.5__tar.gz → 3.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {update-linux-3.0.5 → update-linux-3.0.7}/PKG-INFO +5 -2
- {update-linux-3.0.5 → update-linux-3.0.7}/pyproject.toml +1 -1
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux/__init__.py +6 -3
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/PKG-INFO +5 -2
- {update-linux-3.0.5 → update-linux-3.0.7}/LICENSE +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/README.md +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/requirements.txt +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/setup.cfg +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux/__main__.py +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/SOURCES.txt +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/dependency_links.txt +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/entry_points.txt +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/requires.txt +0 -0
- {update-linux-3.0.5 → update-linux-3.0.7}/src/update_linux.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: update-linux
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.7
|
|
4
4
|
Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
|
|
5
5
|
Author-email: Barry Scott <barry@barrys-emacs.org>
|
|
6
|
-
License: Apache
|
|
6
|
+
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/barry-scott/CLI-tools
|
|
8
8
|
Project-URL: Bug Tracker, https://github.com/barry-scott/CLI-tools/issues
|
|
9
9
|
Keywords: development
|
|
@@ -14,6 +14,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
14
14
|
Requires-Python: >=3.10
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
+
Requires-Dist: config-path
|
|
18
|
+
Requires-Dist: colour-text
|
|
19
|
+
Requires-Dist: ssh-wait
|
|
17
20
|
|
|
18
21
|
# update-linux command
|
|
19
22
|
|
|
@@ -10,7 +10,7 @@ authors = [
|
|
|
10
10
|
description = "Command to automate the routine updating of packages and system upgrading for Unix systems."
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.10"
|
|
13
|
-
license = {text = "Apache
|
|
13
|
+
license = {text = "Apache-2.0"}
|
|
14
14
|
keywords = [ "development" ]
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Intended Audience :: End Users/Desktop",
|
|
@@ -9,7 +9,7 @@ import tempfile
|
|
|
9
9
|
import json
|
|
10
10
|
from config_path import ConfigPath # type: ignore
|
|
11
11
|
|
|
12
|
-
VERSION = '3.0.
|
|
12
|
+
VERSION = '3.0.7'
|
|
13
13
|
|
|
14
14
|
default_json_config_template = u'''{
|
|
15
15
|
"group":
|
|
@@ -480,7 +480,10 @@ For help:
|
|
|
480
480
|
elif os.getuid() != 0:
|
|
481
481
|
cmd = ['sudo'] + cmd
|
|
482
482
|
|
|
483
|
-
self.debug( 'runAndLog( %s )' % (' '.join( cmd ),) )
|
|
483
|
+
self.debug( 'runAndLog( %s, log=%r )' % (' '.join( cmd ), log) )
|
|
484
|
+
if log:
|
|
485
|
+
self.info( host, 'Run command: %s' % (' '.join( cmd ),) )
|
|
486
|
+
|
|
484
487
|
stdout = []
|
|
485
488
|
p = subprocess.Popen( cmd, stderr=subprocess.STDOUT, stdout=subprocess.PIPE )
|
|
486
489
|
while True:
|
|
@@ -616,7 +619,7 @@ class UpdatePluginFedora:
|
|
|
616
619
|
self.app.waitAllSystemdJobsFinished( host, update_log_name )
|
|
617
620
|
|
|
618
621
|
# see if there are an services that need a restart
|
|
619
|
-
cmd = ['dnf', 'needs-restarting', '
|
|
622
|
+
cmd = ['dnf', 'needs-restarting', '--services', '--reboothint']
|
|
620
623
|
rc, stdout = self.app.runAndLog( host, cmd )
|
|
621
624
|
if rc != 0:
|
|
622
625
|
self.app.info( host, 'Reboot required to restart services' )
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: update-linux
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.7
|
|
4
4
|
Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
|
|
5
5
|
Author-email: Barry Scott <barry@barrys-emacs.org>
|
|
6
|
-
License: Apache
|
|
6
|
+
License: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/barry-scott/CLI-tools
|
|
8
8
|
Project-URL: Bug Tracker, https://github.com/barry-scott/CLI-tools/issues
|
|
9
9
|
Keywords: development
|
|
@@ -14,6 +14,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
14
14
|
Requires-Python: >=3.10
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
+
Requires-Dist: config-path
|
|
18
|
+
Requires-Dist: colour-text
|
|
19
|
+
Requires-Dist: ssh-wait
|
|
17
20
|
|
|
18
21
|
# update-linux command
|
|
19
22
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|