update-linux 3.2.0__tar.gz → 3.3.0__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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: update-linux
3
- Version: 3.2.0
3
+ Version: 3.3.0
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
6
  License: Apache-2.0
@@ -17,6 +17,7 @@ License-File: LICENSE
17
17
  Requires-Dist: config-path
18
18
  Requires-Dist: colour-text
19
19
  Requires-Dist: ssh-wait
20
+ Dynamic: license-file
20
21
 
21
22
  # update-linux command
22
23
 
@@ -9,7 +9,7 @@ import tempfile
9
9
  import json
10
10
  from config_path import ConfigPath # type: ignore
11
11
 
12
- VERSION = '3.2.0'
12
+ VERSION = '3.3.0'
13
13
 
14
14
  default_json_config_template = u'''{
15
15
  "group":
@@ -369,6 +369,7 @@ For help:
369
369
  cmd = ['killall', '-HUP', 'mDNSResponder']
370
370
  self.runAndLog( None, cmd, log=False )
371
371
 
372
+
372
373
  def detectOperatingSystem( self, host ):
373
374
  if host is not None:
374
375
  rc = ssh_wait( host, wait=False, log_fn=None )
@@ -393,6 +394,13 @@ For help:
393
394
 
394
395
  for line in stdout:
395
396
  line = line.strip()
397
+ if line.startswith('@@@'):
398
+ self.warn( host, 'ssh warning detected - please fix' )
399
+ for line in stdout:
400
+ print( self.ct( '<>proc %s<>: %s' % (host or 'localhost', line.rstrip()) ) )
401
+
402
+ return None, None, None
403
+
396
404
  if line == '' or '=' not in line:
397
405
  continue
398
406
 
@@ -401,7 +409,6 @@ For help:
401
409
  value = value[1:-1]
402
410
  os_release[key] = value
403
411
 
404
-
405
412
  os_main_id = os_release.get('ID', None)
406
413
  os_id_set = set([os_main_id])
407
414
  os_version_id = os_release.get('VERSION_ID', 'Unknown')
@@ -666,7 +673,7 @@ class UpdatePluginFedora:
666
673
 
667
674
  self.app.info( host, 'Rebooting to install system-upgrade' )
668
675
  # upgrades of lots of packages can be slow - wait for 45 minutes
669
- if self.app.reboot( host, ['dnf', 'system-upgrade', 'reboot'], wait_limit=45*60 ):
676
+ if self.app.reboot( host, ['dnf', 'system-upgrade', 'reboot', '--assumeyes'], wait_limit=45*60 ):
670
677
  self.app.checkServices( host, upgrade_log_name )
671
678
 
672
679
  self.app.info( host, 'Now running release %d' % (self.releaseInfo( host ),) )
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: update-linux
3
- Version: 3.2.0
3
+ Version: 3.3.0
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
6
  License: Apache-2.0
@@ -17,6 +17,7 @@ License-File: LICENSE
17
17
  Requires-Dist: config-path
18
18
  Requires-Dist: colour-text
19
19
  Requires-Dist: ssh-wait
20
+ Dynamic: license-file
20
21
 
21
22
  # update-linux command
22
23
 
File without changes
File without changes
File without changes