Use the full_name as for the skip file marker.

This way we are sure to download the last archive all the time.
This commit is contained in:
Matthieu Gautier 2021-04-28 16:20:32 +02:00
parent dca64eb5d5
commit 11a7ec4020
1 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,10 @@ class Source:
def name(self): def name(self):
return self.target.name return self.target.name
@property
def full_name(self):
return self.target.full_name()
@property @property
def source_dir(self): def source_dir(self):
return self.target.full_name() return self.target.full_name()
@ -110,7 +114,7 @@ class ReleaseDownload(Source):
return pj(neutralEnv('source_dir'), self.source_dir) return pj(neutralEnv('source_dir'), self.source_dir)
def _download(self, context): def _download(self, context):
context.try_skip(neutralEnv('archive_dir'), self.name) context.try_skip(neutralEnv('archive_dir'), self.full_name)
neutralEnv('download')(self.archive) neutralEnv('download')(self.archive)
def _extract(self, context): def _extract(self, context):