atomicshop 2.11.12a2__py3-none-any.whl → 2.11.14__py3-none-any.whl
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.
Potentially problematic release.
This version of atomicshop might be problematic. Click here for more details.
- atomicshop/__init__.py +1 -1
- atomicshop/wrappers/dockerw/install_docker.py +6 -5
- atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py +3 -2
- atomicshop/wrappers/ubuntu_terminal.py +7 -1
- {atomicshop-2.11.12a2.dist-info → atomicshop-2.11.14.dist-info}/METADATA +1 -1
- {atomicshop-2.11.12a2.dist-info → atomicshop-2.11.14.dist-info}/RECORD +9 -9
- {atomicshop-2.11.12a2.dist-info → atomicshop-2.11.14.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.11.12a2.dist-info → atomicshop-2.11.14.dist-info}/WHEEL +0 -0
- {atomicshop-2.11.12a2.dist-info → atomicshop-2.11.14.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -98,11 +98,11 @@ def install_docker_ubuntu(
|
|
|
98
98
|
# Use the docker installer script.
|
|
99
99
|
# The script will install docker and add the current user to the docker group.
|
|
100
100
|
# The script will also install docker-compose and docker-buildx.
|
|
101
|
-
process.execute_script('curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh', shell=True)
|
|
102
|
-
|
|
101
|
+
# process.execute_script('curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh', shell=True)
|
|
102
|
+
process.execute_script('curl -fsSL https://get.docker.com | sh', shell=True)
|
|
103
103
|
# process.execute_script('curl -fsSL https://get.docker.com -o get-docker.sh', shell=True)
|
|
104
104
|
# process.execute_script('sh get-docker.sh', shell=True)
|
|
105
|
-
filesystem.remove_file('get-docker.sh')
|
|
105
|
+
# filesystem.remove_file('get-docker.sh')
|
|
106
106
|
else:
|
|
107
107
|
# Remove the existing keyrings, so we will not be asked to overwrite it if it exists.
|
|
108
108
|
docker_keyring_file_path: str = "/etc/apt/keyrings/docker.gpg"
|
|
@@ -137,8 +137,9 @@ def install_docker_ubuntu(
|
|
|
137
137
|
ubuntu_terminal.update_system_packages()
|
|
138
138
|
ubuntu_terminal.install_packages(['uidmap'])
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
with permissions.temporary_regular_permissions():
|
|
141
|
+
# After 'get-docker.sh' execution, we will install docker in rootless mode.
|
|
142
|
+
process.execute_script('dockerd-rootless-setuptool.sh install', shell=True)
|
|
142
143
|
|
|
143
144
|
# # Start and enable the docker service in user mode.
|
|
144
145
|
# ubuntu_terminal.start_enable_service_check_availability('docker.service', user_mode=True, sudo=False)
|
|
@@ -38,8 +38,9 @@ def install_before_restart(
|
|
|
38
38
|
sys.exit(1)
|
|
39
39
|
|
|
40
40
|
# Install docker in rootless mode.
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
with permissions.temporary_regular_permissions():
|
|
42
|
+
install_docker.install_docker_ubuntu(
|
|
43
|
+
use_docker_installer=True, rootless=True, add_current_user_to_docker_group_bool=False)
|
|
43
44
|
|
|
44
45
|
# docker_keyring_file_path: str = "/etc/apt/keyrings/docker.gpg"
|
|
45
46
|
nodesource_keyring_file_path: str = "/etc/apt/keyrings/nodesource.gpg"
|
|
@@ -55,11 +55,17 @@ def update_system_packages():
|
|
|
55
55
|
subprocess.check_call(['sudo', 'apt-get', 'update'])
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
def upgrade_system_packages():
|
|
58
|
+
def upgrade_system_packages(apt_update: bool = True):
|
|
59
59
|
"""
|
|
60
60
|
Function upgrades the system packages.
|
|
61
|
+
:param apt_update: bool, if True, the system packages will be updated before upgrading.
|
|
62
|
+
Before upgrading the system packages, you need to update the package list first.
|
|
61
63
|
:return:
|
|
62
64
|
"""
|
|
65
|
+
|
|
66
|
+
if apt_update:
|
|
67
|
+
update_system_packages()
|
|
68
|
+
|
|
63
69
|
subprocess.check_call(['sudo', 'apt-get', 'upgrade', '-y'])
|
|
64
70
|
|
|
65
71
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256
|
|
1
|
+
atomicshop/__init__.py,sha256=-Iv9wTs_77MOM4m3nu0VxFmmIxJpXdPOYoc5vKsgJEY,124
|
|
2
2
|
atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
|
|
3
3
|
atomicshop/_create_pdf_demo.py,sha256=Yi-PGZuMg0RKvQmLqVeLIZYadqEZwUm-4A9JxBl_vYA,3713
|
|
4
4
|
atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
|
|
@@ -151,7 +151,7 @@ atomicshop/wrappers/olefilew.py,sha256=biD5m58rogifCYmYhJBrAFb9O_Bn_spLek_9HofLe
|
|
|
151
151
|
atomicshop/wrappers/pipw.py,sha256=iq4pDhmrHqKbcRi3Y6_v2PQSdb4fqfAx79rsX7JEmXo,801
|
|
152
152
|
atomicshop/wrappers/process_wrapper_pbtk.py,sha256=ycPmBRnv627RWks6N8OhxJQe8Gu3h3Vwj-4HswPOw0k,599
|
|
153
153
|
atomicshop/wrappers/pyopensslw.py,sha256=OBWxA6EJ2vU_Qlf4M8m6ilcG3hyYB4yB0EsXUf7NhEU,6804
|
|
154
|
-
atomicshop/wrappers/ubuntu_terminal.py,sha256=
|
|
154
|
+
atomicshop/wrappers/ubuntu_terminal.py,sha256=JkWSZOJ1P4af5UPZIAHYxp81KXMis3CDyjKI9RBY1aI,6954
|
|
155
155
|
atomicshop/wrappers/wslw.py,sha256=AKphiHLSddL7ErevUowr3f9Y1AgGz_R3KZ3NssW07h8,6959
|
|
156
156
|
atomicshop/wrappers/certauthw/certauth.py,sha256=hKedW0DOWlEigSNm8wu4SqHkCQsGJ1tJfH7s4nr3Bk0,12223
|
|
157
157
|
atomicshop/wrappers/certauthw/certauthw.py,sha256=4WvhjANI7Kzqrr_nKmtA8Kf7B6rute_5wfP65gwQrjw,8082
|
|
@@ -164,7 +164,7 @@ atomicshop/wrappers/ctyping/msi_windows_installer/extract_msi_main.py,sha256=eyF
|
|
|
164
164
|
atomicshop/wrappers/ctyping/msi_windows_installer/tables.py,sha256=ajiFiLXl1prg2kOhatfT8E2RKX7F8JjUJpwkVuKu1GY,16263
|
|
165
165
|
atomicshop/wrappers/dockerw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
166
166
|
atomicshop/wrappers/dockerw/dockerw.py,sha256=w8zSJr5C7cbvbuG09ORCpAe0BOcibqqL_Z2EKEBHYK4,6266
|
|
167
|
-
atomicshop/wrappers/dockerw/install_docker.py,sha256=
|
|
167
|
+
atomicshop/wrappers/dockerw/install_docker.py,sha256=_F2dGMgsywR0gdQn8LNYELyJtIjjxs-Qw4QArrdoUpE,7478
|
|
168
168
|
atomicshop/wrappers/elasticsearchw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
169
169
|
atomicshop/wrappers/elasticsearchw/config_basic.py,sha256=fDujtrjEjbWiYh_WQ3OcYp_8mXhXPYeKLy4wSPL5qM0,1177
|
|
170
170
|
atomicshop/wrappers/elasticsearchw/elasticsearchw.py,sha256=7TqFdEFznO8NlligJhEKk1vm641ALpCYdaRl1uoXdzM,9768
|
|
@@ -187,7 +187,7 @@ atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=jJAoJNQ4aoATjn3x
|
|
|
187
187
|
atomicshop/wrappers/factw/fact_extractor/get_extractor.py,sha256=2mfOAftHIlCcGt1s7MWdq7DsDCuI6wX3MtvcEZ4SK-0,756
|
|
188
188
|
atomicshop/wrappers/factw/install/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
189
|
atomicshop/wrappers/factw/install/install_after_restart.py,sha256=-VXC3KDX2BzF0oi0ELCmfch55vLk-3t16KxlmYyUGD8,1560
|
|
190
|
-
atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=
|
|
190
|
+
atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=PQebNUYlj9Z8s4lRmbIUmq56t8IkaPJm0aAFDUiFjys,4505
|
|
191
191
|
atomicshop/wrappers/factw/postgresql/__init__.py,sha256=xMBn2d3Exo23IPP2F_9-SXmOlhFbwWDgS9KwozSTjA0,162
|
|
192
192
|
atomicshop/wrappers/factw/postgresql/analysis.py,sha256=2Rxzy2jyq3zEKIo53z8VkjuslKE_i5mq2ZpmJAvyd6U,716
|
|
193
193
|
atomicshop/wrappers/factw/postgresql/file_object.py,sha256=VRiCXnsd6yDbnsE-TEKYPC-gkAgFVkE6rygRrJLQShI,713
|
|
@@ -242,8 +242,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
|
|
|
242
242
|
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
|
|
243
243
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
|
|
244
244
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
|
|
245
|
-
atomicshop-2.11.
|
|
246
|
-
atomicshop-2.11.
|
|
247
|
-
atomicshop-2.11.
|
|
248
|
-
atomicshop-2.11.
|
|
249
|
-
atomicshop-2.11.
|
|
245
|
+
atomicshop-2.11.14.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
246
|
+
atomicshop-2.11.14.dist-info/METADATA,sha256=Q8g2O2SjKgyHypZR5sdhX6agrS9EAm4UWmnFcx-hXMc,10448
|
|
247
|
+
atomicshop-2.11.14.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
248
|
+
atomicshop-2.11.14.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
249
|
+
atomicshop-2.11.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|