From: Denis Klimov <klimov.d.e@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] repocop: tests in python modules Date: Sat, 21 Nov 2009 11:33:01 +0500 Message-ID: <4B07899D.9040900@altlinux.org> (raw) In-Reply-To: <4B0786E1.6070700@mmedia2.kemsu.ru> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21.11.2009 11:21, REAL wrote: > Привет! > > Выношу (точнее, возвращаю год спустя) на обсуждение. > > Небольшие выдержки из личной почты. > > 21.11.09, Igor Vlasenko<vlasenko@imath.kiev.ua> написал(а): >> On Sat, Nov 21, 2009 at 02:28:03AM +0700, Евгений Ростовцев wrote: >>> Привет! >>> >>> Тут подкинули ссылку: >>> http://lists.altlinux.org/pipermail/devel/2008-December/165091.html >>> >>> В ходе обсуждения увидел два интересных и полезных момента: >>> >>> 1. заставить ругаться репокоп на тесты в питоньих модулях >>> 2. рекомендовать в тесте репокопа перенести тесты в -devel пакеты или >>> удалить вовсе. >>> >>> Такого теста репокопа нет до сих пор, увы, а очень бы хотелось. >> > [...] >> >> А к вам просьба: не могли бы вы вписать запрет >> паковать тесты в наше python policy? >> Чтобы я прямо из теста туда сыылался? > Я так с ходу пока не стал ничего вписывать, потому что, думаю, надо бы > хотя бы немного обсудить детали. Насчёт %python_sitelibdir/*/test.* в > качестве шаблона там по ссылке в обсуждении речь уже была, но вот ещё > есть вопросы по поводу %python_sitelibdir/*/example.*: эти самые > экзамплы тоже нередко тянут за собой ворох зависимостей и их, видимо, > тоже не мешало бы из основных питоновских модулей перенести в *-devel. > > Дополнения, возражения? > я за добавление такой проверки с уровнем warn. это поможет мейнтейнерам не пропустить подобные файлы-тесты. да, examples тоже встречаются. вот буквально вчера паковал jabberpy - там examples. - -- Климов Денис -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksHiZ0ACgkQ/2RPAjBLeBo+pACeK6TgNCHhG8y4oTQ79/SBdwmF 7K4AoJCuu+h5AvTNJpqzcZOZGo3XgX9h =/nIe -----END PGP SIGNATURE-----
prev parent reply other threads:[~2009-11-21 6:33 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-11-21 6:21 REAL 2009-11-21 6:33 ` Denis Klimov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4B07899D.9040900@altlinux.org \ --to=klimov.d.e@gmail.com \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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