RSS was resulting in cref error duplicates; suppressing
parent
35b390dc37
commit
91c85b1091
|
@ -111,10 +111,11 @@ export cref_errlog="$cref_errlog_first"
|
|||
>"$cref_errlog"
|
||||
|
||||
# pass commit list to the HTML and RSS processors (cache list to disk for
|
||||
# reference and further processing)
|
||||
# reference and further processing); note that we clear the cref_errlog for the
|
||||
# RSS feed so that we do not get duplicates
|
||||
listcache=.list
|
||||
"$repotype"/list | tee \
|
||||
>( ./rss "$repotype" "$url_root" "$rss_count" \
|
||||
>( cref_errlog= ./rss "$repotype" "$url_root" "$rss_count" \
|
||||
> "$path_out/rss.xml" \
|
||||
2> >( _rssout )
|
||||
) \
|
||||
|
@ -122,7 +123,7 @@ listcache=.list
|
|||
| ./processor "$repotype" "$path_out" 2> >( _htmlout )
|
||||
|
||||
# re-process cref errors (but only once; any errors at this point will be
|
||||
# considered to be problem refs)
|
||||
# considered to be problem refs) TODO: RSS
|
||||
export cref_errlog=.cref-bad
|
||||
>"$cref_errlog"
|
||||
grep -f<( sed 's/^/\^/' "$cref_errlog_first" ) "$listcache" \
|
||||
|
|
Loading…
Reference in New Issue