source: trunk/dports/devel/buildbot/files/patch-buildbot-status-web-waterfall.py.diff @ 151079

Last change on this file since 151079 was 151079, checked in by ryandesign@…, 2 years ago

buildbot: sort tags on waterfall help page

File size: 764 bytes
  • buildbot/status/web/waterfall.py

    old new  
    325325        for bldr in builders:
    326326            tags = bldr.getTags()
    327327            allTags.update(tags or [])
     328        allTags = util.naturalSort(list(allTags))
    328329        cxt['show_tags'] = show_tags
    329330        cxt['all_tags'] = allTags
    330331
     
    585586        for builderName in builderNames:
    586587            builder = status.getBuilder(builderName)
    587588            tags.update(builder.getTags() or [])
    588         tags = sorted(tags)
     589        tags = util.naturalSort(list(tags))
    589590        ctx['tags'] = tags
    590591
    591592        template = request.site.buildbot_service.templates.get_template("waterfall.html")
Note: See TracBrowser for help on using the repository browser.