parent
48ceda94bb
commit
2b3ffdcb65
19
repo2html
19
repo2html
|
@ -97,7 +97,7 @@ raw_tpl=
|
|||
# configuration (note that this setup in conjunction with the below defaults
|
||||
# imply that they can be passed in as environment variables as an alternative to
|
||||
# options)
|
||||
while getopts t:d:c:e:l:f:i:o:u:C:E:R:T:U: opt; do
|
||||
while getopts t:d:c:e:l:f:F:i:o:u:C:E:R:T:U: opt; do
|
||||
case "$opt" in
|
||||
t) title="$OPTARG";;
|
||||
d) desc="$OPTARG";;
|
||||
|
@ -105,6 +105,7 @@ while getopts t:d:c:e:l:f:i:o:u:C:E:R:T:U: opt; do
|
|||
e) html_ext="$OPTARG";;
|
||||
l) license="$OPTARG";;
|
||||
f) msgfmt="$path_root/$OPTARG";;
|
||||
F) listfilter="$path_root/$OPTARG";;
|
||||
i)
|
||||
do_raw=1
|
||||
raw_tpl="$OPTARG"
|
||||
|
@ -177,13 +178,15 @@ export cref_errlog="$cref_errlog_first"
|
|||
# reference and further processing); note that we clear the cref_errlog for the
|
||||
# RSS feed so that we do not get duplicates
|
||||
listcache="$path_root/.clist"
|
||||
"$repotype"/list | tee \
|
||||
>( cref_errlog= ./rss "$repotype" "$url_root" "$rss_count" \
|
||||
> "$path_out/rss.xml" \
|
||||
2> >( _rssout )
|
||||
) \
|
||||
"$listcache" \
|
||||
| ./processor "$repotype" "$path_out" 2> >( _htmlout )
|
||||
"$repotype"/list \
|
||||
| grep -vf "${listfilter:-/dev/null}" \
|
||||
| tee \
|
||||
>( cref_errlog= ./rss "$repotype" "$url_root" "$rss_count" \
|
||||
> "$path_out/rss.xml" \
|
||||
2> >( _rssout )
|
||||
) \
|
||||
"$listcache" \
|
||||
| ./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) TODO: RSS; note that we redirect all output to
|
||||
|
|
Loading…
Reference in New Issue