ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] IA: sisyphus_check & python modules check
@ 2020-11-14 14:47 Alexey Gladkov
  2020-11-14 15:02 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Gladkov @ 2020-11-14 14:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Приветствую!

В сизиф отправлен 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-14 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 14:47 [devel] IA: sisyphus_check & python modules check Alexey Gladkov
2020-11-14 15:02 ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git