From: "Andrew Borodin" <aborodin@vmail.ru>
To: Ivan Zakharyaschev <sisyphus@altlinux.ru>
Subject: [sisyphus] Re: [sisyphus] Небольшое пожелание по поводу снапшотов Сизифа
Date: Wed, 13 Feb 2002 12:02:49 +0300
Message-ID: <3C6A55E9.2725.5EAC45B@localhost> (raw)
In-Reply-To: <Pine.LNX.4.43L.0202130018290.26274-100000@arrakis.zephyrous>
On 13 Feb 2002 at 0:27, Ivan Zakharyaschev wrote:
> Hello!
>
> On Tue, 12 Feb 2002, Andrew Borodin wrote:
>
> > Нельзя ли на диски с апдейтами Сизифа помещать два
> > файлика с листингами каталогов RPMS и SRPMS всего Сизифа,
> > чтобы было бы проще этот апдейт перенести в свой локальный
> > репозитарий? Вопрос навеян статьей "RSYNC через CD".
>
> Вот такой формат подойдет:
>
> 3dwm-0.3.1-alt2.src.rpm
> 7colors-0.80-alt2.src.rpm
> aalib-1.2-ipl13mdk.src.rpm
> ....
> zlib-1.1.3-ipl13mdk.src.rpm
> Zope-2.4.1-alt2.src.rpm
> zsh-4.0.4-alt1.src.rpm
>
> и то же для бинарников
Да, то, что нужно. Спасибо.
<skip>
> А есть ли у Вас готовый скрипт, который позволит извлкать из этих
> листингов пользу? Его тоже можно рядом положить.
Немного о себе ;)
У меня на винте лежат: первый снапшот Сизифа и три апдейта к
нему. На винте потому, что не охота вставлять/вынимать CD
каждый раз, когда надо чего-то доставить. Естественно, все это
занимет уйму места. Хочется иметь один репозитарий, в котором
собраны все пакеты последних версий.
Я пытался это сделать средствами libapt, покопался в
исходниках apt, и написал небольшую прогу, которая
просматривает кэш апта. Со списком пакетов проблем не было.
Но вот при отпределении имен файлов она по непонятной мне
причине валилась в кору где-то на третьей сотне. Немного
пошаманив, я получил другую ошибку, на этот раз от rpm.
В общем, неудача :(
А со списком все будет выглядеть примерно так:
(сам скрипт писать не буду - боюсь ошибиться, ибо проверить
сейчас не на чем)
взять имя файла из списка;
найти файл с таким именем;
перенести его в другое место.
В общем, все просто :)
<skip>
С уважением,
А. Бородин.
--
О цикада, не плачь!
Нет любви без разлуки
Даже для звезд в небесах.
Исса
next prev parent reply other threads:[~2002-02-13 9:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 6:33 Andrew Borodin
2002-02-12 21:27 ` Ivan Zakharyaschev
2002-02-13 9:02 ` Andrew Borodin [this message]
2002-02-13 8:44 ` Sir Raorn
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=3C6A55E9.2725.5EAC45B@localhost \
--to=aborodin@vmail.ru \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git