[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-womb] gnumaint mkspotlight
From: |
Mike Gerwitz |
Subject: |
[commit-womb] gnumaint mkspotlight |
Date: |
Wed, 26 Sep 2018 19:59:49 -0400 (EDT) |
CVSROOT: /sources/womb
Module name: gnumaint
Changes by: Mike Gerwitz <mikegerwitz> 18/09/26 19:59:49
Modified files:
. : mkspotlight
Log message:
mkspotlight: Ignore alpha, beta, and gnurl
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnumaint/mkspotlight?cvsroot=womb&r1=1.5&r2=1.6
Patches:
Index: mkspotlight
===================================================================
RCS file: /sources/womb/gnumaint/mkspotlight,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- mkspotlight 15 Jun 2018 03:14:10 -0000 1.5
+++ mkspotlight 26 Sep 2018 23:59:49 -0000 1.6
@@ -59,9 +59,17 @@
make -f "$makefile" END_DATE="$last_date"
test -f "$releases_out" || fail "didn't generate $releases_out!"
+ # comment out alpha and beta releases (which shouldn't be on ftp.gnu.org,
+ # but sometimes they are) so that they can be manually verified
+ sed -i 's/^.*\(-alpha\|-beta\)$/#&/' "$releases_out"
+
+ # ignore certain releases (gnurl is part of gnunet and is not its own
+ # project)
+ sed -i 's/^gnurl-/#&/' "$releases_out"
+
# prepend some useful text (from Brandon's original email); hopefully a
# lot of this will be automated as time goes on
- cat - "$releases_out" | ignore-releases > "$releases_out.tmp" <<EOF
+ cat - "$releases_out" > "$releases_out.tmp" <<EOF
# From Brandon:
# > Edit releases-this-month.gnu. Normally this entails removing
# > multiple releases of the same package (just keep the latest one),
@@ -86,12 +94,6 @@
}
-ignore-releases()
-{
- grep -v ^gnurl
-}
-
-
make-markdown()
{
make -f "$makefile" markdown
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-womb] gnumaint mkspotlight,
Mike Gerwitz <=