ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] test a new build of APT, packagekit, synaptic, apt-indicator, aptitude, perl-AptPkg
Date: Thu, 17 Jun 2021 17:56:35 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.2106171719430.22813@imap.altlinux.org> (raw)
In-Reply-To: <595af519-5fd4-6935-d33b-288e52daad08@altlinux.org>

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

Добрый день!

On Thu, 17 Jun 2021, Aleksei Nikiforov wrote:

> 17.06.2021 15:03, Aleksei Nikiforov пишет:
> > 16.06.2021 18:14, Ivan Zakharyaschev пишет:

> > > К отправке в Sisyphus можно сказать готова новая сборка apt и
> > > зависящих от APT (клиентов библиотеки).

> > > Суть в приведении кода в вид, который будет чуть легче поддерживать,
> > > добавлять что-то с несколько меньшей опасностью что-то сломать и который
> > > сейчас уже внушает опасений чуть менее, чем раньше. (Надеюсь.)
> > >
> > > (Менять исходники для этого релиза больше нет планов. Только может что-то
> > > сокрее косметическое в оформлении коммитов, истории пакетов.)

Спасибо за все за замечания! Учту и отвечу. (Последний вопрос я 
ожидал и могу ответить первым.)

> И ещё вопрос: в чём смысл откатывать изменения в коммите
> 2c25f00dd069abd6c4437e8d77188923c5cee9e2 и их же добавлять в коммите
> ea8efac4dd0a8b2cc82ce9e303d6a2d50f393682?

Дело в том, что после некоторой жизни с кодом apt, где копирование 
значений при передаче аргументов заменено тобой на передачу по ссылке 
(const), и посмотрев, что современные версии проектов, такие как 
PackageKit (где у тебя получается собирать самые свежие версии), всё же 
ориентируются на "традиционный" API Debian APT с копиями, а не ссылками, я 
подумал, что чуть проще будет жить, если оставаться совместимым с upstream 
в этой части API (предполагающей, что клиенты оверрайдят методы базовых 
классов).

Но не успел отребейзить кусочек истории apt, чтобы всё же вернуться в этой 
части к "традиционному" API. Хотел побыстрее предложить задание для 
тестирования. Эти два коммита, которые друг друга компенсируют -- 
заготовка, чтобы проще было собрать финальный релиз (без второго).

В целом мы, конечно, ломаем "традиционный" API в других местах, и я не 
против это делать ради разумных улучшений (типа этого), раз мы 
контролируем все связанные пакеты в Sisyphus, но здесь кажется, что 
выигрыш по скорости вряд ли заметен, а нагрузка на мейнтейнеров этих 
связанных пакетов пакетов немного, но всё же возрастает. Поэтому хочу 
отказаться от этой одной несовметимости с upstream-ами. (Подождём, пока 
оно не появится в upstream; может, само, может, мы пропихнём.)

Я эту мысль записал и в commit message:

commit 2c25f00dd069abd6c4437e8d77188923c5cee9e2
Author: Ivan Zakharyaschev <imz@altlinux.org>
Date:   Fri May 21 20:31:22 2021 +0300

    Revert "Migrate to new Apt ABI" -- to follow the order of the upcoming patches in APT
    
    Some of those upcoming patches also affect ABI, so we'd like to be
    able to build intermediate revisions of APT and PK and test them.
    
    This reverted change will be applied at the end of the current patch
    series. Or maybe not, because it brings just a dim advantage in speed
    by passing const arguments by reference whereas brings the
    disadvantage in being incompatible with upstream PackageKit (and with
    other clients of APT), which uses the current Debian's APT API
    (without this change); so, it adds a bit more burden on the maintainer
    for little gain.
    
    This reverts commit 42094b886f2d9965398ceb86b064a78b553d6557.
    
    (But keep all override marks on the methods from past commits.)

Да, ещё я собирал и проверял промежуточные коммиты в apt в комбинации с 
зависмыми пакетами. А там порядок такой сложился.

-- 
Best regards,
Ivan

  reply	other threads:[~2021-06-17 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 15:14 Ivan Zakharyaschev
2021-06-16 19:10 ` Pavel Vasenkov
2021-06-17 12:03 ` Aleksei Nikiforov
2021-06-17 12:17   ` Aleksei Nikiforov
2021-06-17 14:56     ` Ivan Zakharyaschev [this message]
2021-06-22  9:26   ` Ivan Zakharyaschev

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=alpine.LFD.2.20.2106171719430.22813@imap.altlinux.org \
    --to=imz@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