view xsls/versions.xsls @ 2437:bf8eb55e35dd

Linux packages: Added an instruction for yum/dnf to mark the repos as hotfixes. This fixes an issue with RHEL8/CentOS8 where the concept of modules was introduced. If a package with the same name exists both in a modular and traditional repos, the modular one will always have a higher priority. Marking our repository configuration as a hotfix overrides this behavior.
author Konstantin Pavlov <thresh@nginx.com>
date Thu, 26 Sep 2019 13:25:29 +0300
parents 1594ed379f1f
children 9eadb98ec770
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template = "mainline_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='mainline'][1]/item[1]/@ver";
}

X:template = "stable_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='stable'][1]/item[1]/@ver";
}

X:template = "commercial_version" {
    <a href="http://nginx.com/products/">
    !!;
    </a>
}

}