Sign. Part 3

This commit is contained in:
alexey
2025-03-22 21:30:36 +03:00
parent 22cc06b543
commit a1fd986012
7 changed files with 69 additions and 8 deletions

View File

@@ -97,6 +97,7 @@ class RepoManager
end
pkg_info = {}
pkg_info[:fname] = fileName
pkg_info[:aname] = item
pkg_info[:stat] = File.stat(full_rpm_path).ctime
if info[:error].nil?
pkg_info[:chlog] = info[:pkginfo].changelog.first(5)
@@ -116,7 +117,7 @@ class RepoManager
end
data_keys.sort!
data_keys.each do |item|
repo_data << result[item]
repo_data << [result[item], item]
end
tpl_file = File.join(template_dir, "template.erb")
template = File.read(tpl_file)