Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 23:32:49 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Michel Talon <talon@lpthe.jussieu.fr>, freebsd-ports@FreeBSD.org
Subject:   Re: Utility for safe updating of ports in base system
Message-ID:  <1206052369.83260.30.camel@ikaros.oook.cz>
In-Reply-To: <47E2C516.4000208@FreeBSD.org>
References:  <20080320001048.GA39125@lpthe.jussieu.fr> <alpine.BSF.1.10.0803200047360.54264@ync.qbhto.arg> <1206037229.83260.15.camel@ikaros.oook.cz> <47E2C516.4000208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-GjxqKf+bJ27LxB/sjqQR
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Doug Barton p=ED=B9e v =E8t 20. 03. 2008 v 13:12 -0700:
> Pav Lucistnik wrote:
> > Doug Barton p=ED=B9e v c(t 20. 03. 2008 v 01:05 -0700:
> >> On Thu, 20 Mar 2008, Michel Talon wrote:
> >>
> >>> i would venture to say that such an utility
> >>> should be able to upgrade things based of *binary* packages, and
> >>> consequently that portmaster is not a suitable candidate.
> >> That ability is not included in the current requirements document, and=
 was=20
> >> not specifically mentioned the last time we had the discussion on the=20
> >> list. If the portmgr folks intend that to be a requirement, the curren=
t=20
> >> ideas list entry should be amended.
> >=20
> > Yes, I think ability to work with packages on a remote FTP site with no
> > local /usr/ports, solely relying on an INDEX file, is a solid "must
> > have" requirement. I have added that to the entry in the Ideas page.
>=20
> Fair enough, but can we please come quickly to a consensus on what
> _all_ of the requirements should be? Two things I'd like to avoid. One
> is the feeling that no matter how many hoops I jump through, there is
> always going to be one more placed in my path because we really don't
> want portmaster in the base.=20

I will install portmaster on my machine now and give it a tryout.
Tell you what I like and what I dislike about it.

I'm afraid the moment I start pushing for making something that is not
portupgrade a new de-facto standard, it will turn into a muddy politics
really fast. Well I guess I have to bite a bullet.

And I don't think anyone started talking to the src guys about including
it in base system yet.

> The other is frustration on the part of
> any student brave enough to tackle this task.

It is not marked as a "Summer of Code suggested project". Only the
parallelization task is.

> > I think we should be pushing our packages and package-only modes of
> > operation to the mainstream users. Especially now when we can afford to
> > build a complete package set for all existing platforms/architectures o=
n
> > a 48-hour cycle basis.
>=20
> I would be more sympathetic to this idea if we could somehow push
> security-sensitive package builds up to the top of the list (so they
> would be available ASAP), but the last time I inquired about this I
> was told it isn't possible.

It's not possible at the moment.

There are dreams of having an on-commit action that would trigger a
rebuild of the changed port and only the changed port on all platforms.
But I feel this would be fairly hard to implement inside the current
pointyhat framework.

> > There should also be an overhaul of current ftp mirrors infrastructure,
> > which might not be able to sustain the constant flow of new packages.
>=20
> You also need to look at the other side of that, which is an
> exponential increase in the number of package downloads, and the
> incumbent costs in terms of bandwidth, processor time, etc.

My impression is that current mirrors are vastly underutilized, and that
it's not a big problem to get more mirrors if we ask.

But the current cvsup/rsync method of distributing changes from
ftp-master onto mirrors is not good enough. It introduces a huge
latency, it's unpredictable and inconsistent.

We would need to build a CDN for packages, ideally.

Also, if we want to get serious about packages, we need to ensure atomic
updates of package sets on the ftp master and on the mirrors. We
currently don't do that.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
Quantum physics was developed in the 1930's, as a result of a bet
between Albert Einstein and Niels Bohr, to see who could come up with
the most ridiculous theory and still have it published.

--=-GjxqKf+bJ27LxB/sjqQR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkfi5hEACgkQntdYP8FOsoKWUwCeNqj34gQDHnZtiQbKzO3wOiG3
uccAoJz35d9g001XYJpP/oUm/tthGEBQ
=mJSf
-----END PGP SIGNATURE-----

--=-GjxqKf+bJ27LxB/sjqQR--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1206052369.83260.30.camel>