gonullu-1.2.2 ver. bump

This commit is contained in:
Rmys
2021-08-11 23:49:22 +03:00
committed by GitHub
parent 6a7e14861d
commit 0364092453
2 changed files with 39 additions and 3 deletions
@@ -0,0 +1,29 @@
diff -Nuar a/gonullu/docker.py b/gonullu/docker.py
--- a/gonullu/docker.py 2019-10-03 22:07:47.000000000 +0300
+++ b/gonullu/docker.py 2021-08-10 23:55:04.540780000 +0300
@@ -3,7 +3,8 @@
import shutil
import psutil
-from docker import Client
+from docker import client
+from docker import APIClient
from gonullu.log import Log
@@ -28,7 +29,7 @@
# containerımızı parametreleri ile çalıştıracağımız fonksiyonumuz.
if not self.my_client:
# my_client'de çalışan docker process'ini yakalıyorum.
- self.my_client = Client(base_url='unix://var/run/docker.sock', version='1.23')
+ self.my_client = APIClient(base_url='unix://var/run/docker.sock', version='1.35')
# container'ımızın host configlerini yapalım.
self.host_config = self.my_client.create_host_config(mem_limit='%sM' % self.memory_limit, binds=self.binds, security_opt=['seccomp:unconfined'])
@@ -143,4 +144,4 @@
self.log.blank_line()
self.log.warning(message='CTRL+C\'ye tıkladınız!')
- self.log.get_exit()
\ Dosya sonunda yenisatır yok.
+ self.log.get_exit()
+10 -3
View File
@@ -12,13 +12,13 @@
<IsA>app:console</IsA>
<Summary>Volunteer application is developed to compile the packages for Pisi distributions</Summary>
<Description>Application build the packages waiting at queue of build system as PISI packages using docker images and again, sent them to build system.</Description>
<Archive type="targz" sha1sum="3d5f3458e738b816da70061502439f02a876cce4">https://github.com/PisiLinuxNew/gonullu/archive/v1.2.1.tar.gz</Archive>
<Archive type="targz" sha1sum="883bc076b68af5d4d94a5d8fbcfa4168cebb1e3e">https://github.com/PisiLinuxNew/gonullu/archive/v1.2.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch>sandbox.patch</Patch> -->
<Patch>python-docker.patch</Patch>
</Patches>
</Source>
@@ -31,7 +31,7 @@
<Dependency>python3-backports-ssl-match-hostname</Dependency>
<Dependency>python3-colorama</Dependency>
<Dependency>python3</Dependency>
<Dependency>python3-docker-py</Dependency>
<Dependency>python3-docker</Dependency>
<Dependency>python3-psutil</Dependency>
<Dependency>python3-PyYAML</Dependency>
<Dependency>python3-requests</Dependency>
@@ -46,6 +46,13 @@
</Package>
<History>
<Update release="13">
<Date>2021-08-11</Date>
<Version>1.2.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="12">
<Date>2020-03-19</Date>
<Version>1.2.1</Version>