ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: devel@lists.altlinux.org
Cc: ldv@altlinux.org
Subject: [devel] %find_lang test and policy
Date: Fri, 26 Feb 2010 22:07:51 +0200
Message-ID: <20100226200751.GA27247@dad.imath.kiev.ua> (raw)

Уважаемые коллеги,
по заказу Юрия Седунова пишу новый тест repocop 
на выявление непомеченных как %lang(..)
локально-зависимых файлов.

Обоснование теста вынесено с ОсобенностиСборкиПакетов
в отдельную страницу 
http://www.altlinux.org/FindLangPolicy
чтобы лучше документировать,
а так же чтобы формально принять как полиси 
(фактически оно действует).

Прошу принять как полиси.

Уже только по поводу не помеченных 
/usr/share/locale/* 
под ругань будущего теста попадает 476 пакетов,

некоторые (пример - cups) за записи в спеке вида 
%_datadir/locale/*/*.po 

некоторые (пример - freeciv-common) -
из - за (возможно) ошибки в самом %find_lang.

Прежде чем писать тест, хотелось бы узнать
мнение Дмитрия о %find_lang + freeciv-common.

select pkgid, filename,filelang from rpm_files where filename glob '/usr/share/locale/*' AND filelang = '' AND pkgid glob 'freeciv-*';
freeciv-common-2.1.10-alt1.noarch|/usr/share/locale/en_GB/LC_MESSAGES/freeciv.mo|

Т.е. /usr/share/locale/en_GB/LC_MESSAGES/freeciv.mo
не помечен как %lang(en_GB).
С чем это связанно?

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



             reply	other threads:[~2010-02-26 20:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 20:07 Igor Vlasenko [this message]
2010-02-26 22:26 ` Dmitry V. Levin
2010-02-26 22:46   ` Igor Vlasenko
2010-02-26 23:35   ` Igor Vlasenko
2010-02-28 15:43     ` Aleksey Avdeev
2010-02-28 15:57       ` Andrey Rahmatullin
2010-02-28 16:07       ` Michael Shigorin
2010-02-26 23:40   ` Igor Vlasenko
2010-02-27  7:09 ` Sergei Epiphanov
2010-02-27 12:41   ` Igor Vlasenko
2010-03-01 14:07     ` Victor Forsiuk
2010-03-01 15:12       ` Igor Vlasenko
2010-03-19 15:58           ` Igor Vlasenko
2010-03-19 16:19           ` Sergey V Turchin
2010-03-02  6:06       ` Slava Semushin
2010-03-14 17:22 ` Igor Vlasenko

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=20100226200751.GA27247@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@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