ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sviatoslav Sviridov <svd@lintec.minsk.by>
To: sisyphus@altlinux.ru
Cc: APT Development Team <apt@packages.altlinux.org>
Subject: Re: [sisyphus] apt 0.5
Date: Thu, 19 Dec 2002 17:11:43 +0300
Message-ID: <20021219171143.52326f20.svd@lintec.minsk.by> (raw)
In-Reply-To: <20021219135849.GH32743@sam-solutions.net>

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

On Thu, 19 Dec 2002 15:58:49 +0200
Alexander Bokovoy <a.bokovoy@sam-solutions.net> wrote:

> On Thu, Dec 19, 2002 at 04:04:47PM +0300, AntonFarygin wrote:
> > >>>Есть мнение, что apt-0.5 (а именно apt-0.5.4cnc9-alt1, вероятно и
> > >более>>ранние) разучился пользоваться непо'bzip'нутыми хешами (те,
> > >что >>src/pkglist),
> > >>>более того, это вот '.bz2' приколочено гвоздями в исходниках.

тут разница только в том, что в 0.5.4 в исходниках явно '.bz2', а в
0.3.19 расширение бралось из конфига, как "Acquire::ComprExtension"... а
в другом месте исходников было гвоздями по дефолту приколочено '.bz2' :)

> > >>>Это временное положение дел ? В bugs ?
> > >>Если оно реально нужно - то в BUGS.
> > >Нужно. И оно было в 0.3.19.
> > Это родное или добавлено патчем?
> Оно было родное для apt-rpm 0.3.19 и потом еще немного правилось,
> правки были приняты в 0.3.19.
> 
> > >>Правда я не понимаю - зачем оно используется?
> > >Для случаев, когда упаковка хэшей не нужна. Например, в BTE, где
> > >каждый отдельный карман, с которым идет работа, представляет собой
> > >небольшой репозитарий. Сжимать bzip2 хэши в карманах при каждом
> > >изменении неосмысленно -- любая сборка в кармане приводит к
> > >перегенерации хэшей, что в случае с bzip2 увеличивает накладные
> > >расходы. Место на диске есть, хэши реально никуда по сети не
> > >бегают. В 0.3.19 код подразумевал перемещение непакованных хэшей,
> > >если использовался локальный репозитарий, путем простого
> > >проставления символической ссылки.
> > Тогда в BTS.
> Ок

Кажется, проблема всего лишь в том, что надо поправить метод file на
предмет проверки наличия файла без расширения .bz2 (сейчас он только .gz
проверяет).

-- 
Sviatoslav Sviridoff
// Lintec Project/Minsk // PIN AG/Berlin //
-- 
I hear the sound that the machines make, and feel my heart break, just
for a moment.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2002-12-19 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-18 17:38 Sergey Bolshakov
2002-12-19  7:01 ` AntonFarygin
2002-12-19  7:51   ` Alexander Bokovoy
2002-12-19 13:04     ` AntonFarygin
2002-12-19 13:58       ` Alexander Bokovoy
2002-12-19 14:11         ` Sviatoslav Sviridov [this message]
2002-12-19 14:52           ` [sisyphus] I: updated package (was: apt 0.5) Sviatoslav Sviridov
2002-12-19 16:57             ` Alexander Bokovoy
2002-12-19 16:30           ` [sisyphus] apt 0.5 Alexander Bokovoy
2002-12-19 14:56             ` Sviatoslav Sviridov

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=20021219171143.52326f20.svd@lintec.minsk.by \
    --to=svd@lintec.minsk.by \
    --cc=apt@packages.altlinux.org \
    --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