Commit 41a3f7e9 authored by Michal Čihař's avatar Michal Čihař

Run post push on linked repos

Issue #930
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent dc83d2ea
...@@ -801,6 +801,10 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin): ...@@ -801,6 +801,10 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
) )
vcs_post_push.send(sender=self.__class__, component=self) vcs_post_push.send(sender=self.__class__, component=self)
for component in self.get_linked_childs():
vcs_post_push.send(
sender=component.__class__, component=component
)
return True return True
except RepositoryException as error: except RepositoryException as error:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment