ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: imz@altlinux.org
To: devel@lists.altlinux.org
Subject: [devel] Q&A: Как просто скопировать чужое задание на girar?
Date: Thu, 17 Dec 2015 17:34:01 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.1512171728490.7540@imap.altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

Поделился командой для копирования чужого задания в girar -- 
https://www.altlinux.org/Git.alt/FAQ#Q:_.D0.9A.D0.B0.D0.BA_.D0.BF.D1.80.D0.BE.D1.81.D1.82.D0.BE_.D1.81.D0.BA.D0.BE.D0.BF.D0.B8.D1.80.D0.BE.D0.B2.D0.B0.D1.82.D1.8C_.D0.BD.D0.B5.D1.83.D0.B4.D0.B0.D0.B2.D1.88.D0.B5.D0.B5.D1.81.D1.8F_.D1.87.D1.83.D0.B6.D0.BE.D0.B5_.D0.B7.D0.B0.D0.B4.D0.B0.D0.BD.D0.B8.D0.B5.3F

ssh girar build --test-only -b t7 $(ssh girar task show 153515 | egrep '(dir|tag_name)=' | sed 's:.*=::')

Это работает, если в исходном задании были только сборки из gear-repo. 
(Можно адаптировать скрипт и для общего случая. Пожалуйста, если улучшите,
поделитесь результатом, вдруг пригодится.)

Best regards,
Ivan

                 reply	other threads:[~2015-12-17 14:34 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=alpine.LFD.2.20.1512171728490.7540@imap.altlinux.org \
    --to=imz@altlinux.org \
    --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