pkgbase: report type for duplicated METALOG entries
Duplicate METALOG file entries are more of a concern than duplicate directories. The metalog check tool previously did not include the entry type in the warnings, making it hard to find the ones of concern. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b812132455
commit
b751fc75bb
@ -387,6 +387,7 @@ function Analysis_session(metalog, verbose, w_notagdirs)
|
|||||||
local iseq, offby = metalogrows_all_equal(rows)
|
local iseq, offby = metalogrows_all_equal(rows)
|
||||||
if iseq then -- repeated line, just a warning
|
if iseq then -- repeated line, just a warning
|
||||||
warn[#warn+1] = 'warning: '..filename
|
warn[#warn+1] = 'warning: '..filename
|
||||||
|
.. ' ' .. rows[1].attrs.type
|
||||||
..' repeated with same meta: line '
|
..' repeated with same meta: line '
|
||||||
..table.concat(
|
..table.concat(
|
||||||
table_map(rows, function(e) return e.linenum end), ',')
|
table_map(rows, function(e) return e.linenum end), ',')
|
||||||
|
Loading…
Reference in New Issue
Block a user