Hello community, here is the log from the commit of package yast2-devtools for openSUSE:Factory checked in at 2015-08-07 00:19:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-devtools (Old) and /work/SRC/openSUSE:Factory/.yast2-devtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-devtools" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-devtools/yast2-devtools.changes 2015-05-23 12:45:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-devtools.new/yast2-devtools.changes 2015-08-07 00:19:57.000000000 +0200 @@ -1,0 +2,14 @@ +Wed Aug 5 16:57:29 CEST 2015 - [email protected] + +- reasonable defaults for method and class lengths in rubocop.yml + (bnc#940671) +- 3.1.38 + +------------------------------------------------------------------- +Wed Aug 5 06:22:46 UTC 2015 - [email protected] + +- integrate the common rubocop.yml file for the SUSE Ruby style + (bsc#940571) +- 3.1.37 + +------------------------------------------------------------------- @@ -5 +19 @@ - (they cause for example rubocop check to fail) + (they cause for example rubocop check to fail) (bnc#940203) Old: ---- yast2-devtools-3.1.36.tar.bz2 New: ---- yast2-devtools-3.1.38.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-devtools.spec ++++++ --- /var/tmp/diff_new_pack.B8iBxK/_old 2015-08-07 00:19:58.000000000 +0200 +++ /var/tmp/diff_new_pack.B8iBxK/_new 2015-08-07 00:19:58.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-devtools -Version: 3.1.36 +Version: 3.1.38 Release: 0 Url: http://github.com/yast/yast-devtools ++++++ yast2-devtools-3.1.36.tar.bz2 -> yast2-devtools-3.1.38.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/README.md new/yast2-devtools-3.1.38/README.md --- old/yast2-devtools-3.1.36/README.md 2015-05-14 13:12:44.000000000 +0200 +++ new/yast2-devtools-3.1.38/README.md 2015-08-05 17:28:08.000000000 +0200 @@ -33,3 +33,8 @@ documentation tool. They make sense only for a developer who is interested in generating new documentation. + +### [obs-tools](obs-tools) + +Tools used to manipulate with YaST repositories at [open build service](http://build.opensuse.org/). +They make sense only for a developer with permissions to target repositories. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/obs-tools/README.md new/yast2-devtools-3.1.38/obs-tools/README.md --- old/yast2-devtools-3.1.36/obs-tools/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-devtools-3.1.38/obs-tools/README.md 2015-08-05 17:28:08.000000000 +0200 @@ -0,0 +1,12 @@ +## OBS tools + +Jenkins tools are intended to help with operations +on <http://build.opensuse.org/> ( or internal instance ). + +They are not intended to be distributed in a RPM. +Usage requires obs permissions for yast projects. +If you can do your task quicker than reading the script +then it is not the right tool for you. + +### opensuse42_submit.sh +Helps with submitting from factory to openSUSE:42. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/obs-tools/opensuse42_submit.sh new/yast2-devtools-3.1.38/obs-tools/opensuse42_submit.sh --- old/yast2-devtools-3.1.36/obs-tools/opensuse42_submit.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-devtools-3.1.38/obs-tools/opensuse42_submit.sh 2015-08-05 17:28:08.000000000 +0200 @@ -0,0 +1,14 @@ +#! /bin/bash + +LIST=`osc list openSUSE:Factory | grep -i -e yast2 -e skelcd -e "^libstorage$" -e perl-bootloader -e linuxrc` + +for i in $LIST; do + # compare if something is new by comparing binaries ( as version is part of rpm output ) + OS42=$(osc cat openSUSE:42 $i $i.spec 2>/dev/null | grep "^Version" | sed 's/Version:[[:space:]]*//;s/#.*$//') + FACTORY=$(osc cat openSUSE:Factory $i $i.spec 2>/dev/null | grep "^Version" | sed 's/Version:[[:space:]]*//;s/#.*$//') + if [ "$OS42" == "$FACTORY" ]; then + continue + fi + echo "submitting $i..." + osc sr openSUSE:Factory $i openSUSE:42 -m "opensuse42_submit.sh: update of yast2 related package to the SLE12SP1 version" +done diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/package/yast2-devtools.changes new/yast2-devtools-3.1.38/package/yast2-devtools.changes --- old/yast2-devtools-3.1.36/package/yast2-devtools.changes 2015-05-22 09:08:08.000000000 +0200 +++ new/yast2-devtools-3.1.38/package/yast2-devtools.changes 2015-08-05 17:28:08.000000000 +0200 @@ -1,8 +1,22 @@ ------------------------------------------------------------------- +Wed Aug 5 16:57:29 CEST 2015 - [email protected] + +- reasonable defaults for method and class lengths in rubocop.yml + (bnc#940671) +- 3.1.38 + +------------------------------------------------------------------- +Wed Aug 5 06:22:46 UTC 2015 - [email protected] + +- integrate the common rubocop.yml file for the SUSE Ruby style + (bsc#940571) +- 3.1.37 + +------------------------------------------------------------------- Thu May 21 18:16:29 UTC 2015 - [email protected] - y2makepot: do not create confusing _MISSING_TEXTDOMAIN_* files - (they cause for example rubocop check to fail) + (they cause for example rubocop check to fail) (bnc#940203) - 3.1.36 ------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/package/yast2-devtools.spec new/yast2-devtools-3.1.38/package/yast2-devtools.spec --- old/yast2-devtools-3.1.36/package/yast2-devtools.spec 2015-05-22 09:08:08.000000000 +0200 +++ new/yast2-devtools-3.1.38/package/yast2-devtools.spec 2015-08-05 17:28:08.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-devtools -Version: 3.1.36 +Version: 3.1.38 Release: 0 Url: http://github.com/yast/yast-devtools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-devtools-3.1.36/ytools/y2tool/rubocop_yast_style.yml new/yast2-devtools-3.1.38/ytools/y2tool/rubocop_yast_style.yml --- old/yast2-devtools-3.1.36/ytools/y2tool/rubocop_yast_style.yml 2015-05-14 13:12:44.000000000 +0200 +++ new/yast2-devtools-3.1.38/ytools/y2tool/rubocop_yast_style.yml 2015-08-05 17:28:08.000000000 +0200 @@ -1,32 +1,80 @@ -# Rubocop style configuration +################################################################################ # -# Following -# https://github.com/SUSE/style-guides/blob/master/Ruby.md +# This part contains the shared Rubocop configuration for SUSE projects. It is +# maintained at https://github.com/SUSE/style-guides/blob/master/rubocop-suse.yml +# +# NOTE: some rules have been commented out, see the YaST specific changes +# at the end of the file! +# +################################################################################ + +# Disabled, would require too many changes in the current code +#Lint/EndAlignment: +# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#lintendalignment +# AlignWith: variable + +Metrics/AbcSize: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricsabcsize + Max: 30 + +Metrics/LineLength: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength + Max: 100 + # To make it possible to copy or click on URIs in the code, we allow lines + # contaning a URI to be longer than Max. + AllowURI: true + URISchemes: + - http + - https + +Style/AlignHash: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylealignhash + EnforcedHashRocketStyle: table + EnforcedColonStyle: table + +# Disabled, see the YaST default at the end of the file +#Style/AlignParameters: +# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylealignparameters +# Enabled: false + +Style/CollectionMethods: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylecollectionmethods + Enabled: false + +Style/EmptyLinesAroundBlockBody: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#styleemptylinesaroundblockbody + Enabled: false + +Style/MultilineOperationIndentation: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylemultilineoperationindentation + EnforcedStyle: indented -# https://github.com/SUSE/style-guides/blob/master/Ruby.md#strings Style/StringLiterals: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylestringliterals EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylestringliteralsininterpolation EnforcedStyle: double_quotes -# Is there any justification for "aligned" which is the default? -Style/MultilineOperationIndentation: - EnforcedStyle: indented - -# https://github.com/SUSE/style-guides/blob/master/Ruby.md#arrays Style/WordArray: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#deviations-from-the-upstream-style-guide Enabled: false -# align arrows: -# "foo" => true -# "foo_bar" => false -# and also colons: -# foo: true -# foo_bar: false -Style/AlignHash: - EnforcedHashRocketStyle: table - EnforcedColonStyle: table +Style/RegexpLiteral: + StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#deviations-from-the-upstream-style-guide + Enabled: false + +Style/SignalException: + StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method + EnforcedStyle: only_raise + + +################################################################################ +# +# This part contains the YaST specific changes to the shared SUSE configuration +# +################################################################################ # no extra indentation for multiline function calls Style/AlignParameters: @@ -40,10 +88,9 @@ Style/NegatedIf: Enabled: false -# use "raise" instead of "fail" -Style/SignalException: - EnforcedStyle: only_raise +# allow more than 10 lines for methods +Metrics/MethodLength: + Max: 30 -# do not force %r -Style/RegexpLiteral: - Enabled: false +Metrics/ClassLength: + Max: 250
