From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] changelogs for apt repo
Date: Sat, 17 May 2008 23:00:34 +0400
Message-ID: <20080517190034.GA9319@solemn.turbinal> (raw)
In-Reply-To: <482ECA31.109@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]
On Sat, May 17, 2008 at 04:06:09PM +0400, Alexey Gladkov wrote:
> Alexey Tourbin wrote:
> >$ PATH=$PWD:$PATH genbasedir --topdir=$PWD --changelog-since=2007-01-01
> >x86_64
> >$ PATH=$PWD:$PATH genbasedir --topdir=$PWD --changelog-since=2007-01-01
> >noarch
> >$ du -bk x86_64/base/pkglist.classic.bz2 noarch/base/pkglist.classic.bz2
> >3536 x86_64/base/pkglist.classic.bz2
> >1302 noarch/base/pkglist.classic.bz2
> >$
> >
> >Таким образом, размер скачиваемого при
> >'apt-get update' заметно
> >увеличивается (примерно на треть).
>
> Это ужасно.Для меня это слишком дорогая
> плата. Мне кажется что pkglist был придуман
> не для того как ты его используешь.
Но там уже есть description (а не только summary). Так что для чего
предназначен pkglist это вопрос неоднозначный. В pkglist вообще-то
просто копируются хедеры (и их можно читать прямо в цикле через
headerRead), но при копировании хедеры основательно урезаются,
исключительно с целью экономии места.
На самом деле то что через apt нельзя посмотреть изменения в пакете
это одна из основных претензий к апту. Александр Боковой ещё
в х**-знает-каком году писал, как он в Сане показывал наш synaptic,
и первое что у него саны спросили это где посмотреть изменения
обновляемых пакетов.
Какая плата тебя бы устроила? Думаю что плату можно будет немного
уменьшить, если сначала отсортировать пакеты по %{SOURCERPM}, а уже
потом выгонять хедеры. Тогда bzip2 лучше сожмёт одинаковые changelog'и
подряд идущих подпакетов.
И это будет опция. Если ты генерируешь свой репозитарий с жесткими
ограничениями на размер, то это можно бдует отключить.
> Ты идёшь по пути перекачивания на
> пользовательскую машину
> sisyphus/<arch>/rpmdb ... может уже так и сделать ?
Есть такая дилемма.
> >Я считаю это приемлемой платой
> >за удовольствие просмотреть changelog
> >пакета ДО скачивания и установки.
>
> Может имеет смысл добавлять lastchange? Ведь
> интересно видеть что изменилось в
> последней версии чтобы понять ставить её
> или нет, а не в какой-то предыдущей.
Но ведь мы можем обновляться не с предпоследней версии на последнюю,
а с ещё более ранней. То есть мы можем пропустить промежуточное важное
изменение. Поэтому есть наибольший смысл сохранять changelog'и строго
по известной дате, как я и предлагаю сделать.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-05-17 19:00 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-17 5:34 Alexey Tourbin
2008-05-17 9:50 ` Евгений Терешков
2008-05-17 12:06 ` Alexey Gladkov
2008-05-17 13:23 ` Andrey Rahmatullin
2008-05-17 13:54 ` Alexey Gladkov
2008-05-17 19:00 ` Alexey Tourbin [this message]
2008-05-17 20:01 ` Led
2008-05-17 19:55 ` Andrey Rahmatullin
2008-05-17 21:16 ` Led
2008-05-17 21:09 ` Andrey Rahmatullin
2008-05-18 6:34 ` Kirill Maslinsky
2008-05-17 20:50 ` Alexey Tourbin
2008-05-17 21:58 ` Alexey Gladkov
2008-05-17 21:46 ` Andrey Rahmatullin
2008-05-17 22:14 ` Alexey Gladkov
2008-05-17 22:00 ` Andrey Rahmatullin
2008-05-17 22:21 ` Alexey Gladkov
2008-05-17 22:10 ` Andrey Rahmatullin
2008-05-17 22:32 ` Alexey Gladkov
2008-05-17 22:45 ` Sergey Bolshakov
2008-05-17 23:03 ` Alexey Tourbin
2008-05-19 4:02 ` Ildar Mulyukov
2008-05-19 4:53 ` Alexey Tourbin
2008-05-19 10:26 ` Ildar Mulyukov
2008-05-19 10:35 ` Andrey Rahmatullin
2008-05-19 10:41 ` Pavlov Konstantin
2008-05-19 10:43 ` Andrey Rahmatullin
2008-05-19 10:53 ` Aleksey Avdeev
2008-05-20 12:27 ` Alexander Bokovoy
2008-05-18 2:07 ` Alexey Tourbin
2008-05-18 2:25 ` Alexey Tourbin
2008-05-18 9:26 ` Alexey Gladkov
2008-05-18 21:35 ` Alexey Tourbin
2008-05-18 22:26 ` Alexey Gladkov
2008-05-20 2:34 ` Alexey Morozov
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=20080517190034.GA9319@solemn.turbinal \
--to=at@altlinux.ru \
--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