Commit c84fe536 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Project.ordered_robotpkg

parent 69a3053f
Pipeline #959 passed with stages
in 46 seconds
......@@ -314,6 +314,9 @@ class Project(Links, NamedModel, TimeStampedModel):
def print_rdeps(self):
return mark_safe(', '.join(d.project.get_link() for d in self.rdeps.all()))
def ordered_robotpkg(self):
return self.robotpkg_set.order_by('name')
class Repo(TimeStampedModel):
name = models.CharField(max_length=200)
......
......@@ -8,7 +8,7 @@ cache:
paths:
- ccache
{% for robotpkg in project.robotpkg_set.name_ordered %}.robotpkg-{{ robotpkg }}: &robotpkg-{{ robotpkg }}
{% for robotpkg in project.ordered_robotpkg %}.robotpkg-{{ robotpkg }}: &robotpkg-{{ robotpkg }}
except:
- gh-pages
script:
......
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