Rev3353, Pass arguments of storage walk, Email notify of build fail
This commit is contained in:
parent
a51d794885
commit
645249afa9
3 changed files with 5 additions and 3 deletions
|
@ -28,4 +28,6 @@ cache:
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
recipients:
|
||||||
|
hello@zeronet.io
|
||||||
on_success: change
|
on_success: change
|
||||||
|
|
|
@ -92,7 +92,7 @@ class SiteStoragePlugin(object):
|
||||||
else:
|
else:
|
||||||
return super(SiteStoragePlugin, self).isFile(inner_path)
|
return super(SiteStoragePlugin, self).isFile(inner_path)
|
||||||
|
|
||||||
def walk(self, inner_path):
|
def walk(self, inner_path, *args, **kwags):
|
||||||
if ".zip" in inner_path or ".tar.gz" in inner_path:
|
if ".zip" in inner_path or ".tar.gz" in inner_path:
|
||||||
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
|
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
|
||||||
archive_inner_path, path_within = match.groups()
|
archive_inner_path, path_within = match.groups()
|
||||||
|
@ -104,5 +104,5 @@ class SiteStoragePlugin(object):
|
||||||
return namelist
|
return namelist
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return super(SiteStoragePlugin, self).walk(inner_path)
|
return super(SiteStoragePlugin, self).walk(inner_path, *args, **kwags)
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.6.2"
|
self.version = "0.6.2"
|
||||||
self.rev = 3352
|
self.rev = 3353
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.config_file = "zeronet.conf"
|
self.config_file = "zeronet.conf"
|
||||||
|
|
Loading…
Reference in a new issue