[texdoc-commits] [SCM] texdoc updated: r21 - trunk/script
takuto at gnu.org.ua
takuto at gnu.org.ua
Thu Nov 9 11:15:43 CET 2017
Author: takuto
Date: 2017-11-09 12:15:43 +0200 (Thu, 09 Nov 2017)
New Revision: 21
Modified:
trunk/script/score.tlu
Log:
fix a comment and debug messages in score.tlu
Modified: trunk/script/score.tlu
===================================================================
--- trunk/script/score.tlu 2017-11-08 17:22:46 UTC (rev 20)
+++ trunk/script/score.tlu 2017-11-09 10:15:43 UTC (rev 21)
@@ -75,11 +75,13 @@
-- get score from tlp associations
if score == -10 and df.tlptodoc then
score = -1
- deb_print('score', 'New score: -2 from package name association')
+ deb_print('score', 'New score: '..tostring(score)
+ ..' from package name association')
end
if score == -10 and df.runtodoc then
score = -5
- deb_print('score', 'New score: -6 from sty/cls association')
+ deb_print('score', 'New score: '..tostring(score)
+ ..' from sty/cls association')
end
-- bonus for metadata
if df.details then
@@ -152,7 +154,7 @@
if ext and config.badext_list_inv[ext] and score > 0 then
upscore(0.1, 'bad extension', true)
end
- -- if basename is bad, score gets < 0
+ -- if basename is bad, score becomes an epsilon
if has_bad_basename(file) and score > 0 then
upscore(0.1, 'bad basename', true)
end
More information about the texdoc-commits
mailing list