Semplificati alcuni messaggi nell'output.
This commit is contained in:
parent
3a9f13594c
commit
b087e85ec5
|
@ -161,6 +161,7 @@ class Build(loaih.RemoteBuild):
|
|||
self.calculate()
|
||||
|
||||
for arch in self.arch:
|
||||
print(f"Searching for {self.appimagefilename[arch]}")
|
||||
# First, check if by metadata the repo is remote or not.
|
||||
if self.repo_type == 'remote':
|
||||
# Remote storage. I have to query a remote site to know if it
|
||||
|
@ -184,7 +185,6 @@ class Build(loaih.RemoteBuild):
|
|||
|
||||
else:
|
||||
# Repo is local
|
||||
print(f"Searching for {self.appimagefilename[arch]}")
|
||||
command = f"find {self.full_path} -name {self.appimagefilename[arch]}"
|
||||
res = subprocess.run(shlex.split(command),
|
||||
capture_output=True,
|
||||
|
@ -198,11 +198,10 @@ class Build(loaih.RemoteBuild):
|
|||
|
||||
if res.stdout and len(res.stdout.strip("\n")) > 0:
|
||||
# All good, the command was executed fine.
|
||||
print(f"Build for {self.version} found.")
|
||||
self.built[arch] = True
|
||||
|
||||
if self.built[arch]:
|
||||
print(f"The requested AppImage already exists on storage for {arch}. I'll skip downloading, building and moving the results.")
|
||||
print(f"Found requested AppImage: {self.appimagefilename[arch]}.")
|
||||
|
||||
|
||||
def download(self):
|
||||
|
@ -214,7 +213,7 @@ class Build(loaih.RemoteBuild):
|
|||
for arch in self.arch:
|
||||
# Checking if a valid path has been provided
|
||||
if self.url[arch] == '-':
|
||||
print(f"No build has been provided for the requested AppImage for {arch}. Continue with other options.")
|
||||
print(f"Cannot build for arch {arch}. Continuing with other arches.")
|
||||
# Faking already built it so to skip other checks.
|
||||
self.built[arch] = True
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue