ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [devel-announce] I: git.alt made old incoming obsolete
Date: Thu, 27 Aug 2009 19:54:00 +0300
Message-ID: <20090827165400.GL30328@osdn.org.ua> (raw)
In-Reply-To: <fa54e4a90908260739n5c58a9c0hca363840510e7cea@mail.gmail.com>

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

On Wed, Aug 26, 2009 at 05:39:02PM +0300, Igor Zubkov wrote:
> >> Ввиду того, что git.alt уже более 3 месяцев поддерживает
> >> прямой приём srpm-пакетов на сборку, посредник
> >> devel.altlinux.org:/incoming деактивирован.
> > Тебе incoming действительно мешает?

Да, и внесены ли изменения на вики?

> А сложно вместо одной команды выучить две?

У меня вообще одна, см. приложенный лисапет.
Что не мешает возмущаться тем, что ломают полезное.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: rebuild --]
[-- Type: text/plain, Size: 832 bytes --]

#!/bin/sh
# build spec or src.rpm with hasher

hsh_build()
{
	nice time hsh $HSHARGS \
		--apt-conf="${APTCONF:=/etc/apt/apt.conf}" \
		--mountpoints=/proc \
		"${WORKDIR:=$HOME/hasher/tmpfs}" \
		"$@" \
	&& echo "rpm --resign $@ && rsync -Pav $@ git.alt: && ssh git.alt task new && ssh git.alt task add srpm `basename $@` && echo -n "fire: " && read && ssh git.alt task run"
	# "task new" before rsync might be slightly better
	# if hanging tasks after rsync failures are deleted
}

rpmbs()
{
	nice rpm -bs --nodeps "$1" \
	| sed -ns 's/^.*: \(.*\.src\.rpm\)$/\1/p'
}

fatal()
{
	echo "$0: error: $*" >&2
	exit 1
}

while [ $# -gt 0 ]; do
	case "$1" in
		*.spec) hsh_build `rpmbs "$1"`; shift;;
		*.src.rpm) hsh_build "$1"; shift;;
		*) fatal "$1 is neither src.rpm nor spec file";;
	esac
done

#find "$WORKDIR/repo" -name '*.rpm'

[-- Attachment #3: rebuild-i586 --]
[-- Type: text/plain, Size: 123 bytes --]

#!/bin/sh
# build spec or src.rpm with hasher @i586

APTCONF=/etc/apt/apt.conf-i586 \
HSHARGS=--target=i586 \
rebuild "$@"

  parent reply	other threads:[~2009-08-27 16:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 14:07 Dmitry V. Levin
2009-08-26 14:13 ` Michael Shigorin
2009-08-26 14:39   ` Igor Zubkov
2009-08-27  8:15     ` Sergey Y. Afonin
2009-08-27  8:44     ` Stanislav Ievlev
2009-08-27 16:54     ` Michael Shigorin [this message]
2009-08-30 22:33   ` Dmitry V. Levin
2009-08-31  8:40     ` Michael Shigorin
2009-08-31 11:25       ` Dmitry V. Levin
2009-09-01 11:03         ` [devel] [JT] " Michael Shigorin
2009-08-28 18:05 ` [devel] " Denis Kirienko
2009-08-28 21:09   ` Alexey Rusakov
2009-08-28 21:23     ` Dmitry V. Levin
2009-08-28 21:57       ` Alexey Rusakov
2009-08-28 22:16         ` Aleksey Novodvorsky
2009-08-30 22:24           ` Dmitry V. Levin
2009-09-22  9:21             ` Sergey Kurakin
2009-09-22 10:58               ` Dmitry V. Levin
2009-08-29  4:47         ` Denis Kirienko
2009-08-29  4:50     ` Denis Kirienko

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=20090827165400.GL30328@osdn.org.ua \
    --to=mike@osdn.org.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