Date: Mon, 11 Aug 2014 18:08:03 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: svn-ports-head@freebsd.org, Vsevolod Stakhov <vsevolod@freebsd.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Matthias Andree <matthias.andree@gmx.de>, Matthew Seaman <matthew@freebsd.org> Subject: Re: svn commit: r364287 - head/ports-mgmt/pkg-devel Message-ID: <20140811180803.662071e5@kalimero.tijl.coosemans.org> In-Reply-To: <2b62be838237da061c474c2974cc6996@shatow.net> References: <53e39939.55bc.4ca5432c@svn.freebsd.org> <20140807172841.58633e63@kalimero.tijl.coosemans.org> <53E3A468.5050603@FreeBSD.org> <53E3AC0C.5020904@gmx.de> <53E3AD09.2050000@FreeBSD.org> <53E3B3B5.9000104@gmx.de> <53E3B6D8.9080101@FreeBSD.org> <53E590AC.4020105@FreeBSD.org> <53E7A512.8050008@FreeBSD.org> <b1c74ebef13a04a7198ed4a34134d63a@shatow.net> <53E7D193.3090305@FreeBSD.org> <53E7F110.7010105@FreeBSD.org> <53E87E4B.5090600@FreeBSD.org> <53E88B33.8000109@freebsd.org> <2b62be838237da061c474c2974cc6996@shatow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Aug 2014 10:27:04 -0500 Bryan Drewery wrote: > On 2014-08-11 04:21, Matthew Seaman wrote: >> As I see it, if there's a change to any of the fields that go towards >> creating the package digest, then we're requiring all the users to >> update that package. This should be avoided for trivial changes. >> >> So, switching the question round: what fields in the manifest should >> *not* imply reinstalling the package? >> >> - comment >> - description >> - categories (these don't have much effect for binary packages) >> - www >> - maintainer (hmmm... not sure. We wouldn't want to have former >> maintainers still being pestered about their old >> ports.) > > I would like to move all of this to a different mechanism. It is a lot > of BW overhead to download a new package only because a maintainer > changes, and then to also reinstall all files. I don't think we have > smart upgrades yet where only changed files are extracted (#735). > > It also adds a lot of strain to the package building infrastructure to > be bumping revision for any of those fields. Yes it is the "proper" > thing, but it is not reasonable given all of the overhead. Generally > those things should be bunched up into other significant changes right > now. Yes, ideally those 5 fields are updated by pkg in the local sqlite db without fetching the entire package.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140811180803.662071e5>