forked from pool/build-compare
- 2015.07.15
- Handle more texi2html generated files and patterns - 2015.06.17 - Fix regex to handle /lib/(modules|firmware)/version-release-any properly OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=185
This commit is contained in:
parent
31153d04ed
commit
2fc0a98f72
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 15 09:50:58 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- 2015.07.15
|
||||||
|
- Handle more texi2html generated files and patterns
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 17 14:25:06 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- 2015.06.17
|
||||||
|
- Fix regex to handle /lib/(modules|firmware)/version-release-any properly
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 28 11:52:12 UTC 2015 - olaf@aepfle.de
|
Tue Apr 28 11:52:12 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ Summary: Build Result Compare Script
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Url: https://github.com/openSUSE/build-compare
|
Url: https://github.com/openSUSE/build-compare
|
||||||
Version: 2015.04.28
|
Version: 2015.07.15
|
||||||
Release: 0
|
Release: 0
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
Source2: same-build-result.sh
|
Source2: same-build-result.sh
|
||||||
|
@ -38,11 +38,11 @@ function trim_release_new()
|
|||||||
# Get single directory or filename with long or short release string
|
# Get single directory or filename with long or short release string
|
||||||
function grep_release_old()
|
function grep_release_old()
|
||||||
{
|
{
|
||||||
grep -E "(/boot|/lib/modules|/lib/firmware|/usr/src)/[^/]+(${version_release_old_regex_l}(\$|[^/]+\$)|${version_release_old_regex_s}(\$|[^/]+\$))"
|
grep -E "(/boot|/lib/modules|/lib/firmware|/usr/src)/[^/]*(${version_release_old_regex_l}(\$|[^/]+\$)|${version_release_old_regex_s}(\$|[^/]+\$))"
|
||||||
}
|
}
|
||||||
function grep_release_new()
|
function grep_release_new()
|
||||||
{
|
{
|
||||||
grep -E "(/boot|/lib/modules|/lib/firmware|/usr/src)/[^/]+(${version_release_new_regex_l}(\$|[^/]+\$)|${version_release_new_regex_s}(\$|[^/]+\$))"
|
grep -E "(/boot|/lib/modules|/lib/firmware|/usr/src)/[^/]*(${version_release_new_regex_l}(\$|[^/]+\$)|${version_release_new_regex_s}(\$|[^/]+\$))"
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_provides()
|
function check_provides()
|
||||||
|
19
pkg-diff.sh
19
pkg-diff.sh
@ -475,15 +475,18 @@ check_single_file()
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
/usr/share/doc/packages/*/*.html|\
|
/usr/share/doc/packages/*/*.html|\
|
||||||
/usr/share/doc/kde/HTML/*/*/*.html|/usr/share/doc/*/html/*.html)
|
/usr/share/doc/packages/*/*/*.html|\
|
||||||
|
/usr/share/doc/*/html/*.html|\
|
||||||
|
/usr/share/doc/kde/HTML/*/*/*.html)
|
||||||
for f in old/$file new/$file; do
|
for f in old/$file new/$file; do
|
||||||
# texi2html output, e.g. in kvm, indent, qemu
|
sed -i -e '
|
||||||
sed -i -e "s|^<!-- Created on .*, 20.. by texi2html .\...|<!-- Created on August 7, 2009 by texi2html 1.82|" $f
|
s|<!-- Created on [^,]\+, [0-9]\+ [0-9]\+ by texi2html [0-9\.]\+ -->|<!-- Created on July, 14 2015 by texi2html 1.78 -->|
|
||||||
sed -i -e 's|^ *This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|' $f
|
s|^<!-- Created on .*, 20.. by texi2html .\...|<!-- Created on August 7, 2009 by texi2html 1.82|
|
||||||
# doxygen docu, e.g. in libssh and log4c
|
s|This document was generated by <em>Autobuild</em> on <em>[^,]\+, [0-9]\+ [0-9]\+</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html [0-9\.]\+</em></a>.|This document was generated by <em>Autobuild</em> on <em>July, 15 2015</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78</em></a>.|
|
||||||
sed -i -e 's|Generated on ... ... [0-9]* [0-9]*:[0-9][0-9]:[0-9][0-9] 20[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f
|
s|^ *This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|
|
||||||
# Generated on Sat Aug 14 2010 16:49:48 for libssh
|
s|Generated on ... ... [0-9]* [0-9]*:[0-9][0-9]:[0-9][0-9] 20[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |
|
||||||
sed -i -e 's|Generated on ... ... [0-9]* 20[0-9][0-9] [0-9]*:[0-9][0-9]:[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f
|
s|Generated on ... ... [0-9]* 20[0-9][0-9] [0-9]*:[0-9][0-9]:[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |
|
||||||
|
' $f
|
||||||
done
|
done
|
||||||
strip_numbered_anchors
|
strip_numbered_anchors
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user