ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: girar-get-upload-method --show-missing mode
@ 2018-10-03 18:38 Igor Vlasenko
  0 siblings, 0 replies; only message in thread
From: Igor Vlasenko @ 2018-10-03 18:38 UTC (permalink / raw)
  To: devel

Уважаемые коллеги!

По заказу grenka@ в утилиту girar-get-upload-method
пакета girar-nmu добавлен новый режим --show-missing
(сокращенно -m, --missing).

В обычном режиме, если имя пакета не найдено в репозитории, выводится srpm.
Код возврата 0 (TRUE) если git, иначе код возврата >0 (FALSE).
С опцией -v можно узнать дополнительные подробности, в частности,встречалось
ли ранее данное имя в истории репозитория.

В режиме 'missing-mode', который включается опциями -m|--missing|--show-missing,
если имя пакета не найдено, выводится строка missing.
Код возврата 0 (TRUE) если git, 2 если srpm, 4 если missing.


Пример:
 $ girar-get-upload-method --missing python
 git

 $ girar-get-upload-method --missing python14
 missing


-- 

I V


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-03 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 18:38 [devel] I: girar-get-upload-method --show-missing mode Igor Vlasenko

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