ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: devel@lists.altlinux.org
Subject: [devel] I: girar-get-upload-method --show-missing mode
Date: Wed, 3 Oct 2018 21:38:40 +0300
Message-ID: <20181003183839.GA28327@dad.imath.kiev.ua> (raw)

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

По заказу 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


                 reply	other threads:[~2018-10-03 18:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20181003183839.GA28327@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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