From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D41921389E2 for ; Sat, 6 Dec 2014 06:12:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F3D0E0872; Sat, 6 Dec 2014 06:12:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86CF0E086B for ; Sat, 6 Dec 2014 06:12:12 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010634bdfa9ecf80.vc.shawcable.net [96.49.31.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 7EE3734062A for ; Sat, 6 Dec 2014 06:12:11 +0000 (UTC) Date: Fri, 5 Dec 2014 22:11:45 -0800 From: Brian Dolbec To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] New portage-9999 plugin-sync system Message-ID: <20141205221145.08fd3324.dolsen@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 1ee24790-6b84-44f0-af2d-f217007f8689 X-Archives-Hash: 35cdfa5bf436bf9d7a2e7c9cacc72ef5 For those people running portage-9999. I've now merged the new plugin-sync system into the master branch. I've just added the following einfo block to the 9999.ebuild. I will be preparing a news item for review soon. We will be extending some of the modules options, adding more capabilities such as git branch and depth options. Also in this new sync system, is a new portage native postsync hook system. It extends the hooks capabilities. I will send another email detailing those. We are making a few more adjustments to it for better backwards compatibility. Additionally Devan has created a layman plugin-sync module as part his GSOC project, so emerge/emaint will be able to perform sync operations on layman installed overlays as well. layman-9999 will be getting that plugin install capability soon. Currently all available sync modules are installed. The ebuild(s) will be getting additional use flags to control which modules will be installed once ready. Please read over the einfo messages so that you can help those people that ignored them when they upgraded portage. There can also be cases where the pre-einfo'd ebuild upgraded portage-9999 and consequently they did not get the enifo messages. In that case, their next emerge --sync will do nothing. They will need to set the auto-sync option in their repos.conf/gentoo.conf file. The new emaint sync module is capable of syncing any repo, regardless of the auto-sync setting. pkg_postinst() { einfo "This version of portage now has the new plugin-sync system" einfo "An additional 'auto-sync = yes' setting is needed for each repo" einfo "you wish 'emerge --sync' to sync" einfo "The default setting is 'no'" einfo "The primary sync action is now controlled via the emaint command" einfo "The emaint sync module is more flexible in its capabilities" einfo "It is similar to layman's -s and -S options" einfo "" einfo " 'emerge --sync' is now equivalent to 'emaint sync -a'" einfo "" einfo "run 'emaint sync --auto' to sync all auto-sync enabled repos" einfo " options are:" einfo " -A, --allrepos Sync all repos that have a sync-url defined" einfo " -a, --auto Sync auto-sync enabled repos only" einfo " -r REPO, --repo REPO Sync the specified repo" einfo " even if 'auto-sync = no' is set" einfo "" einfo "Currently installed sync-type modules include:" einfo " rsync, git, cvs, svn, websync" einfo " the websync module currently runs emerge-webrsync for you" einfo "" einfo "For sync module specifications: https://wiki.gentoo.org/wiki/Project:Portage/Sync" einfo "" } -- Brian Dolbec