From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Re: Молчаливый incoming
Date: Wed, 14 Dec 2005 09:12:52 +0200
Message-ID: <20051214071252.GR25822@osdn.org.ua> (raw)
In-Reply-To: <20051214063852.GB28980@pc152.sam-solutions.net>
[-- Attachment #1.1: Type: text/plain, Size: 645 bytes --]
On Wed, Dec 14, 2005 at 08:38:52AM +0200, Kirill A. Shutemov wrote:
> > > Может в sisyphus_check проверку засунуть?
> > В incoming/ приходит большое количество пакетов для которых
> > sisyphus_check не запускали.
> Я это предлжил как самое простое решение -- необходимость
> запуска sisyphus_check перед заливкой документирована.
Такие необходимости внедряются деланием их более удобными,
чем ручками заливать.
Кстати, прилагаю свой бренный скриптик, который поправлен по
части рекомендаций Димы (а также предупредит про !0644).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #1.2: 2sisyphus.sh --]
[-- Type: text/plain, Size: 760 bytes --]
#!/bin/sh
UPROOT=~/Upload
TARGET=incoming:/incoming/Sisyphus/
MAINTAINER="$USER@localhost"
SUBJ1="upload failed"
SUBJ2="gpg sig failed"
LC_ALL=C
#. ~/.ssh/ssh-agent.sh 2>/dev/null 1>&2
#ssh-add
sisyphus_check "$UPROOT/Sisyphus/" || exit 1
[ -z "$UPROOT/Sisyphus/*.rpm" ] && exit 0
for i in $UPROOT/Sisyphus/*.rpm; do
chmod -v 644 "$i" | grep changed
rpm --checksig "$i" | grep -q gpg || {
# echo "$i: GPG signature missing/invalid" | mail -s "$SUBJ2" $MAINTAINER
echo "$i: GPG signature missing/invalid, skipping!" >&2
continue
/usr/bin/rsync -rt --partial --stats --timeout=30 $* \
-e ssh "$i" $TARGET \
>> $UPROOT/rsync-upload.log 2>&1 \
&& mv "$i" $UPROOT/done \
|| echo "upload failed: $i" | mail -s "$SUBJ1" "$MAINTAINER"
done
#ssh-add -D
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-12-14 7:12 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 20:07 [devel] " Dmitry Marochko
2005-12-12 22:05 ` Dmitry V. Levin
2005-12-13 9:22 ` Денис Смирнов
2005-12-13 10:58 ` Dmitry V. Levin
2005-12-13 11:08 ` Денис Смирнов
2005-12-13 11:31 ` [devel] Молчаливый rsync Dmitry V. Levin
2005-12-13 15:13 ` Денис Смирнов
2005-12-13 17:54 ` Alexey Gladkov
2005-12-13 19:06 ` Денис Смирнов
2005-12-13 19:09 ` Vitaly Lipatov
2005-12-13 19:14 ` Alexey Gladkov
2005-12-13 15:46 ` [devel] Молчаливый incoming Sergey V Turchin
2005-12-13 16:11 ` Dmitry V. Levin
2005-12-13 16:37 ` Sergey V Turchin
2005-12-13 16:50 ` Dmitry V. Levin
2005-12-13 17:02 ` Sergey V Turchin
2005-12-13 17:12 ` Dmitry Marochko
2005-12-13 17:58 ` Kirill A. Shutemov
2005-12-13 18:05 ` Alexey Gladkov
2005-12-13 20:53 ` [devel] " Michael Shigorin
2005-12-14 13:34 ` Led
2005-12-14 14:32 ` [devel] Re: Должен ли человек думать ? (was: Молчаливый incoming) Alexey Gladkov
2005-12-14 14:39 ` Led
2005-12-14 15:10 ` [devel] Re: ��� Alexey Gladkov
2005-12-14 15:25 ` [devel] Re: Должен ли человек думать ? (was: Молчаливый incoming) Led
2005-12-14 16:01 ` [devel] Re: Ключ! " Alexey Gladkov
2005-12-14 16:08 ` Led
2005-12-14 16:14 ` Alexey Gladkov
2005-12-14 16:28 ` Led
2005-12-14 16:37 ` Alexey Gladkov
2005-12-15 10:34 ` Led
2005-12-14 6:38 ` [devel] Молчаливый incoming Kirill A. Shutemov
2005-12-14 7:12 ` Michael Shigorin [this message]
2005-12-16 21:23 ` [devel] " Michael Shigorin
2005-12-14 18:01 ` [devel] " Dmitry Marochko
2005-12-13 18:47 ` Dmitry V. Levin
2005-12-13 19:06 ` Денис Смирнов
2005-12-14 17:58 ` [devel] Права на файлы (was: Молчаливый incoming) Dmitry Marochko
2005-12-13 19:05 ` [devel] Молчаливый incoming Alexey Gladkov
2005-12-14 6:46 ` Kirill A. Shutemov
2005-12-13 20:51 ` [devel] " Michael Shigorin
2005-12-13 21:16 ` Dmitry V. Levin
2005-12-17 16:27 ` [devel] " Dmitry V. Levin
2005-12-17 19:32 ` Денис Смирнов
2005-12-17 19:38 ` Dmitry V. Levin
2005-12-17 21:39 ` Dmitry Marochko
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=20051214071252.GR25822@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