From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D093139694 for ; Fri, 10 Mar 2017 19:22:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6011DE0C0D; Fri, 10 Mar 2017 19:22:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36455E0C0D for ; Fri, 10 Mar 2017 19:22:41 +0000 (UTC) Received: from professor-x (d108-172-194-175.bchsia.telus.net [108.172.194.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A92334112A for ; Fri, 10 Mar 2017 19:22:40 +0000 (UTC) Date: Fri, 10 Mar 2017 11:22:37 -0800 From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 0/7] Latest pending branch fixes Message-ID: <20170310112237.022f9336.dolsen@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 04d32ac4-81b5-45de-816b-3c2f090b0ac0 X-Archives-Hash: 173fafb40e61c09ec7c5e150109bff77 =46rom c51b35d3fe4be92c663682e0c1d2dfef7ecd8cfb Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Fri, 10 Mar 2017 10:53:42 -0800 Subject: [PATCH 0/7] Latest pending branch fixes To: gentoo-catalyst@lists.gentoo.org This series of patches fixes several issues. 1) makes the handling of control-c better for cleanup. 2) Fixes an auto-resume problem and cleans up the logic a lot. 3) Fixes the make.conf bleed thruogh of host repo settings. 4) puts all the make.conf write logic into one place 5) Snapshots are now named according to the repo_name setting, so configurable. 6) with the new defaults for repo, DISTDIR, PKGDIR I was able to prove it can handle any directory settings. With these settings, I was able to set the config to the old /usr/portage, /usr/portage/distfiles... and everything worked as expected. So, we just need to get council to decree the new locations. No point in discussing it on the -dev list, they couldn't come to a consensus. But there was enough to get some resonable values. Brian Dolbec (7): Move the signal handler into the StageBase class so it can handle unbind() cleanup base/stagebase.py: Rename unpack_portage resume point to unpack_repo base/stagebase.py: Correctly log the correct function name for unpack_snapshot() base/stagebase.py: Seperate out the writing of the make.conf file targets/snapshot.py: Update the code and log messages to use the configured repo_name defaults.py: Update all repository, DISTDIR, PKGDIR settings to new /var paths doc/make_subarch_table_guidexml.py: Fix shebang bin/catalyst | 19 ---- catalyst/base/stagebase.py | 221 +++++++++++++++++++++---------------- catalyst/defaults.py | 24 ++-- catalyst/targets/snapshot.py | 13 ++- doc/make_subarch_table_guidexml.py | 2 +- etc/catalyst.conf | 2 + 6 files changed, 148 insertions(+), 133 deletions(-) --=20 2.12.0 --=20 Brian Dolbec