From: Alexey Rusakov <ktirf@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] IA: http://sisyphus.heroku.com is online (aka Sisyphus 2.0)
Date: Wed, 02 Sep 2009 03:16:43 +0400
Message-ID: <1251847003.23107.10.camel@latitude.localdomain> (raw)
In-Reply-To: <fa54e4a90909010842m2ada9367uf17a2fdff59381e2@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
В Втр, 01/09/2009 в 18:42 +0300, Igor Zubkov пишет:
> 31 августа 2009 г. 18:56 пользователь Alexey Rusakov написал:
> >> Dir.glob("/media/sdb7/Sisyphus/Sisyphus/files/SRPMS/*.src.rpm").each do |f|
> > В этом месте я всерьёз засомневался, стоило ли заниматься таким
> > переписыванием. Неужели нет более прямого способа итерироваться по
> > файлам?
На самом деле я имел в виду "по пакетам", сорри.
> А чем этот способ не прямой? Или тебя смущает прямой путь прям там?
1) Glob expansion - это очень неэффективно.
2) *.src.rpm уже фактически обречены, их исчезновение - вопрос времени.
3) Ну и полный путь, но это вдогонку. Но да, "магические строки" в
действии.
--
Alexey "Ktirf" Rusakov
GNOME Project
ALT Linux Team
[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-09-01 23:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 14:13 Igor Zubkov
2009-08-31 15:31 ` Alexey I. Froloff
2009-08-31 15:47 ` Igor Zubkov
2009-08-31 15:56 ` Alexey Rusakov
2009-09-01 15:42 ` Igor Zubkov
2009-09-01 23:16 ` Alexey Rusakov [this message]
2009-08-31 16:01 ` Alexey I. Froloff
2009-09-06 5:01 ` Igor Zubkov
2009-09-06 5:15 ` Aleksey Novodvorsky
2009-09-06 8:51 ` Igor Zubkov
2009-09-06 13:16 ` Michael Shigorin
2009-09-06 16:20 ` Igor Zubkov
2009-09-06 19:14 ` Michael Shigorin
2009-08-31 17:51 ` Grigory Batalov
2009-08-31 18:26 ` Alexey Rusakov
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=1251847003.23107.10.camel@latitude.localdomain \
--to=ktirf@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