From owner-freebsd-current@freebsd.org Thu Jan 28 19:58:59 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C3A7A3C321; Thu, 28 Jan 2016 19:58:59 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD96AB36; Thu, 28 Jan 2016 19:58:58 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id 4590C1533; Thu, 28 Jan 2016 14:58:57 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [10.100.100.58] (unknown [107.15.95.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id EBFC714F6; Thu, 28 Jan 2016 14:58:55 -0500 (EST) User-Agent: K-9 Mail for Android In-Reply-To: <20160128182322.GP98557@FreeBSD.org> References: <20160127223323.GG98557@FreeBSD.org> <183431.62409.bm@smtp111.sbc.mail.ne1.yahoo.com> <20160128131806.GB67200@ivaldir.etoilebsd.net> <20160128160622.GB88527@zxy.spb.ru> <20160128173836.GD88527@zxy.spb.ru> <3A5AAF2B-F9CF-41B3-A97C-FF208803428A@gmail.com> <20160128181253.GE88527@zxy.spb.ru> <20160128182322.GP98557@FreeBSD.org> MIME-Version: 1.0 Subject: Re: Packaging the FreeBSD base system with pkg(8) From: Nikolai Lifanov Date: Thu, 28 Jan 2016 14:58:52 -0500 To: Glen Barber ,Slawa Olhovchenkov CC: Thomas Mueller , freebsd-current@freebsd.org, freebsd-pkgbase@freebsd.org, NGie Cooper Message-ID: <8CFEB1BA-1957-4BB4-980A-76199D3B831C@mail.lifanov.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 19:58:59 -0000 On January 28, 2016 1:23:22 PM EST, Glen Barber wrote: >On Thu, Jan 28, 2016 at 09:12:53PM +0300, Slawa Olhovchenkov wrote: >> I see two hudge problem for support upgrades from older RELEASE >> versions (supported too): key (used for repo signing) change and need >> to access ports packages to install (installed outdated release can't >> find pkg packet for install). >> >> Can you more detailed describe current propolsal of new packaging >> system? pkg is part of base installed packages? Or after installing >> base packages pkg installed from `ports`? For disc1.iso case. >> >> How handled boot/device.hints and var/db/etcupdate? >> >> How handled boot block updates? > >These are all valid questions, but let's take a step back for a bit, >and >not put the carriage in front of the horse. > >The initial email in this thread was intended to provide an update on >the status. Some things, such as file merging, is already in place in >a few of the packages. Not all, yet. > >Unexpected things are going to happen. That is the only thing that is >a guarantee right now. In other words, implementation (from what is >now >in the project branch) may change. And yes, there needs to be a way to >upgrade from older releases. > >But let's not get too far ahead of ourselves. > >Glen Can we have verbose and/or semi-interactive configuration merge, as offered by etcupdate or mergemaster? - Nikolai Lifanov From owner-freebsd-current@freebsd.org Thu Jan 28 22:36:02 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4403DA7149A; Thu, 28 Jan 2016 22:36:02 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9F931626; Thu, 28 Jan 2016 22:36:01 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id l66so31243519wml.0; Thu, 28 Jan 2016 14:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=PKFy29M6JCi1j4W1EfuVzHMLEy42M3TVXOP+q/tInF4=; b=NEx+mSnR1CArEOoNo/++In6+h6tK1ZGkeYfPVGc+goF83WfpMXxR2heHY2Tt0l6n+c AuQ0udaVR40UIkVOnZ9Y2HDlhuEc1k/1C/nYFY1ifi8DpgoccgvfKhNKU7ZnLWPJfbiJ t4sP619ylTMa/KlN2Vbip/m3YW2wSWhysKHp0WuYo+kw9YltXqd6ssveOxBwSwogqoqj MzojM5UO74l8EY/0q2D8xflE7cb3lMiuMfeBZQpMbkDT3eaFvPlFEigy3xqAO7oVGUvQ JhZPzCSzuw4tBkyoytlGCWhyepXKMfKXBxZXSIB11I8p0kCHgT/EzxqJ3HYED3v2aDoe 8Kow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=PKFy29M6JCi1j4W1EfuVzHMLEy42M3TVXOP+q/tInF4=; b=ALqDL8boTODtVTsA50jZ05fc3ROkitl+pzHhHQvg/Y0O1sBEbWtaMUgtmHlcfFJdox UPg9U1ssjU/yDootkFLP4OmHfOFMvoYA37VW7jzjuD0Vibtt15qaWz6rzct5Uuprdwpo 23C4RY9z6Clmuk9hJXZgO/FLx0eUesbMJFgWHnlA8Yq6B0qyFzchX20Kjz7nAvEL0ayp p0hEa4h/eZld4tN5U9Gnkl4lYEp5xNCryji5Kuyv6vrhQ6YnU7gNWAX6MpBMu524sJ6C 4cMaiT8MlrXHwUt1TZfOjpJ19e7DZQwuQIl/TFP6KqVd7mDJaA05lh/s5ho/BqLoHv/l pXiA== X-Gm-Message-State: AG10YOTk0cq5LL7OFrsjknmkYA9Q5twM+eCzQeiOZZy9IXwxpXMtZpzoRidg1SzDTbTPPw== X-Received: by 10.195.17.198 with SMTP id gg6mr5342576wjd.15.1454020560407; Thu, 28 Jan 2016 14:36:00 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id az10sm12980009wjc.28.2016.01.28.14.35.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jan 2016 14:35:59 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 28 Jan 2016 23:35:54 +0100 From: Baptiste Daroussin To: Nikolai Lifanov Cc: Glen Barber , Slawa Olhovchenkov , Thomas Mueller , freebsd-current@freebsd.org, freebsd-pkgbase@freebsd.org, NGie Cooper Subject: Re: Packaging the FreeBSD base system with pkg(8) Message-ID: <20160128223553.GD67200@ivaldir.etoilebsd.net> References: <20160127223323.GG98557@FreeBSD.org> <183431.62409.bm@smtp111.sbc.mail.ne1.yahoo.com> <20160128131806.GB67200@ivaldir.etoilebsd.net> <20160128160622.GB88527@zxy.spb.ru> <20160128173836.GD88527@zxy.spb.ru> <3A5AAF2B-F9CF-41B3-A97C-FF208803428A@gmail.com> <20160128181253.GE88527@zxy.spb.ru> <20160128182322.GP98557@FreeBSD.org> <8CFEB1BA-1957-4BB4-980A-76199D3B831C@mail.lifanov.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RYJh/3oyKhIjGcML" Content-Disposition: inline In-Reply-To: <8CFEB1BA-1957-4BB4-980A-76199D3B831C@mail.lifanov.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 22:36:02 -0000 --RYJh/3oyKhIjGcML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 28, 2016 at 02:58:52PM -0500, Nikolai Lifanov wrote: >=20 >=20 > On January 28, 2016 1:23:22 PM EST, Glen Barber wrote: > >On Thu, Jan 28, 2016 at 09:12:53PM +0300, Slawa Olhovchenkov wrote: > >> I see two hudge problem for support upgrades from older RELEASE > >> versions (supported too): key (used for repo signing) change and need > >> to access ports packages to install (installed outdated release can't > >> find pkg packet for install). > >>=20 > >> Can you more detailed describe current propolsal of new packaging > >> system? pkg is part of base installed packages? Or after installing > >> base packages pkg installed from `ports`? For disc1.iso case. > >>=20 > >> How handled boot/device.hints and var/db/etcupdate? > >>=20 > >> How handled boot block updates? > > > >These are all valid questions, but let's take a step back for a bit, > >and > >not put the carriage in front of the horse. > > > >The initial email in this thread was intended to provide an update on > >the status. Some things, such as file merging, is already in place in > >a few of the packages. Not all, yet. > > > >Unexpected things are going to happen. That is the only thing that is > >a guarantee right now. In other words, implementation (from what is > >now > >in the project branch) may change. And yes, there needs to be a way to > >upgrade from older releases. > > > >But let's not get too far ahead of ourselves. > > > >Glen >=20 > Can we have verbose and/or semi-interactive configuration merge, as offer= ed by etcupdate or mergemaster? pkg has a merging mercanism (which one can disable if scared) which will automatically merge everything it can and live a file .new if a conflict ha= ppen (or merging disabled) Would be easy to write an etcupdate like that walk through /etc and propose= a semi-interactive merging mechanism. Best regards, Bapt --RYJh/3oyKhIjGcML Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWqpfJAAoJEGOJi9zxtz5aPOcQAKFW3eRlq8VkFpwc4tpgjduk FhFQ+NJ4+LYoOszZWjEEoo/gaCe6e6umrQeH6i5uQ2y6sxJCeKmFZ6bJ4YUPx7eE FdwBRCu4iT35eqMWJtJU5pBw2FpvMhbdI+2M4UWJelS43TQAjMAz5Hb1Ae0OInOx iLwRyfOYpKXUw4K8d6EmJbxfck3gUjUs3PB229p6dOahxTvVUJimEzIZknmyYZ+N NqBURVmsHDVZVVDBnepQ/be8o+CDpxpXXoKvkIg8Lo+jNyXZw++BVWRSNDnSdrcz LcWxYTc8wy8NqMPxUorw/VYwkOm5HkMV3qOPOoQJFnxEfmRDWQpCqJKimibhYHfM yhCYgPeJxmBQtGOrOsDFN9slmqz9mxuMhIj42mEwtd/oyqrjUzvoh7IiKSTm3oK4 U8NQsGffMn4r8EXmZRqQTlL/HAx9qelVXOXJWBysaZt/S5DUTFcMaEDCwXbZFzdr FPul01jdUb2MHNPjjTxChGEmMK8clzwBIRhexCtG7gRk/JYkHOVDSEw7cwryL8Gr EThb4qv/Wz1o5HdXhtbUZquqRFjY9nV2ZcVZtMYJFC59LaxEeVqcjQcYijRWrPuS vRAX3T/o2nGo3Ls+evDNKtggGaBUMMNYEfMDGi9RpChb7oAOHZLYrLRvntH3luu6 Q/Xl6C6ugbey0BnTnL93 =oPPu -----END PGP SIGNATURE----- --RYJh/3oyKhIjGcML--