From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Sat, 14 Nov 2020 15:47:21 +0100 From: Alexey Gladkov To: ALT Linux Team development discussions Message-ID: <20201114144721.mbadvt6slpez7q2z@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [devel] IA: sisyphus_check & python modules check X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2020 14:47:32 -0000 Archived-At: List-Archive: List-Post: Приветствую! В сизиф отправлен sisyphus_check 0.8.61, в котором была уточнена проверка питоновских модулей: - 220-check-python: + enhance the check whether python2 module packages have python3 requirements; + enhance the check whether python3 module packages have python2 requirements; + disallow packages containing both python2 and python3 modules; + disallow python/python3 module docs containing unrelated files. теперь она работает точнее: $ cd /ALT/Sisyphus/files/noarch/RPMS $ sisyphus_check --no-check=all --check-python . &> ~/noarch.log $ cut -d: -f2 <~/noarch.log |sort |uniq -c |sort -n 1 python2 module docs contain unrelated files 2 package containing python3 modules should not have python2 requirements 3 python3 module depends on its test subpackage 20 package with python-module- NAME prefix should contain python2 modules 20 package with python3-module- NAME prefix should contain python3 modules 43 package containing python2 modules should have NAME with "python-module-" prefix 82 python2 module contains unrelated files 166 package containing python3 modules should have NAME with "python3-module-" prefix 361 python3 module contains unrelated files 695 check-python ERROR $ cd /ALT/Sisyphus/files/x86_64/RPMS $ sisyphus_check --no-check=all --check-python . &> ~/x86_64.log $ cut -d: -f2 <~/x86_64.log |sort |uniq -c |sort -n 1 package containing python2 modules should not have python3 requirements 1 package containing python3 modules should not have python2 requirements 1 package contains both python2 and python3 modules 1 python2 module docs contain unrelated files 1 python3 module docs contain unrelated files 3 python3 module depends on its test subpackage 12 package with python3-module- NAME prefix should contain python3 modules 16 package with python-module- NAME prefix should contain python2 modules 21 package containing python2 modules should have NAME with "python-module-" prefix 42 python2 module contains unrelated files 62 package containing python3 modules should have NAME with "python3-module-" prefix 77 python3 module contains unrelated files 235 check-python ERROR -- Rgrds, legion