2013-06-18 11:31:38 +02:00
|
|
|
<%-
|
|
|
|
@pin = "release a=#{@name}" # default value
|
|
|
|
if @pin_release.length > 0
|
|
|
|
options = []
|
|
|
|
options.push("a=#{@release}") if @release.length > 0
|
|
|
|
options.push("n=#{@codename}") if @codename.length > 0
|
|
|
|
options.push("v=#{@release_version}") if @release_version.length > 0
|
|
|
|
options.push("c=#{@component}") if @component.length > 0
|
|
|
|
options.push("o=#{@originator}") if @originator.length > 0
|
|
|
|
options.push("l=#{@label}") if @label.length > 0
|
|
|
|
@pin = "release #{options.join(', ')}"
|
|
|
|
elsif @version.length > 0
|
|
|
|
@pin = "version #{@version}"
|
|
|
|
elsif @origin.length > 0
|
2014-01-31 22:56:28 +01:00
|
|
|
@pin = "origin #{@origin}"
|
2013-06-18 11:31:38 +02:00
|
|
|
end
|
|
|
|
-%>
|
2013-06-02 19:24:33 +02:00
|
|
|
Explanation: <%= @explanation %>
|
2014-02-14 16:13:14 +01:00
|
|
|
Package: <%= @packages_string %>
|
2013-06-02 19:24:33 +02:00
|
|
|
Pin: <%= @pin %>
|
|
|
|
Pin-Priority: <%= @priority %>
|