Hello community, here is the log from the commit of package yast2-devtools for openSUSE:Factory checked in at 2018-03-04 11:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-devtools (Old) and /work/SRC/openSUSE:Factory/.yast2-devtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-devtools" Sun Mar 4 11:50:24 2018 rev:93 rq:581529 version:4.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-devtools/yast2-devtools.changes 2018-01-17 21:41:57.717119468 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-devtools.new/yast2-devtools.changes 2018-03-04 11:50:27.994767666 +0100 @@ -1,0 +2,22 @@ +Thu Mar 1 07:41:49 UTC 2018 - [email protected] + +- Fixed generating translations from XML (*.glade) files + (related to bsc#1083015) +- 4.0.4 + +------------------------------------------------------------------- +Tue Feb 27 14:52:17 UTC 2018 - [email protected] + +- Prevent missing translatable string with missing textdomain by + making it fatal error, so it can be catched in travis or jenkins + (bsc#1083015) +- 4.0.3 + +------------------------------------------------------------------- +Tue Feb 27 07:52:27 UTC 2018 - [email protected] + +- Fixed regular expression used for finding translatable messages + in the source files (bsc#1082969) +- 4.0.2 + +------------------------------------------------------------------- Old: ---- yast2-devtools-4.0.1.tar.bz2 New: ---- yast2-devtools-4.0.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-devtools.spec ++++++ --- /var/tmp/diff_new_pack.QOqGfp/_old 2018-03-04 11:50:28.986731731 +0100 +++ /var/tmp/diff_new_pack.QOqGfp/_new 2018-03-04 11:50:28.986731731 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-devtools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-devtools -Version: 4.0.1 +Version: 4.0.4 Release: 0 Url: http://github.com/yast/yast-devtools ++++++ yast2-devtools-4.0.1.tar.bz2 -> yast2-devtools-4.0.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-4.0.1/build-tools/scripts/gettextdomains new/yast2-devtools-4.0.4/build-tools/scripts/gettextdomains --- old/yast2-devtools-4.0.1/build-tools/scripts/gettextdomains 2017-11-29 20:02:28.000000000 +0100 +++ new/yast2-devtools-4.0.4/build-tools/scripts/gettextdomains 2018-03-01 09:11:37.000000000 +0100 @@ -10,7 +10,8 @@ function get_domains_and_err() { if [ -z "$1" ]; then - echo `basename $0`": argument missing" + echo `basename $0`": argument missing" >&2 + exit 1 fi SRCDIR=$1 @@ -24,22 +25,29 @@ -o -name "*.cc" \ -o -name "*.cpp" \ -o -name "*.erb" \ + -o -name "*.glade" \ -o -name "*.rb" ` if test "$?" != "0"; then - echo "Error: check-pot terminated unexpected." + echo "Error: check-pot terminated unexpected." >&2 exit 1 fi for F in $SRCFILES; do # strip comments from the files and match [_]_( "..." ) - # 1. perl: strip one-line-comments - # 2. perl: match for _( "...") and __("..." ) (multiline too) + # 1. perl: strip one-line-comments, except ruby "string #{interpolation}" + # 2. perl: match for _( "...") and __("..." ) (multiline too), + # or "<label>" used in XML (*.glade) files + # NOTE: be less strict here, if e.g. a gettext call is in a trailing comment: + # "foo" # _("not translated") + # then it will be ignored by the extractor later, we can only get a false + # warning about a missing text domain in the file. That's more acceptable + # then a completely missing translation because of too strict comment filtering. # problems left: # - false matches of comments inside strings # - uncaught _( at line beginning - MATCH=`perl -n -e 'print "$ARGV: $_" if not /(\/\/|#)/' $F | \ - perl -n -e 'print "$_" if /[^[:alnum:]_"<](_|__|gettext)\(/../\)/'` + MATCH=`perl -n -e 'print "$ARGV: $_" if not /(^\s*\/\/|^\s*#[^\{])/' $F | \ + perl -n -e 'print "$_" if /<label>|[^[:alnum:]_"<](_|__|gettext)\(/../\)/'` if [ -n "$MATCH" ]; then TR_FILES="$F $TR_FILES" ; fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-4.0.1/build-tools/scripts/y2makepot new/yast2-devtools-4.0.4/build-tools/scripts/y2makepot --- old/yast2-devtools-4.0.1/build-tools/scripts/y2makepot 2017-11-29 20:02:28.000000000 +0100 +++ new/yast2-devtools-4.0.4/build-tools/scripts/y2makepot 2018-03-01 09:11:37.000000000 +0100 @@ -123,8 +123,11 @@ # $ERR contains the files without textdomain (see gettextdomains) for F in $ERR; do - echo "** WARNING: Missing textdomain in file $F" 1>&2; + echo "** ERROR: Missing textdomain in file $F" >&2; done + if [ -n "$ERR" ]; then + exit 2 + fi # all textdomains found by gettextdomains DOMAINS=`echo -en $DOMAINS | LC_COLLATE=C sort` ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-4.0.1/package/yast2-devtools.changes new/yast2-devtools-4.0.4/package/yast2-devtools.changes --- old/yast2-devtools-4.0.1/package/yast2-devtools.changes 2017-11-29 20:02:28.000000000 +0100 +++ new/yast2-devtools-4.0.4/package/yast2-devtools.changes 2018-03-01 09:11:37.000000000 +0100 @@ -1,4 +1,26 @@ ------------------------------------------------------------------- +Thu Mar 1 07:41:49 UTC 2018 - [email protected] + +- Fixed generating translations from XML (*.glade) files + (related to bsc#1083015) +- 4.0.4 + +------------------------------------------------------------------- +Tue Feb 27 14:52:17 UTC 2018 - [email protected] + +- Prevent missing translatable string with missing textdomain by + making it fatal error, so it can be catched in travis or jenkins + (bsc#1083015) +- 4.0.3 + +------------------------------------------------------------------- +Tue Feb 27 07:52:27 UTC 2018 - [email protected] + +- Fixed regular expression used for finding translatable messages + in the source files (bsc#1082969) +- 4.0.2 + +------------------------------------------------------------------- Wed Nov 29 16:22:16 UTC 2017 - [email protected] - Fix fillup-templates path (bsc#1070408) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-4.0.1/package/yast2-devtools.spec new/yast2-devtools-4.0.4/package/yast2-devtools.spec --- old/yast2-devtools-4.0.1/package/yast2-devtools.spec 2017-11-29 20:02:28.000000000 +0100 +++ new/yast2-devtools-4.0.4/package/yast2-devtools.spec 2018-03-01 09:11:37.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-devtools -Version: 4.0.1 +Version: 4.0.4 Release: 0 Url: http://github.com/yast/yast-devtools
